]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: add the unit to the help for latency buckets 9084/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 1 May 2020 16:16:46 +0000 (18:16 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 1 May 2020 16:16:46 +0000 (18:16 +0200)
pdns/dnsdist-web.cc

index 797a5730f432018f9146a0a6abf9c93357fe92ff..7347e448e507c27fc36ba9f1b51a729127b2d6bd 100644 (file)
@@ -500,7 +500,7 @@ static void connectionThread(int sock, ComboAddress remote)
         }
 
         // Latency histogram buckets
-        output << "# HELP dnsdist_latency Histogram of responses by latency\n";
+        output << "# HELP dnsdist_latency Histogram of responses by latency (in miliseconds)\n";
         output << "# TYPE dnsdist_latency histogram\n";
         uint64_t latency_amounts = g_stats.latency0_1;
         output << "dnsdist_latency_bucket{le=\"1\"} " << latency_amounts << "\n";