summaryrefslogtreecommitdiff
path: root/spec/models/prometheus_metric_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot2021-02-181-8/+2
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-4/+0
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-311-0/+3
|
* Support dashboard params for metrics dashboardSarah Yasonik2019-08-071-0/+13
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/62971 Adds support to EnvironmentsController#metrics_dashboard for the following params: group, title, y_label These params are used to uniquely identify a panel on the metrics dashboard. Metrics are stored in several places, so this adds utilities to find a specific panel from the database or filesystem depending on the metric specified. Also moves some shared utilities into separate classes, notably default values and errors.
* Fix and document an RSpec::Parameterized::TableSyntax edge-caseRémy Coutable2019-02-201-7/+6
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Correct ordering of metricsrpereira22018-12-211-0/+54
| | | | | | | | | | | | 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.
* Fix coding offenceShinya Maeda2018-12-041-2/+2
|
* fix wordingShinya Maeda2018-12-031-1/+1
|
* Fix the coding styleShinya Maeda2018-12-031-2/+2
|
* Validate enum uniquenessShinya Maeda2018-12-031-0/+2
|
* Fix query_series specsKamil Trzciński2018-09-051-1/+1
|
* Fix specsKamil Trzciński2018-09-051-2/+1
|
* Add `# frozen_string_literal: true`Kamil Trzciński2018-09-041-0/+2
|
* Import common metrics into database.Kamil Trzciński2018-09-041-0/+97
This MR backports PrometheusMetric model to CE and adds: common, identifier to figure out what kind of metric is used.