From: Otto Moerbeek Date: Tue, 29 Jun 2021 08:46:37 +0000 (+0200) Subject: Apply suggestions from code review X-Git-Tag: dnsdist-1.7.0-alpha1~116^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f3c81cfa0639c223aaa7ae79d3a2d6440b77955;p=thirdparty%2Fpdns.git Apply suggestions from code review Co-authored-by: Remi Gacogne --- diff --git a/pdns/histogram.hh b/pdns/histogram.hh index 03cae4fc42..beaaf79575 100644 --- a/pdns/histogram.hh +++ b/pdns/histogram.hh @@ -148,7 +148,7 @@ public: private: std::vector d_buckets; - std::string d_name; + const std::string d_name; mutable SumType d_sum{0}; std::vector to125(uint64_t start, int num) diff --git a/pdns/recursordist/docs/metrics.rst b/pdns/recursordist/docs/metrics.rst index 88095a89b6..ed98628a94 100644 --- a/pdns/recursordist/docs/metrics.rst +++ b/pdns/recursordist/docs/metrics.rst @@ -267,19 +267,19 @@ cpu-steal Stolen time, which is the time spent by the whole system in other operating systems when running in a virtualized environment, in units of USER_HZ. cumul-answers-le-x -^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^ Cumulative counts of answer times in buckets less or equal than x microseconds. These metrics include packet cache hits. These metrics are useful for Prometheus. cumul-auth4-answers-x -^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^ Cumulative counts of answer times of authoritative servers over IPv4 in buckets less than x microseconds. These metrics are useful for Prometheus. cumul-auth6-answers-x -^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^ Cumulative counts of answer times of authoritative servers over IPv6 in buckets less than x microseconds. These metrics are useful for Prometheus.