open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.67k stars 569 forks source link

JaegerExporter incorrectly places resources in attributes #3948

Closed lajxw closed 3 weeks ago

lajxw commented 3 weeks ago

Steps to reproduce Configure and initialize the JaegerExporter using the official OpenTelemetry SDK. Set resources in the configuration. Observe that the resources are placed within attributes instead of being correctly handled as separate resource data.

What is the expected behavior? Resources should be correctly handled and not placed within attributes. They should be treated as distinct entities to ensure proper representation and integrity of trace data.

What is the actual behavior? Resources are incorrectly placed within attributes, leading to potential data misinterpretation and issues in trace analysis.

Additional context

0f54ca38a30e15932304a03cb22fc9ff