Blockstream / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
320 stars 131 forks source link

Add main loop prometheus gauge for liveness monitoring #86

Closed philippem closed 5 months ago

philippem commented 5 months ago

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.