mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-29 14:38:04 +00:00
Update collector/pg_stat_activity_autovacuum_active.go
Co-authored-by: Joe Adams <github@joeadams.io> Signed-off-by: Felix Yuan <felix.yuan@reddit.com>
This commit is contained in:
parent
71754c748e
commit
804044a264
@ -51,7 +51,7 @@ var (
|
||||
when a.pid is null then 'idle'
|
||||
ELSE 'regular'
|
||||
END AS mode,
|
||||
count(1) as workers_count
|
||||
count(1) AS workers_count
|
||||
FROM pg_stat_progress_vacuum v
|
||||
LEFT JOIN pg_catalog.pg_stat_activity a using (pid)
|
||||
GROUP BY 1,2
|
||||
|
Loading…
Reference in New Issue
Block a user