static const oid recordCacheContendedOID[] = { RECURSOR_STATS_OID, 102 };
static const oid recordCacheAcquiredOID[] = { RECURSOR_STATS_OID, 103 };
static const oid nodLookupsDroppedOversizeOID[] = { RECURSOR_STATS_OID, 104 };
+static const oid taskQueuePushedOID[] = { RECURSOR_STATS_OID, 105 };
+static const oid taskQueueExpiredOID[] = { RECURSOR_STATS_OID, 106 };
+static const oid taskQueueSizeOID[] = { RECURSOR_STATS_OID, 107 };
static std::unordered_map<oid, std::string> s_statsMap;
registerCounter64Stat("record-cache-contended", recordCacheContendedOID, OID_LENGTH(recordCacheContendedOID));
registerCounter64Stat("record-cache-acquired", recordCacheAcquiredOID, OID_LENGTH(recordCacheAcquiredOID));
registerCounter64Stat("nod-lookups-dropped-oversize", nodLookupsDroppedOversizeOID, OID_LENGTH(nodLookupsDroppedOversizeOID));
+ registerCounter64Stat("tasqueue-pushed", taskQueuePushedOID, OID_LENGTH(taskQueuePushedOID));
+ registerCounter64Stat("taskqueue-expired", taskQueueExpiredOID, OID_LENGTH(taskQueueExpiredOID));
+ registerCounter64Stat("taskqueue-size", taskQueueSizeOID, OID_LENGTH(taskQueueSizeOID));
#endif /* HAVE_NET_SNMP */
}
"Number of NOD lookups dropped because they would exceed the maximum name length"
::= { stats 104 }
+taskQueuePushed OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of tasks pushed to the taskqueues"
+ ::= { stats 105 }
+
+taskQueueExpired OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of tasks expired before they could be run"
+ ::= { stats 106 }
+
+taskQueueSize OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of tasks currenlty in the taskqueues"
+ ::= { stats 107 }
+
---
--- Traps / Notifications
---
proxyProtocolInvalid,
recordCacheContended,
recordCacheAcquired,
- nodLookupsDroppedOversize
+ nodLookupsDroppedOversize,
+ taskQueuePushed,
+ taskQueueExpired,
+ taskQueueSize
}
STATUS current
DESCRIPTION "Objects conformance group for PowerDNS Recursor"
^^^^^^^^^^^^^^^
number of erroneous received packets
+nod-lookups-dropped-oversize
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Number of NOD lookups dropped because they would exceed the maximum name length"^^
+
noedns-outqueries
^^^^^^^^^^^^^^^^^
number of queries sent out without EDNS
^^^^^^^^
number of CPU milliseconds spent in 'system' mode
+tastqueue-pushed
+^^^^^^^^^^^^^^^^
+.. versionadded:: 4.5.0
+
+number of tasks pushed to the taskqueue
+
+tastqueue-expired
+^^^^^^^^^^^^^^^^
+.. versionadded:: 4.5.0
+
+number of tasks expired before they could be run
+
+tastqueue-size
+^^^^^^^^^^^^^^
+.. versionadded:: 4.5.0
+
+number of tasks currenlty in the taskqueues
+
tcp-client-overflow
^^^^^^^^^^^^^^^^^^^
number of times an IP address was denied TCP access because it already had too many connections