From 1923aa25b4fcdbddda1930491f0caf601b766821 Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Tue, 5 Sep 2023 15:55:42 +0300 Subject: [PATCH] doc: fix global labels setup --- doc/monitoring/getting_started.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/monitoring/getting_started.rst b/doc/monitoring/getting_started.rst index 96be8f4a..0151bdb5 100644 --- a/doc/monitoring/getting_started.rst +++ b/doc/monitoring/getting_started.rst @@ -26,7 +26,7 @@ You may also set a global label for your metrics: .. code-block:: lua - metrics.cfg{alias = 'alias'} + metrics.cfg{labels = {alias = 'alias'}} Initialize the Prometheus exporter or export metrics in another format: