[tor-commits] [tor] 04/06: relay: Change the connection metrics name

gitolite role git at cupani.torproject.org
Thu Oct 27 14:47:20 UTC 2022


This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

commit 06a26f18727d3831339c138ccec07ea2f7935014
Author: David Goulet <dgoulet at torproject.org>
AuthorDate: Thu Oct 13 11:09:40 2022 -0400

    relay: Change the connection metrics name
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 src/feature/relay/relay_metrics.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/feature/relay/relay_metrics.c b/src/feature/relay/relay_metrics.c
index 77ccaac722..beae0e3f2f 100644
--- a/src/feature/relay/relay_metrics.c
+++ b/src/feature/relay/relay_metrics.c
@@ -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,
   },
   {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list