mxmrlt commented on issue #42424: URL: https://github.com/apache/airflow/issues/42424#issuecomment-2374103765
Glad to read it. I see you're the creator of airflow_otel_provider. Do you know if there is a way to auto-instrument our dags so that spans are created and exported for any custom code like requests calls or kafka publishing etc...? OpenTelemetry should permit that if I'm right (https://opentelemetry.io/docs/zero-code/python/) but perhaps I'm not. This would save us from having to declare manually what you show in the README : ```python RequestsInstrumentor().instrument(tracer_provider=otel_hook.tracer_provider) ``` If you have any other advice on this topic please tell me. Thank you -- 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]
