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
bd1b526ae9
commit
71754c748e
@ -50,7 +50,7 @@ var (
|
||||
when a.query ~* '^vacuum' then 'user'
|
||||
when a.pid is null then 'idle'
|
||||
ELSE 'regular'
|
||||
END as mode,
|
||||
END AS mode,
|
||||
count(1) as workers_count
|
||||
FROM pg_stat_progress_vacuum v
|
||||
LEFT JOIN pg_catalog.pg_stat_activity a using (pid)
|
||||
|
Loading…
Reference in New Issue
Block a user