From: Ensar Sarajčić Date: Mon, 16 Dec 2024 16:11:35 +0000 (+0100) Subject: dnsdist: fix typos in custom metrics docs X-Git-Tag: dnsdist-2.0.0-alpha0^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14956%2Fhead;p=thirdparty%2Fpdns.git dnsdist: fix typos in custom metrics docs Co-authored-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/docs/reference/custommetrics.rst b/pdns/dnsdistdist/docs/reference/custommetrics.rst index a2b91e4141..d688a0a1c1 100644 --- a/pdns/dnsdistdist/docs/reference/custommetrics.rst +++ b/pdns/dnsdistdist/docs/reference/custommetrics.rst @@ -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 @@ -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