- add-prometheus-metrics, fix by rcode text.

This commit is contained in:
W.C.A. Wijngaards
2026-03-03 16:24:24 +01:00
parent 172e4a9edb
commit b0b8a3f144
+1 -1
View File
@@ -674,7 +674,7 @@ metrics_print_ext(struct evbuffer* reply, struct ub_stats_info* s,
/* RCODE */
print_metric_help_and_type(reply, prefix, "by_rcode_queries",
"Unbound DNS queries by rcode", "gauge");
"Unbound DNS answers by rcode", "gauge");
for(i=0; i<UB_STATS_RCODE_NUM; i++) {
/* Always include RCODEs 0-5 */
if(inhibit_zero && i > LDNS_RCODE_REFUSED && s->svr.ans_rcode[i] == 0)