Skip to content

[raft] Add prometheus metrics and dashboard - #1545

Open
the-glu wants to merge 1 commit into
interuss:masterfrom
Orbitalize:raft_metrics
Open

the-glu wants to merge 1 commit into
interuss:masterfrom
Orbitalize:raft_metrics

Conversation

@the-glu

@the-glu the-glu commented Jun 17, 2026 •

Copy link
Copy Markdown
Member

This PR adds a few raft metrics:

  • raft_peer_latency_seconds
  • raft_peer_latency_average_seconds
  • raft_peer_latency_stddev_seconds
  • raft_peer_latency_min_seconds
  • raft_peer_latency_max_seconds
  • raft_peer_send_success_total
  • raft_peer_send_fail_total

Metrics are added to a dashboard:

image image image

Tested locally on a two-node cluster.

@barroco barroco added the dss-raft Relating to the application-layer consensus implemenation based on raft label Jun 17, 2026
@MariemBaccari

Copy link
Copy Markdown
Contributor

I think this PR still needs to import raft.json in the dashboard and add it to Helm deployments as well.
In addition, we now have 3 different raft groups (rid, aux and scd) so it should be updated to distinguish the metrics of each group.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dss-raft Relating to the application-layer consensus implemenation based on raft

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants