You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "howardyoo (via GitHub)" <gi...@apache.org> on 2024/08/29 15:37:03 UTC
[I] Adding DAG import error stack trace as span event in OTEL traces for Airflow [airflow]
howardyoo opened a new issue, #41863:
URL: https://github.com/apache/airflow/issues/41863
### Description
Currently, the Dag file process manger will produce span that will tell you which DAG file has import error (import error count), but does not currently contain any details of why the import error happened (e.g. stack trace). When the file processor processes DAG file, it produces stack trace and store into database, which can later be accessed.
It would be a great feature to:
- when dag process manager processes dag file, it will check for errors
- when the error is detected, it will access the database to attach the stacktrace as part of the span, as span event.
### Use case/motivation
When the dag file process manager encounters import error, it will produce span event containing the relative stack trace so that user does not have to navigate into Airflow UI to see the import error separately.
### 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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Adding DAG import error stack trace as span event in OTEL traces for Airflow [airflow]
Posted by "howardyoo (via GitHub)" <gi...@apache.org>.
howardyoo commented on issue #41863:
URL: https://github.com/apache/airflow/issues/41863#issuecomment-2322299534
Thank you!Sent from my iPhoneOn Aug 30, 2024, at 11:25 AM, Jarek Potiuk ***@***.***> wrote:
Closed #41863 as completed via #41865.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Adding DAG import error stack trace as span event in OTEL traces for Airflow [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #41863: Adding DAG import error stack trace as span event in OTEL traces for Airflow
URL: https://github.com/apache/airflow/issues/41863
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org