mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-05-02 16:08:02 +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'
|
when a.pid is null then 'idle'
|
||||||
ELSE 'regular'
|
ELSE 'regular'
|
||||||
END AS mode,
|
END AS mode,
|
||||||
count(1) as workers_count
|
count(1) AS workers_count
|
||||||
FROM pg_stat_progress_vacuum v
|
FROM pg_stat_progress_vacuum v
|
||||||
LEFT JOIN pg_catalog.pg_stat_activity a using (pid)
|
LEFT JOIN pg_catalog.pg_stat_activity a using (pid)
|
||||||
GROUP BY 1,2
|
GROUP BY 1,2
|
||||||
|
Loading…
Reference in New Issue
Block a user