pdns_recursor_non_resolving_ns_entries metric names should not contain abbreviated units
#endif /* __linux__ */
static const oid sourceDisallowedNotifyOID[] = {RECURSOR_STATS_OID, 124};
static const oid zoneDisallowedNotifyOID[] = {RECURSOR_STATS_OID, 125};
-static const oid nonResolvingNSEntriesOID[] = {RECURSOR_STATS_OID, 126};
+static const oid nonResolvingNameserverEntriesOID[] = {RECURSOR_STATS_OID, 126};
static std::unordered_map<oid, std::string> s_statsMap;
registerCounter64Stat("almost-expired-pushed", almostExpiredPushed, OID_LENGTH(almostExpiredPushed));
registerCounter64Stat("almost-expired-run", almostExpiredRun, OID_LENGTH(almostExpiredRun));
registerCounter64Stat("almost-expired-exceptions", almostExpiredExceptions, OID_LENGTH(almostExpiredExceptions));
- registerCounter64Stat("non-resolving-ns-entries", nonResolvingNSEntriesOID, OID_LENGTH(nonResolvingNSEntriesOID));
+ registerCounter64Stat("non-resolving-nameserver-entries", nonResolvingNameserverEntriesOID, OID_LENGTH(nonResolvingNameserverEntriesOID));
#endif /* HAVE_NET_SNMP */
}
addGetStat("nsspeeds-entries", getNsSpeedsSize);
addGetStat("failed-host-entries", SyncRes::getFailedServersSize);
- addGetStat("non-resolving-ns-entries", SyncRes::getNonResolvingNSSize);
+ addGetStat("non-resolving-nameserver-entries", SyncRes::getNonResolvingNSSize);
addGetStat("concurrent-queries", getConcurrentQueries);
addGetStat("security-status", &g_security_status);
"Number of NOTIFY operations not allowed by allow-notify-for"
::= { stats 125 }
-nonResolvingNSEntries OBJECT-TYPE
+nonResolvingNameserverEntries OBJECT-TYPE
SYNTAX CounterBasedGauge64
MAX-ACCESS read-only
STATUS current
^^^^^^^^^^^^^^^
counts the number of times it answered NOERROR since starting
-non-resolving-ns-entries
+non-resolving-nameserver-entries
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
number of entries in the non-resolving NS name cache
{"failed-host-entries",
MetricDefinition(PrometheusMetricType::gauge,
"Number of entries in the failed NS cache")},
- {"non-resolving-ns-entries",
+ {"non-resolving-nameserver-entries",
MetricDefinition(PrometheusMetricType::gauge,
"Number of entries in the non-resolving NS name cache")},
{"ignored-packets",