Commit 1c403459 authored by Pawel Chojnacki's avatar Pawel Chojnacki

Add missing feature gate for cpu metrics

parent 67d49463
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment