Skip to content
  • David Goulet's avatar
    relay: Add the OOM invocation metrics · 9c2fa349
    David Goulet authored
    
    
    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's avatarDavid Goulet <dgoulet@torproject.org>
    9c2fa349