1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-06-05 22:37:07 +03:00
Jakub Štiller de42ef7de8
Export query itself together with queryId in stat_statement metrics (#940)
* Export query itself together with queryId in stat_statement metrics
* The feature must be enabled via flag.
* Limit length of selected query.

The query is not added to every metrics, but instead of new metric stat_statement_query_id is introduced that contains mapping between queryId and query.

Fixes: #813

---------

Signed-off-by: Jakub Štiller <stiller@2n.cz>
Signed-off-by: Jakub Štiller <jakstiller@atlas.cz>
2025-05-16 10:50:19 +02:00
..
2025-04-03 17:23:40 +02:00