From c84ea8bd0d00d0b9458fdbed32bf501972df17ed Mon Sep 17 00:00:00 2001 From: trinity-1686a Date: Sun, 14 Apr 2024 14:58:58 +0200 Subject: [PATCH] rename metric bug_reached to bug_reached_count --- src/lib/log/log_sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/log/log_sys.c b/src/lib/log/log_sys.c index 9bae36e1d1..ac76d9bdbb 100644 --- a/src/lib/log/log_sys.c +++ b/src/lib/log/log_sys.c @@ -41,7 +41,7 @@ logging_metrics_get_stores(void) metrics_store_entry_t *sentry = metrics_store_add( the_store, METRICS_TYPE_COUNTER, - METRICS_NAME(bug_reached), + METRICS_NAME(bug_reached_count), "Total number of BUG() and similar assertion reached", 0, NULL); metrics_store_entry_update(sentry, tor_bug_get_count());