GitHub user praphi-git edited a comment on the discussion: add additional Otel
traces
@howardyoo i've set the environment variables and ran the airflow, it's not
picking up the attributes.
I have tried with sample code using the SDK in the same environment and the
values from OTEL_RESOURCE_ATTRIBUTES
are being picked up. Looks like an issue with Airflow itself. can you check
once ?
For you reference i am sharing the the snippet from sample code used to create
TracerProvider
```
trace.set_tracer_provider(
TracerProvider(
# resource=Resource.create({SERVICE_NAME: "my-hello-service"})
resource=Resource.create()
)
)
```
GitHub link:
https://github.com/apache/airflow/discussions/48658#discussioncomment-12788254
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]