_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 | ||
| test_cron_health_export.py | ||
| test_emitter.py | ||
| test_export_redaction.py | ||
| test_gateway_health_export.py | ||
| test_otlp_exporter.py | ||