diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-01-22 12:47:16 +0100 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2018-01-29 15:13:05 +0100 |
commit | 1c403459ca1537fe105bdf18e31cc8f70d2ec2ed (patch) | |
tree | 482aebc25a142a2f60e2f962db18c948e896af2f /lib | |
parent | 67d4946347d3784cc2bf3f12cad3b6fb2a6f09ff (diff) | |
download | gitlab-ce-1c403459ca1537fe105bdf18e31cc8f70d2ec2ed.tar.gz |
Add missing feature gate for cpu metrics
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/metrics/influx_db.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/metrics/influx_db.rb b/lib/gitlab/metrics/influx_db.rb index 1fbe030681e..3789787d796 100644 --- a/lib/gitlab/metrics/influx_db.rb +++ b/lib/gitlab/metrics/influx_db.rb @@ -121,7 +121,7 @@ module Gitlab docstring "Measure #{name}" base_labels Transaction::BASE_LABELS buckets EXECUTION_MEASUREMENT_BUCKETS - # with_feature "prometheus_metrics_measure_#{name}_cpu_duration" + with_feature "prometheus_metrics_measure_#{name}_cpu_duration" end cpu_duration_seconds.observe(trans.labels, cpu_time) |