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-Tag: rec-4.3.0-alpha2~6^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8465%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Rename the 'address' label to 'frontend' for DoH metrics --- diff --git a/pdns/dnsdist-web.cc b/pdns/dnsdist-web.cc index 0ed3f66f83..07613f131c 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";