From: Remi Gacogne Date: Fri, 25 Oct 2019 08:20:48 +0000 (+0200) Subject: dnsdist: Rename the 'address' label to 'frontend' for DoH metrics X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3f3828be9183f7c9f2f8f8ec9f02eb47ce6a2be;p=pdns dnsdist: Rename the 'address' label to 'frontend' for DoH metrics --- 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";