diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-06 16:07:33 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-06 16:15:11 +0200 |
commit | ccf89acc7145bb129f5666108854daa71a022827 (patch) | |
tree | d4230d919b4e9b7aeeccb396fccfd060728c5939 /spec/support/prometheus | |
parent | c7a1da800ff6fa16db5de796a8f8d715ddd3b582 (diff) | |
download | gitlab-ce-ccf89acc7145bb129f5666108854daa71a022827.tar.gz |
expand Namespaces:: and refactoring yaml parsing out of MetricGroup class
Diffstat (limited to 'spec/support/prometheus')
-rw-r--r-- | spec/support/prometheus/metric_builders.rb | 2 |
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 |