]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: fix typos in custom metrics docs 14956/head
authorEnsar Sarajčić <es.ensar@gmail.com>
Mon, 16 Dec 2024 16:11:35 +0000 (17:11 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Dec 2024 16:11:35 +0000 (17:11 +0100)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/dnsdistdist/docs/reference/custommetrics.rst

index a2b91e41413cc579c24ce0bed1aeadcd9b778b20..d688a0a1c16ce853d770c2ced7ff65574c8b4eaa 100644 (file)
@@ -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