]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #9084 from pieterlexis/dnsdist_latency_prometheus_help
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 4 May 2020 09:19:37 +0000 (11:19 +0200)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 09:19:37 +0000 (11:19 +0200)
dnsdist: add the unit to the help for latency buckets

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";