BigW Consortium Gitlab

Commit 082447ff by Stan Hu Committed by Michael Kozono

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 3193f13b) bf77f1cd Force disable Prometheus metrics
parent 87b43b73
---
title: Force disable Prometheus metrics
merge_request:
author:
type: fixed
...@@ -17,9 +17,9 @@ module Gitlab ...@@ -17,9 +17,9 @@ module Gitlab
end end
def prometheus_metrics_enabled? def prometheus_metrics_enabled?
return @prometheus_metrics_enabled if defined?(@prometheus_metrics_enabled) # force disable prometheus_metrics until
# https://gitlab.com/gitlab-org/prometheus-client-mmap/merge_requests/11 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