Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-05-30 00:23:19 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 20:45:58 +0300
commitae8f7666e597493ab404f8524c1216a924338291 (patch)
tree1e7684337782584f90b8b8a9d3e5980393e633c7 /lib/gitlab/health_checks
parentc134a72cdb7e6de8b70dc60de99cf4edc68a9227 (diff)
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