]> granicus.if.org Git - pdns/commitdiff
dnsdist: Rename the 'address' label to 'frontend' for DoH metrics
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 25 Oct 2019 08:20:48 +0000 (10:20 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 25 Oct 2019 08:20:48 +0000 (10:20 +0200)
pdns/dnsdist-web.cc

index 0ed3f66f831eab94b6d210f929bab80c21a3e5a2..07613f131c516b9ee81378c885d38bcf2ec2cdfe 100644 (file)
@@ -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";