mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
Grafana Cloud's OTLP ingest already promotes the `service.name` resource attribute to a `service_name` metric label. The `transform/cloudlabels` processor was ALSO setting `service_name` as a datapoint attribute, which Mimir treats as a duplicate label and concatenates as `service_name="xrpld;xrpld"` on every series. Dashboards filtering on `service_name=xrpld` then returned no data. Remove the redundant `set(attributes["service_name"], ...)` line and add a comment documenting the doubling. `service.instance.id` does not exhibit the same behaviour, so that copy is retained for the $node filter to keep resolving. Reintroduces the pre-e76eed5296 shape (which was correct on this label) without reverting that commit's other cloud-label fixes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>