summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-09-02 23:13:41 +0000
committerThong Kuah <tkuah@gitlab.com>2019-09-02 23:13:41 +0000
commit158699f8be830491bef07f9e62cbdab3f1abe98e (patch)
tree1cecc5e7496a481cc58c91f77d7869738cb8fe85
parent24a9d3b1b88de2ff298bdbe8cad16b2b8e6ab04b (diff)
downloadgitlab-ce-docs-development_add_new_prometheus_metrics.tar.gz
Apply suggestion to doc/development/prometheus_metrics.mddocs-development_add_new_prometheus_metrics
-rw-r--r--doc/development/prometheus_metrics.md10
1 files 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).