howardyoo opened a new issue, #42266: URL: https://github.com/apache/airflow/issues/42266
### Apache Airflow version 2.10.1 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? OTEL metrics support has metric data being emitted, however, the way it is currently instrumented has service.name set up as attributes, not resource attributes, thereby causing the service name to be interpreted incorrectly. ### What you think should happen instead? When metric data are being emitted, it should have the service.name set as resource attributes. ### How to reproduce Run airflow using otel metrics turned on, and observe that metric data being emitted has service.name set as attributes, not as resource attributes (turning on the debugging mode on otel collector also helps) ### Operating System Linux ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit 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]
