addGetStat("auth-rcode-answers", []() {
return toAuthRCodeStatsMap("auth-rcode-answers", g_stats.authRCode);
});
- addGetStat("remote-logger", []() {
- return toRemoteLoggerStatsMap("remote-logger");
+ addGetStat("remote-logger-count", []() {
+ return toRemoteLoggerStatsMap("remote-logger-count");
});
}
for (size_t idx = 0; idx < 128; idx++) {
defaultAPIDisabledStats += ", ecs-v6-response-bits-" + std::to_string(idx + 1);
}
- std::string defaultDisabledStats = defaultAPIDisabledStats + ", cumul-clientanswers, cumul-authanswers, policy-hits, proxy-mapping-total, remote-logger";
+ std::string defaultDisabledStats = defaultAPIDisabledStats + ", cumul-clientanswers, cumul-authanswers, policy-hits, proxy-mapping-total, remote-logger-count";
::arg().set("stats-api-blacklist", "List of statistics that are disabled when retrieving the complete list of statistics via the API (deprecated)") = defaultAPIDisabledStats;
::arg().set("stats-carbon-blacklist", "List of statistics that are prevented from being exported via Carbon (deprecated)") = defaultDisabledStats;
"Count of RCodes returned by authoritative servers")},
// For multicounters, state the first
- {"remote-logger-o-0",
+ {"remote-logger-count-o-0",
MetricDefinition(PrometheusMetricType::multicounter,
"Number of remote logging events")},
};