Commit 9884c0f4 authored by Pawel Chojnacki's avatar Pawel Chojnacki

Reenable prometheus metrics

parent cdcbeacc
...@@ -17,9 +17,9 @@ module Gitlab ...@@ -17,9 +17,9 @@ module Gitlab
end end
def prometheus_metrics_enabled? def prometheus_metrics_enabled?
# force disable prometheus_metrics until return @prometheus_metrics_enabled if defined?(@prometheus_metrics_enabled)
# https://gitlab.com/gitlab-org/prometheus-client-mmap/merge_requests/11 is ready
false @prometheus_metrics_enabled = prometheus_metrics_enabled_unmemoized
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