mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-15 08:22:25 +00:00
The MetricsRegistry's OTel MeterProvider was missing Resource attributes (service.name, service.instance.id) causing all 6 nodes' metrics to merge into a single "unknown_service" in Prometheus with no exported_instance label for per-node filtering. Additionally, instrument names lacked the rippled_ prefix that dashboards and integration tests expect (e.g. "job_queued_total" should be "rippled_job_queued_total" to match the beast::insight naming convention). Changes: - Add Resource with service.name and service.instance.id to MeterProvider - Prefix all instrument names with rippled_ (counters, histograms, gauges) - Update start() signature to accept instanceId parameter - Pass service_instance_id from [telemetry] config in Application::start() Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>