Commit 082447ff authored by Stan Hu's avatar Stan Hu Committed by Michael Kozono
Browse files

Merge branch 'pawel/disable_prometheus_metrics' into 'master'

Temporarily force disable prometheus metrics

See merge request gitlab-org/gitlab-ce!15549

(cherry picked from commit 3193f13b444dc08366ebe2c223fb59ef2862f30b)

bf77f1cd Force disable Prometheus metrics
parent 7ad53fd5590a
title: Force disable Prometheus metrics
type: fixed
...@@ -17,9 +17,9 @@ def metrics_folder_present? ...@@ -17,9 +17,9 @@ def metrics_folder_present?
end end
def prometheus_metrics_enabled? def prometheus_metrics_enabled?
return @prometheus_metrics_enabled if defined?(@prometheus_metrics_enabled) # force disable prometheus_metrics until
# is ready
@prometheus_metrics_enabled = prometheus_metrics_enabled_unmemoized false
end end
def registry def registry
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