Merge branch 'pawel/disable_prometheus_metrics' into 'master'
Temporarily force disable prometheus metrics See merge request gitlab-org/gitlab-ce!15549
This commit is contained in:
commit
3193f13b44
2 changed files with 8 additions and 3 deletions
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue