Add a prometheus gauge that is incremented with each iteration of the electrs main thread loop.
Under normal conditions this gauge will be incremented each 5 seconds or after a SIGUSR1 interrupt is handled.
The gauge can be used as a proxy for liveness of the electrs main thread.
Add a prometheus gauge that is incremented with each iteration of the electrs main thread loop. Under normal conditions this gauge will be incremented each 5 seconds or after a SIGUSR1 interrupt is handled. The gauge can be used as a proxy for liveness of the electrs main thread.