]> granicus.if.org Git - pdns/commitdiff
dnsdist: Fix a typo in 'tcpdownstreamtimeouts' prometheus description
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 2 Oct 2019 08:45:07 +0000 (10:45 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 2 Oct 2019 08:45:07 +0000 (10:45 +0200)
pdns/dnsdist-web.cc

index 586547a2d47b7adf4ad2bd74583b00597d109ce5..79091b4d796023e37c48ca911aeedfac988e01f9 100644 (file)
@@ -544,8 +544,8 @@ static void connectionThread(int sock, ComboAddress remote)
         output << "# TYPE " << frontsbase << "tcpgaveup " << "counter" << "\n";
         output << "# HELP " << frontsbase << "tcpclientimeouts " << "Amount of TCP connections terminated by a timeout while reading from the client" << "\n";
         output << "# TYPE " << frontsbase << "tcpclientimeouts " << "counter" << "\n";
-        output << "# HELP " << frontsbase << "tcpdownstreamimeouts " << "Amount of TCP connections terminated by a timeout while reading from the backend" << "\n";
-        output << "# TYPE " << frontsbase << "tcpdownstreamimeouts " << "counter" << "\n";
+        output << "# HELP " << frontsbase << "tcpdownstreamtimeouts " << "Amount of TCP connections terminated by a timeout while reading from the backend" << "\n";
+        output << "# TYPE " << frontsbase << "tcpdownstreamtimeouts " << "counter" << "\n";
         output << "# HELP " << frontsbase << "tcpcurrentconnections " << "Amount of current incoming TCP connections from clients" << "\n";
         output << "# TYPE " << frontsbase << "tcpcurrentconnections " << "gauge" << "\n";
         output << "# HELP " << frontsbase << "tcpavgqueriesperconnection " << "The average number of queries per TCP connection" << "\n";