Commit 93c0a168 authored by Pawel Chojnacki's avatar Pawel Chojnacki

Put all event metrics exposed to prometheus behind a feature flag

parent efdde042
......@@ -155,6 +155,7 @@ module Gitlab
fetch_metric(type, metric_name) do
docstring "Transaction #{prefix}#{name} #{type}"
base_labels tags.merge(BASE_LABELS)
with_feature "prometheus_transaction_#{prefix}#{name}_total".to_sym
if type == :gauge
multiprocess_mode :livesum
......
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