Commit 6d40e980 authored by David Goulet's avatar David Goulet 🐼
Browse files

metrics: Treat relay connections as gauge, not counter

Fixes #40699



Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent a1c40c85
......@@ -94,7 +94,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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment