howardyoo opened a new issue, #42424: URL: https://github.com/apache/airflow/issues/42424
### Description # What this is about Currently, OTEL metrics does not support OTEL_RESOURCE_ATTRIBUTES for its metrics being instrumented, which can provide additional details regarding the metrics data being emitted from Airflow. # What is the value Resource attributes are very helpful in describing the details about what the resource is. User who wants to deploy Airflow and make sure to have a specific resource attributes available would make analyzing opentelemetry metrics helpful. A good example of resource attributes are: - organization id - environment - version information - any feature flags, or labels ### Use case/motivation # What needs to be done When OTEL metrics are being initialized, make sure to check the OTEL_RESOURCE_ATTRIBUTES env. variable, and if exists, add them as the metric's resource attributes, so that it can be emitted along with the metrics data. ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
