-
- Downloads
relay: Add the OOM invocation metrics
With this commit, a relay now emits metrics event on the MetricsPort
related to the OOM invocation for:
- DNS cache
- GeoIP database
- Cell queues
- HSDir caches
Everytime the OOM is invoked, the number of bytes is added to the
metrics counter for that specific type of invocation.
Related to #40367
Signed-off-by:
David Goulet <dgoulet@torproject.org>
Showing
- src/core/or/circuitlist.c 7 additions, 5 deletionssrc/core/or/circuitlist.c
- src/core/or/circuitlist.h 1 addition, 1 deletionsrc/core/or/circuitlist.h
- src/core/or/relay.c 18 additions, 4 deletionssrc/core/or/relay.c
- src/core/or/relay.h 5 additions, 0 deletionssrc/core/or/relay.h
- src/feature/relay/relay_metrics.c 73 additions, 1 deletionsrc/feature/relay/relay_metrics.c
- src/feature/relay/relay_metrics.h 4 additions, 6 deletionssrc/feature/relay/relay_metrics.h
Loading
Please register or sign in to comment