]> git.ipfire.org Git - thirdparty/tor.git/commit
metrics: Split connections with a counter and gauge
authorDavid Goulet <dgoulet@torproject.org>
Thu, 10 Nov 2022 12:29:18 +0000 (07:29 -0500)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 10 Nov 2022 12:29:18 +0000 (07:29 -0500)
commit2737037ccd8391adcfe18f90d80a64310df88c84
tree5a2ebe000a5405c616dbdb5723490fbd0f5a2008
parente2a94e050d9e4d4ab654503d8fec49e5d151cdbf
metrics: Split connections with a counter and gauge

Created and Rejected connections are ever going up counters. While
Opened connections are gauges going up and down.

Fixes #40712

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/feature/relay/relay_metrics.c
src/feature/relay/relay_metrics.h