mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 15:28:03 +00:00
Adds the metric and label constants the rotation-stall proof chain uses: - `rotation_phase_duration_seconds` — per-phase wall-clock, labelled by `stage`, with 8 values in `lval::rotation_phase` matching the child span suffixes. - `jobq_stall_total` — a counter for jobs whose run time reached LoadMonitor's 1 s warn threshold. - `lval::cache_metrics::treenode_lock_hold_peak_us` / `fullbelow_lock_hold_peak_us` as `metric` values on the existing `cache_metrics` gauge, for the TaggedCache lock-hold peaks the next commits expose. `kRotationPhaseSecondsBuckets` in HistogramBuckets.h covers 1 s to 1 h, wired through `addRotationPhaseHistogramView` at instrument-registration time so `histogram_quantile` never has to interpolate inside the +Inf bucket. Ladder test and a labelled histogram macro test pin the values.