Files
rippled/include/xrpl/telemetry
Pratik Mankawde b52b3c7b8e feat(telemetry): name the rotation-stall metrics and give phase durations a seconds ladder
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.
2026-09-14 20:33:42 +01:00
..