Commit 6dddb684 authored by Ben Kochie's avatar Ben Kochie
Browse files

Update database:rows_count metric name.

Update database rows_count metric name to follow Promtheus style
guide[0].

[0]: https://prometheus.io/docs/practices/naming/#metric-names
parent baa17eab
Pipeline #54415 passed with stage
in 56 seconds
......@@ -56,7 +56,7 @@ module GitLab
results = @collector.run
results.each do |key, value|
@metrics.add("db_rows_count", value.to_i, query_name: key.to_s)
@metrics.add("gitlab_database_rows", value.to_i, query_name: key.to_s)
end
self
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment