gitlab-org--gitlab-foss/lib/gitlab/prometheus
rpereira2 2cd7b78391 Correct ordering of metrics
Correct the ordering of metrics on performance dashboard. Before common
metrics were moved into the DB, metric groups were ordered by the
priority defined in the common_metrics.yml file.
This commit adds a priority to each metric group in the PrometheusMetric
model.
It also combines title, priority and required_metrics into one frozen
GROUP_DETAILS hash so that the code is clearer.
This can be done since there is a fixed set of groups which are not
configurable.
2018-12-21 16:41:58 +05:30
..
queries Extract query variables into own module 2018-11-23 22:35:38 +01:00
additional_metrics_parser.rb
metric.rb
metric_group.rb Correct ordering of metrics 2018-12-21 16:41:58 +05:30
parsing_error.rb
query_variables.rb Extract query variables into own module 2018-11-23 22:35:38 +01:00