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/postgres_exporter
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
..
2022-05-25 11:27:42 +02:00
2025-04-03 17:23:40 +02:00
2025-04-03 17:23:40 +02:00
2023-03-05 22:20:50 +01:00