From 3b3405cc0e7148ecee26325f523b455711d00204 Mon Sep 17 00:00:00 2001 From: Igor Zolotarev <63460867+yngvar-antonsson@users.noreply.github.com> Date: Mon, 30 Aug 2021 18:28:33 +0300 Subject: [PATCH] Fix indentation in API Reference (#295) --- doc/monitoring/api_reference.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/monitoring/api_reference.rst b/doc/monitoring/api_reference.rst index a92353ee..13b7d2f7 100644 --- a/doc/monitoring/api_reference.rst +++ b/doc/monitoring/api_reference.rst @@ -402,16 +402,16 @@ Functions to call with ``metrics = require('cartridge.roles.metrics')`` in ``ini .. code-block:: lua - metrics.set_export({ - { - path = '/path_for_json_metrics', - format = 'json' - }, - { - path = '/another_path_for_json_metrics', - format = 'json' - }, - }) + metrics.set_export({ + { + path = '/path_for_json_metrics', + format = 'json' + }, + { + path = '/another_path_for_json_metrics', + format = 'json' + }, + }) .. function:: set_default_labels(label_pairs) @@ -424,8 +424,8 @@ Functions to call with ``metrics = require('cartridge.roles.metrics')`` in ``ini .. code-block:: lua - local metrics = require('cartridge.roles.metrics') - metrics.set_default_labels({ ['my-custom-label'] = 'label-value' }) + local metrics = require('cartridge.roles.metrics') + metrics.set_default_labels({ ['my-custom-label'] = 'label-value' }) .. _collecting-http-statistics: