From e3f3828be9183f7c9f2f8f8ec9f02eb47ce6a2be Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 25 Oct 2019 10:20:48 +0200 Subject: [PATCH] dnsdist: Rename the 'address' label to 'frontend' for DoH metrics --- pdns/dnsdist-web.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist-web.cc b/pdns/dnsdist-web.cc index 0ed3f66f8..07613f131 100644 --- a/pdns/dnsdist-web.cc +++ b/pdns/dnsdist-web.cc @@ -656,7 +656,7 @@ static void connectionThread(int sock, ComboAddress remote) threadNumber = dupPair.first->second; ++(dupPair.first->second); } - const std::string addrlabel = boost::str(boost::format("address=\"%1%\",thread=\"%2%\"") % frontName % threadNumber); + const std::string addrlabel = boost::str(boost::format("frontend=\"%1%\",thread=\"%2%\"") % frontName % threadNumber); const std::string label = "{" + addrlabel + "} "; output << frontsbase << "http_connects" << label << doh->d_httpconnects << "\n"; -- 2.40.0