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:
Felix Yuan 2023-06-29 12:41:53 -07:00
parent 71754c748e
commit 804044a264

View File

@ -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