From 6205199dc75f3bbb6a3435c0e54bcea292b9d998 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Thu, 4 Jun 2026 16:15:20 +0100 Subject: [PATCH] docs(telemetry): list new instruments in MetricsRegistry class diagram Add the new synchronous counters (ledger_history_mismatch_total{reason}, txq_expired_total, txq_dropped_total{reason}) and the reduce-relay observable gauge to the ASCII ownership diagram in the MetricsRegistry header so the documented instrument inventory matches the code. Co-Authored-By: Claude Opus 4.8 --- src/xrpld/telemetry/MetricsRegistry.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrpld/telemetry/MetricsRegistry.h b/src/xrpld/telemetry/MetricsRegistry.h index a16b77de3d..63a240ef75 100644 --- a/src/xrpld/telemetry/MetricsRegistry.h +++ b/src/xrpld/telemetry/MetricsRegistry.h @@ -37,6 +37,9 @@ | +-- xrpld_validations_checked_total | +-- xrpld_state_changes_total | +-- xrpld_jq_trans_overflow_total + | +-- xrpld_ledger_history_mismatch_total{reason} + | +-- xrpld_txq_expired_total + | +-- xrpld_txq_dropped_total{reason} | +-- ValidationTracker (validation agreement tracker) | @@ -53,6 +56,7 @@ +-- DB metrics (storage KB, fetch rate) +-- Validator health (amend blocked, UNL, quorum) +-- Peer quality (P90 latency, version spread) + +-- Reduce-relay efficiency (selected/suppressed peers) +-- Ledger economy (fees, reserves, age) +-- State tracking (mode value, time in state) +-- Storage detail (NuDB sizes)