diff --git a/docker/telemetry/otel-collector-config.yaml b/docker/telemetry/otel-collector-config.yaml index c53c5dd1a4..96c44421ec 100644 --- a/docker/telemetry/otel-collector-config.yaml +++ b/docker/telemetry/otel-collector-config.yaml @@ -39,6 +39,18 @@ processors: - key: xrpl.network.type value: mainnet action: insert + # Strip SDK-injected resource attributes (telemetry.sdk.language/name/version). + # The OpenTelemetry SDK auto-adds these to every Resource; they carry no + # operational value and clutter the attribute set on every backend, so drop + # them here for all signals. + resource/stripsdk: + attributes: + - key: telemetry.sdk.language + action: delete + - key: telemetry.sdk.name + action: delete + - key: telemetry.sdk.version + action: delete connectors: spanmetrics: @@ -103,9 +115,9 @@ service: pipelines: traces: receivers: [otlp] - processors: [resource/tier, batch] + processors: [resource/tier, resource/stripsdk, batch] exporters: [debug, otlp/tempo, spanmetrics] metrics: receivers: [otlp, spanmetrics] - processors: [resource/tier] + processors: [resource/tier, resource/stripsdk] exporters: [prometheus]