From 7f3c81cfa0639c223aaa7ae79d3a2d6440b77955 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 29 Jun 2021 10:46:37 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Remi Gacogne --- pdns/histogram.hh | 2 +- pdns/recursordist/docs/metrics.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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. -- 2.47.3