Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-06-06 17:07:33 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-06 17:15:11 +0300
commitccf89acc7145bb129f5666108854daa71a022827 (patch)
treed4230d919b4e9b7aeeccb396fccfd060728c5939 /spec/support
parentc7a1da800ff6fa16db5de796a8f8d715ddd3b582 (diff)
expand Namespaces:: and refactoring yaml parsing out of MetricGroup class
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/prometheus/metric_builders.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/prometheus/metric_builders.rb b/spec/support/prometheus/metric_builders.rb
index 4c0e01bd5f6..cc733bfe1b4 100644
--- a/spec/support/prometheus/metric_builders.rb
+++ b/spec/support/prometheus/metric_builders.rb
@@ -21,7 +21,7 @@ module Prometheus
end
def simple_metric_group(name: 'name', metrics: simple_metrics)
- Gitlab::Prometheus::MetricGroup.new(name, 1, metrics)
+ Gitlab::Prometheus::MetricGroup.new(name: name, priority: 1, metrics: metrics)
end
end
end