Skip to content

Commit

Permalink
Fix indentation in API Reference (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvar-antonsson authored Aug 30, 2021
1 parent fa39a05 commit 3b3405c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions doc/monitoring/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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:

Expand Down

0 comments on commit 3b3405c

Please sign in to comment.