hellas-ai / hellas-ai/consensus
feat: metrics endpoint
Open
- Dominant language
- Rust
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
we should optionally expose a prometheus-style /metrics endpoint
default should be off, if enabled, bind to 127.0.0.1 and port 9311 but allow user to specify these
application should log error and exit with error code if we fail to bind port
metrics should include stuff like:
- current connected peers
- latest block seen
- number of views signed
the endpoint must NOT do any querying/aggregation itself- metrics should be updated inline as soon as the relevant event occurs, endpoint just snapshots them
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.