rename metric bug_reached to bug_reached_count

This commit is contained in:
trinity-1686a 2024-04-14 14:58:58 +02:00
parent e95375ec99
commit c84ea8bd0d

View File

@ -41,7 +41,7 @@ logging_metrics_get_stores(void)
metrics_store_entry_t *sentry = metrics_store_add( metrics_store_entry_t *sentry = metrics_store_add(
the_store, the_store,
METRICS_TYPE_COUNTER, METRICS_TYPE_COUNTER,
METRICS_NAME(bug_reached), METRICS_NAME(bug_reached_count),
"Total number of BUG() and similar assertion reached", "Total number of BUG() and similar assertion reached",
0, NULL); 0, NULL);
metrics_store_entry_update(sentry, tor_bug_get_count()); metrics_store_entry_update(sentry, tor_bug_get_count());