metrics: Fix typo in a label

Fixes #40727

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet 2022-12-07 08:43:41 -05:00
parent 67244e684f
commit 1d1eb29443
2 changed files with 4 additions and 1 deletions

3
changes/ticket40727 Normal file
View file

@ -0,0 +1,3 @@
o Minor bugfixes (relay, metrics):
- Fix typo in a congestion control label on the MetricsPort. Fixes bug
40727; bugfix on 0.4.7.12.

View file

@ -463,7 +463,7 @@ fill_cc_counters_values(void)
metrics_store_entry_add_label(sentry, metrics_store_entry_add_label(sentry,
metrics_format_label("state", "cc_circuits")); metrics_format_label("state", "cc_circuits"));
metrics_store_entry_add_label(sentry, metrics_store_entry_add_label(sentry,
metrics_format_label("action", "circs_creared")); metrics_format_label("action", "circs_created"));
metrics_store_entry_update(sentry, cc_stats_circs_created); metrics_store_entry_update(sentry, cc_stats_circs_created);
sentry = metrics_store_add(the_store, rentry->type, rentry->name, sentry = metrics_store_add(the_store, rentry->type, rentry->name,