Add DB query counter to Prometheus metrics
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.