Skip to content

Add DB query counter to Prometheus metrics

João Pereira requested to merge statment-count into master

This MR adds a registry_database_queries_total metric to track the total number of executions for each query executed against the database.

Additionally, it renames the existing database statement duration metric from statement to query. After looking at some of the existing DB metrics dashboards I realized that "query" is the standard for naming these metrics.

Merge request reports

Loading