]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
relay: Change the connection metrics name
authorDavid Goulet <dgoulet@torproject.org>
Thu, 13 Oct 2022 15:09:40 +0000 (11:09 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 26 Oct 2022 19:16:48 +0000 (15:16 -0400)
Signed-off-by: David Goulet <dgoulet@torproject.org>
src/feature/relay/relay_metrics.c

index 77ccaac722750c45e8898f80ad4b161c5b84f6f9..beae0e3f2f589e9e896817c514b7545bb1479526 100644 (file)
@@ -95,8 +95,8 @@ static const relay_metrics_entry_t base_metrics[] =
   {
     .key = RELAY_METRICS_NUM_CONNECTIONS,
     .type = METRICS_TYPE_COUNTER,
-    .name = METRICS_NAME(relay_connections),
-    .help = "Connections metrics of this relay",
+    .name = METRICS_NAME(relay_connections_total),
+    .help = "Total number of connections",
     .fill_fn = fill_connections_values,
   },
   {