Module agreed::metrics [−][src]
Expand description
Raft metrics for observability.
Applications may use this data in whatever way is needed. The obvious use cases are to expose these metrics to a metrics collection system like Prometheus. Applications may also use this data to trigger events within higher levels of the parent application.
Metrics are observed on a running Raft node via the Raft::metrics()
method, which will
return a stream of metrics.
Structs
RaftMetrics | A set of metrics describing the current state of a Raft node. |