diff options
author | David Goulet <dgoulet@torproject.org> | 2020-10-20 14:59:44 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-10-27 10:43:42 -0400 |
commit | c081bee38a428dda2bd9ee043f7cbab3cbd77393 (patch) | |
tree | 25e615bcb69d8af41f6a318df04564eea1d82b00 /src/feature/hs/hs_service.h | |
parent | 2fe0322fe4550e59cb8757fbff6984286bf8e121 (diff) | |
download | tor-c081bee38a428dda2bd9ee043f7cbab3cbd77393.tar.gz tor-c081bee38a428dda2bd9ee043f7cbab3cbd77393.zip |
hs: Collect rendezvous circuit metrics
The total number of rendezvous circuit created and the number of established
ones which is a gauge that decreases to keep an updated counter.
Related to #40063
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_service.h')
-rw-r--r-- | src/feature/hs/hs_service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/hs/hs_service.h b/src/feature/hs/hs_service.h index 136ff744db..974f46b960 100644 --- a/src/feature/hs/hs_service.h +++ b/src/feature/hs/hs_service.h @@ -386,6 +386,7 @@ hs_circuit_id_protocol_t hs_service_exports_circuit_id(const ed25519_public_key_t *pk); void hs_service_dump_stats(int severity); +void hs_service_circuit_cleanup_on_close(const circuit_t *circ); #ifdef HS_SERVICE_PRIVATE |