Skip to content

Commit

Permalink
fixup! doc/config-monitoring-stats.rst: update stats config with yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Oto Šťáva committed Jan 10, 2024
1 parent c1659c4 commit de3d9f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/config-monitoring-stats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ exposed as :ref:`config-monitoring-prometheus`.

Configures, whether statistics module will be loaded into resolver.

:manager-only: Disables statistics collection in all `kresd` workers.
:lazy Statistics: collection is enabled at the time of request.
:always: Statistics collection is always on.
* ``manager-only`` - Disables statistics collection in all `kresd` workers.
* ``lazy`` - Statistics collection is enabled at the time of request.
* ``always`` - Statistics collection is always on.

You can see all built-in statistics in :ref:`mod-stats-list` section.

Expand All @@ -36,10 +36,10 @@ You can see all built-in statistics in :ref:`mod-stats-list` section.
Prometheus metrics endpoint
---------------------------

The new :ref:`manager-api` exposes `/metrics` endpoint that serves agregated metrics from statistics collector in Prometheus text format.
The :ref:`manager-api` exposes `/metrics` endpoint that serves agregated metrics from statistics collector in Prometheus text format.
You can use it as soon as the HTTP API is configured.

It is also possible to use the :ref:`manager-client` to obtain and save metrics.
It is also possible to use the :ref:`manager-client` to obtain and save metrics:

.. code-block:: bash
Expand Down Expand Up @@ -105,4 +105,4 @@ Example configuration:
.. _Graphite: https://graphite.readthedocs.io/en/latest/feeding-carbon.html
.. _InfluxDB: https://influxdb.com/
.. _Metronome: https://github.com/ahuPowerDNS/metronome
.. _Grafana: http://grafana.org/
.. _Grafana: http://grafana.org/

0 comments on commit de3d9f9

Please sign in to comment.