mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-19 21:30:56 +00:00
The Operating Mode Transitions panel queried state_accounting_*_transitions directly. Those are monotonic counters, so the panel drew a slowly rising line and a few transitions per hour were invisible against a total in the hundreds. It also fell off a cliff whenever xrpld restarted and the counters reset to 0, which reads as missing data rather than a restart. Wrap each target in increase(...[$__rate_interval]) so each point is the number of transitions in that bucket and the series survives a counter reset. This is what the sibling panels on the same row (Operating Mode (Time Share), State Duration Rate) already do. Verified against devnet-otel-usw2-01/02 over 2026-08-11T11:01Z..2026-08-12T16:23Z: the fixed expression reports 107 and 123 syncing transitions, matching the counter deltas, and stays continuous across the 12:07 restart where the raw counter dropped 630 -> 1. Brief mode flaps remain invisible on Operating Mode (State Timeline) because a ~2 s dwell cannot be captured by a 60 s scrape; this panel is the place to read them.