GitHub user howardyoo added a comment to the discussion: add additional Otel 
traces

Yes, the OTEL_RESOURCE_ATTRIBUTES, will be picked up by tracer provider, as 
long as it exists and available.
I believe there is a way to define specific env variable in Airflow so that it 
can be available globally. Since I'm not a airflow expert, I don't know exactly 
how to do it, but perhaps you may be able to find out via asking in the 
community forum / mailing list. I would also check whether the 
OTEL_RESOURCE_ATTRIBUTES are available during the task's running by printout 
out the env variables, for example, while running a python operator - to verify 
whether it exists.

GitHub link: 
https://github.com/apache/airflow/discussions/48658#discussioncomment-12796938

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to