mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
Span-derived metrics (span_calls_total, span_duration_milliseconds_*) were emitted at the spanmetrics connector default of 60s. Grafana Cloud stores one datapoint per flush, but dashboard panels use rate(...[$__rate_interval]), whose window at short ranges (<=1h) falls below 60s — leaving <2 samples per window, so those panels rendered "No data" on the Cloud datasource. (Local Prometheus scrapes at 15s, so local dashboards were unaffected.) Set metrics_flush_interval: 15s so every rate window holds >=2 samples at any dashboard range. Trade-off: ~4x span-metric datapoints pushed to Cloud. Native insight metrics (ledgermaster_*, jobq_*, peer_quality) already push faster and were never affected. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>