From 0ffd83db942bab775a1363a373d5cb01b8455a86 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 26 Nov 2024 10:38:10 +0100 Subject: [PATCH] expand declareMetric text --- pdns/dnsdistdist/docs/reference/custommetrics.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pdns/dnsdistdist/docs/reference/custommetrics.rst b/pdns/dnsdistdist/docs/reference/custommetrics.rst index b260613449..b2f5b517be 100644 --- a/pdns/dnsdistdist/docs/reference/custommetrics.rst +++ b/pdns/dnsdistdist/docs/reference/custommetrics.rst @@ -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 -- 2.47.2