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 <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-06-04 16:15:20 +01:00
parent 9376aa7c88
commit 6205199dc7

View File

@@ -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)