From: Lowell Mower Date: Thu, 8 Mar 2018 21:26:35 +0000 (-0500) Subject: add metric line to interpolate value returned from countServersUp X-Git-Tag: dnsdist-1.3.0~44^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77f5312b37ad3d8ab7685983cfbf604fb6bae566;p=pdns add metric line to interpolate value returned from countServersUp --- diff --git a/pdns/dnsdist-carbon.cc b/pdns/dnsdist-carbon.cc index caae0bb94..6ef88767f 100644 --- a/pdns/dnsdist-carbon.cc +++ b/pdns/dnsdist-carbon.cc @@ -112,6 +112,7 @@ try const string base = "dnsdist." + hostname + ".main.pools." + poolName + "."; const std::shared_ptr pool = entry.second; str<servers.size() << " " << now << "\r\n"; + str<countServersUp() << " " << now << "\r\n"; if (pool->packetCache != nullptr) { const auto& cache = pool->packetCache; str<getMaxEntries() << " " << now << "\r\n";