From: Peter van Dijk Date: Tue, 26 Nov 2024 09:38:10 +0000 (+0100) Subject: expand declareMetric text X-Git-Tag: rec-5.2.0-rc1~31^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14888%2Fhead;p=thirdparty%2Fpdns.git expand declareMetric text --- 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