]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
expand declareMetric text 14978/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 26 Nov 2024 09:38:10 +0000 (10:38 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 16 Dec 2024 15:23:46 +0000 (16:23 +0100)
(cherry picked from commit 0ffd83db942bab775a1363a373d5cb01b8455a86)

pdns/dnsdistdist/docs/reference/custommetrics.rst

index b260613449fc06190458e779d32ef9c9b800d27e..b2f5b517be3d2e2b787e60e371609fbb87fbfd63 100644 (file)
@@ -17,6 +17,9 @@ Then you can update those at runtime using the following functions, depending on
   .. versionchanged:: 1.8.1
     This function can now be used at runtime, instead of only at configuration time.
 
+  Re-declaring an existing metric with the same name and type will not reset it.
+  Re-declaring with the same name but a different type will cause one of them to be masked.
+
   Returns true if declaration was successful.
 
   :param str name: The name of the metric, lowercase alphanumerical characters and dashes (-) only