diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-05-29 23:23:19 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-02 19:45:58 +0200 |
commit | ae8f7666e597493ab404f8524c1216a924338291 (patch) | |
tree | 1e7684337782584f90b8b8a9d3e5980393e633c7 /lib/gitlab/health_checks | |
parent | c134a72cdb7e6de8b70dc60de99cf4edc68a9227 (diff) | |
download | gitlab-ce-ae8f7666e597493ab404f8524c1216a924338291.tar.gz |
Add prometheus text formatter
+ rename controler method to #index from #metrics
+ remove assertion from nullMetric
Diffstat (limited to 'lib/gitlab/health_checks')
-rw-r--r-- | lib/gitlab/health_checks/prometheus_text_format.rb (renamed from lib/gitlab/health_checks/prometheus_text.rb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/health_checks/prometheus_text.rb b/lib/gitlab/health_checks/prometheus_text_format.rb index a01e6b2be1f..5fc6f19c37c 100644 --- a/lib/gitlab/health_checks/prometheus_text.rb +++ b/lib/gitlab/health_checks/prometheus_text_format.rb @@ -1,5 +1,5 @@ module Gitlab::HealthChecks - class PrometheusText + class PrometheusTextFormat def marshal(metrics) metrics_with_type_declarations(metrics).join("\n") end |