Postgres Exporter add query label to pg_stat_activity related metrics

15 views
Skip to first unread message

Costa A.

unread,
Dec 2, 2024, 10:42:33 AM12/2/24
to Prometheus Users
Hey folks,

Tried to add extra labels like the actual query in postgres exporter. 

While I had luck adding the query to the `pg_stat_statement` collector, for pg_stat_activity is not as straight-forward.

Any help on where it would be the ideal place to add it?

Reply all
Reply to author
Forward
0 new messages