Skip to content

Commit

Permalink
dnsdist: fix typos in custom metrics docs
Browse files Browse the repository at this point in the history
Co-authored-by: Remi Gacogne <github@coredump.fr>
  • Loading branch information
esensar and rgacogne authored Dec 16, 2024
1 parent c625839 commit b3f572f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdns/dnsdistdist/docs/reference/custommetrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Then you can update those at runtime using the following functions, depending on

Options:

* ``step``: int - By ow much the counter should be incremented, default to 1
* ``step``: int - By how much the counter should be incremented, default to 1
* ``labels={}``: table - Set of key: value pairs with labels and their values that should be used to increment the metric. Different combinations of labels have different metric values.

.. function:: decMetric(name [, step|options]) -> int
Expand All @@ -88,7 +88,7 @@ Then you can update those at runtime using the following functions, depending on

Options:

* ``step``: int - By ow much the counter should be decremented, default to 1
* ``step``: int - By how much the counter should be decremented, default to 1
* ``labels={}``: table - Set of key: value pairs with labels and their values that should be used to decrement the metric. Different combinations of labels have different metric values.

.. function:: getMetric(name [, options]) -> double
Expand Down

0 comments on commit b3f572f

Please sign in to comment.