S.declare("rfc2136-queries", "RFC2136 packets received.");
S.declare("rfc2136-answers", "RFC2136 packets succesfully answered.");
S.declare("rfc2136-refused", "RFC2136 packets that are refused.");
+ S.declare("rfc2136-changes", "RFC2136 changes to records in total.");
+
S.declare("servfail-packets","Number of times a server-failed packet was sent out");
S.declare("latency","Average number of microseconds needed to answer a question");
#include "backends/gsql/ssql.hh"
extern PacketCache PC;
+extern StatBag S;
pthread_mutex_t PacketHandler::s_rfc2136lock=PTHREAD_MUTEX_INITIALIZER;
// Section 3.6 - Update the SOA serial - outside of performUpdate because we do a SOA update for the complete update message
if (changedRecords > 0 && !updatedSerial)
increaseSerial(msgPrefix, &di, haveNSEC3, narrow, &ns3pr);
+ S.deposit("rfc2136-changes", changedRecords);
}
catch (DBException &e) {