mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
Grafana Cloud ingests metrics via OTLP with no Prometheus scrape, so the tier/instance resource attributes never became series labels the way the local prometheus exporter promotes them. Dashboard $node, $deployment_environment, and $xrpl_network_type filters therefore matched nothing on Cloud (only service_name existed). Split the metrics pipeline: metrics/local keeps the Prometheus exporter (unchanged label promotion), metrics/cloud adds a transform that copies service.instance.id -> exported_instance, deployment.environment -> deployment_environment, and xrpl.network.type -> xrpl_network_type onto datapoint labels so the same dashboards filter correctly on both backends. Also strip telemetry.sdk.* on all pipelines. Validated against otel-collector-contrib 0.121.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>