summaryrefslogtreecommitdiff
path: root/app/models/prometheus_metric.rb
Commit message (Collapse)AuthorAgeFilesLines
* Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas2019-03-281-1/+1
|
* Correct ordering of metricsrpereira22018-12-211-25/+59
| | | | | | | | | | | | 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.
* Add NGINX 0.16.0 and above metricsJoshua Lambert2018-12-171-2/+5
|
* Fix legendKamil Trzciński2018-09-051-2/+2
|
* Fix PrometheusMetric modelKamil Trzciński2018-09-041-1/+1
|
* Update code-styleKamil Trzciński2018-09-041-1/+1
|
* Improve model validationKamil Trzciński2018-09-041-11/+2
|
* Add `# frozen_string_literal: true`Kamil Trzciński2018-09-041-0/+2
|
* Import common metrics into database.Kamil Trzciński2018-09-041-0/+96
This MR backports PrometheusMetric model to CE and adds: common, identifier to figure out what kind of metric is used.