From 158699f8be830491bef07f9e62cbdab3f1abe98e Mon Sep 17 00:00:00 2001 From: Thong Kuah Date: Mon, 2 Sep 2019 23:13:41 +0000 Subject: Apply suggestion to doc/development/prometheus_metrics.md --- doc/development/prometheus_metrics.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/development/prometheus_metrics.md b/doc/development/prometheus_metrics.md index a6549f72040..2a34851d21c 100644 --- a/doc/development/prometheus_metrics.md +++ b/doc/development/prometheus_metrics.md @@ -56,10 +56,12 @@ This section describes how to add new metrics for self-monitoring ([example](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15440)). 1. Select the [type of metric](https://gitlab.com/gitlab-org/prometheus-client-mmap#metrics): - - `Gitlab::Metrics.counter` - - `Gitlab::Metrics.gauge` - - `Gitlab::Metrics.histogram` - - `Gitlab::Metrics.summary` + + - `Gitlab::Metrics.counter` + - `Gitlab::Metrics.gauge` + - `Gitlab::Metrics.histogram` + - `Gitlab::Metrics.summary` + 1. Select the appropriate name for your metric. Refer to the guidelines for [Prometheus metric names](https://prometheus.io/docs/practices/naming/#metric-names). 1. Update the list of [GitLab Prometheus metrics](../administration/monitoring/prometheus/gitlab_metrics.md). -- cgit v1.2.1