1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-11-01 20:11:07 +03:00
Files
postgres_exporter/cmd
Kaarel Moppel 198454cc9e Exclude the metrics fetching session's data from pg_stat_activity (#1185)
To reduce the observer effect, filter out pg_stat_activity rows of the
postgres_exporter session from all SA queries, based on pid / procpid.

A bit annoying to see idling DBs showing pg_stat_activity_count "active"
count of 1

Signed-off-by: Kaarel Moppel <kaarel.moppel@gmail.com>
2025-08-25 21:05:25 -04:00
..