mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 08:00:22 +00:00
The dashboard showed 54 individual signals but no single answer to "is this node healthy and doing its job?". A reader had to correlate server state, ledger age and peer counts by eye. Add a stat panel at the top that reduces the two conditions that define a healthy observer node to one green/red verdict: server_state == 4 (Full) AND validated_ledger_age < 30s Both terms use `== bool` so each yields 0/1, joined with `* on(service_instance_id)` so the verdict is per node. Value mappings render 1 as "Healthy" (green) and 0 as "Not Healthy" (red) with background colouring, so the state is readable at a glance. Placed at y=0 per the dashboard convention that gauges/stats lead; existing panels shift down by 4 rows with no other change. Verified live against Grafana Cloud: returns 1 for aws-dev-xrpl-1 (Full, validated seq 105,824,596).