Skip to content

Correct the ordering of metrics on performance dashboard

Reuben Pereira requested to merge 51970-correct-ordering-of-metrics into master

What does this MR do?

Order metrics correctly on the performance dashboard.

When common metrics were moved from a yml file to the DB, the priority values were not added to the DB. In this MR, a priority column is added to the prometheus_metrics table and groups of common_metrics are ordered in descending order of priority. All metrics in a group are expected to have the same priority.

Custom metrics do not have a priority and will default to priority 0, as before.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #51970 (closed)

Edited by Kamil Trzciński (Back 2025-01-01)

Merge request reports