summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-10-27 11:41:43 -0400
committerDavid Goulet <dgoulet@torproject.org>2022-10-27 11:41:43 -0400
commit72f52d2c8528855fc3f54173b14b1bce49dcb141 (patch)
treea78c9fc3b2a84847d19f2e225c90ca90b72d5bef
parent504a6da5ab6070258cb68f2aab5610e79fd6b058 (diff)
parent6d40e980fb149549bbef5d9e80dbdf886d87d207 (diff)
downloadtor-72f52d2c8528855fc3f54173b14b1bce49dcb141.tar.gz
tor-72f52d2c8528855fc3f54173b14b1bce49dcb141.zip
Merge branch 'tor-gitlab/mr/644' into maint-0.4.7
-rw-r--r--src/feature/relay/relay_metrics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/relay_metrics.c b/src/feature/relay/relay_metrics.c
index 7fcbb72d75..cc36736831 100644
--- a/src/feature/relay/relay_metrics.c
+++ b/src/feature/relay/relay_metrics.c
@@ -108,7 +108,7 @@ static const relay_metrics_entry_t base_metrics[] =
},
{
.key = RELAY_METRICS_NUM_CONNECTIONS,
- .type = METRICS_TYPE_COUNTER,
+ .type = METRICS_TYPE_GAUGE,
.name = METRICS_NAME(relay_connections_total),
.help = "Total number of connections",
.fill_fn = fill_connections_values,