]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 29 Jun 2021 08:46:37 +0000 (10:46 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Tue, 29 Jun 2021 13:07:44 +0000 (15:07 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/histogram.hh
pdns/recursordist/docs/metrics.rst

index 03cae4fc420539515e9c925f97a7e3c5cb11f8ec..beaaf795755f27b8dd91dfa7963d1d1ea5335eff 100644 (file)
@@ -148,7 +148,7 @@ public:
 
 private:
   std::vector<B> d_buckets;
-  std::string d_name;
+  const std::string d_name;
   mutable SumType d_sum{0};
 
   std::vector<uint64_t> to125(uint64_t start, int num)
index 88095a89b6cc5e33b6f5f78ee4f9075bb32340f9..ed98628a943be74a3b7f5967b8cfa1b196a357be 100644 (file)
@@ -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.