_resource_attributes() in otlp_exporter.py built its own hardcoded resource dict (service.name/instance.id/telemetry.scope only) instead of reusing gateway_health_export.py's _runtime_resource_attributes(), which already applies the resource_attributes allowlist from config. Result: operator-configured attributes like deployment.environment.name reached metrics and diagnostic logs but never spans. Span resource building now delegates to the same _runtime_resource_attributes() helper metrics/logs already use, removing the duplicate implementation instead of patching it in place. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cron_health.py | ||
| emitter.py | ||
| events.py | ||
| gateway_health.py | ||
| gateway_health_export.py | ||
| otlp_exporter.py | ||
| policy.py | ||
| redaction.py | ||