From: Remi Gacogne Date: Tue, 9 Mar 2021 17:38:24 +0000 (+0100) Subject: dnsdist: Fix a typo in the prometheus metric name for TCP reuseds X-Git-Tag: rec-4.5.0-beta1~14^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=024e04db7d4bfb3776fd95460977abb2d9b84edc;p=thirdparty%2Fpdns.git dnsdist: Fix a typo in the prometheus metric name for TCP reuseds --- diff --git a/pdns/dnsdist-web.cc b/pdns/dnsdist-web.cc index 311e4d98e2..075406fe10 100644 --- a/pdns/dnsdist-web.cc +++ b/pdns/dnsdist-web.cc @@ -478,8 +478,8 @@ static void handlePrometheus(const YaHTTP::Request& req, YaHTTP::Response& resp) output << "# TYPE " << statesbase << "tcpcurrentconnections " << "gauge" << "\n"; output << "# HELP " << statesbase << "tcpnewconnections " << "The number of established TCP connections in total" << "\n"; output << "# TYPE " << statesbase << "tcpnewconnections " << "counter" << "\n"; - output << "# HELP " << statesbase << "tcpreusedsconnections " << "The number of times a TCP connection has been reused" << "\n"; - output << "# TYPE " << statesbase << "tcpreusedsconnections " << "counter" << "\n"; + output << "# HELP " << statesbase << "tcpreusedconnections " << "The number of times a TCP connection has been reused" << "\n"; + output << "# TYPE " << statesbase << "tcpreusedconnections " << "counter" << "\n"; output << "# HELP " << statesbase << "tcpavgqueriesperconn " << "The average number of queries per TCP connection" << "\n"; output << "# TYPE " << statesbase << "tcpavgqueriesperconn " << "gauge" << "\n"; output << "# HELP " << statesbase << "tcpavgconnduration " << "The average duration of a TCP connection (ms)" << "\n";