From: Remi Gacogne Date: Tue, 17 Nov 2015 14:00:27 +0000 (+0100) Subject: Add oustanding queries and send errors stats to the carbon export. X-Git-Tag: dnsdist-1.0.0-alpha1~218^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ab89cf6eef2d42a548cdea8f6599bf025ea29ab;p=pdns Add oustanding queries and send errors stats to the carbon export. I really have no idea why I didn't include those last time, it just makes sense to have them. --- diff --git a/pdns/dnsdist-carbon.cc b/pdns/dnsdist-carbon.cc index a6242779f..3d21da725 100644 --- a/pdns/dnsdist-carbon.cc +++ b/pdns/dnsdist-carbon.cc @@ -64,6 +64,8 @@ try str<queries.load() << " " << now << "\r\n"; str<reuseds.load() << " " << now << "\r\n"; str<latencyUsec/1000.0 << " " << now << "\r\n"; + str<sendErrors.load() << " " << now << "\r\n"; + str<outstanding.load() << " " << now << "\r\n"; } const string msg = str.str();