Commit 3193f13b authored by Stan Hu's avatar Stan Hu

Merge branch 'pawel/disable_prometheus_metrics' into 'master'

Temporarily force disable prometheus metrics

See merge request gitlab-org/gitlab-ce!15549
parents 48b65bb0 bf77f1cd
---
title: Force disable Prometheus metrics
merge_request:
author:
type: fixed
......@@ -17,9 +17,9 @@ module Gitlab
end
def prometheus_metrics_enabled?
return @prometheus_metrics_enabled if defined?(@prometheus_metrics_enabled)
@prometheus_metrics_enabled = prometheus_metrics_enabled_unmemoized
# force disable prometheus_metrics until
# https://gitlab.com/gitlab-org/prometheus-client-mmap/merge_requests/11 is ready
false
end
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