From: Remi Gacogne Date: Mon, 4 May 2020 09:19:37 +0000 (+0200) Subject: Merge pull request #9084 from pieterlexis/dnsdist_latency_prometheus_help X-Git-Tag: dnsdist-1.5.0-rc2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abea5b0081b1b818cf5141934623da35eec83e81;hp=d54be2ea8ea063db0fe0b483d2a5c63478d12a0c;p=thirdparty%2Fpdns.git Merge pull request #9084 from pieterlexis/dnsdist_latency_prometheus_help dnsdist: add the unit to the help for latency buckets --- diff --git a/pdns/dnsdist-web.cc b/pdns/dnsdist-web.cc index 797a5730f4..7347e448e5 100644 --- a/pdns/dnsdist-web.cc +++ b/pdns/dnsdist-web.cc @@ -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";