Skip to content

MetricsPort Counter for "Bug" Events

Summary

Allow relay operators to monitor bug events via a MetricsPort counter

What is the expected behavior?

Every time tor writes a block of "Bug: ..." log lines the counter should increase by 1.

This will allow us to monitor for such events using prometheus/alertmanager and report such events earlier.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information