From 8ab89cf6eef2d42a548cdea8f6599bf025ea29ab Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 17 Nov 2015 15:00:27 +0100 Subject: [PATCH] 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. --- pdns/dnsdist-carbon.cc | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.40.0