nickstenning commented on code in PR #62436:
URL: https://github.com/apache/airflow/pull/62436#discussion_r2852933375
##########
task-sdk/src/airflow/sdk/configuration.py:
##########
@@ -266,6 +271,13 @@ def initialize_config() -> AirflowSDKConfigParser:
return airflow_config_parser
+provider = TracerProvider()
+exporter = OTLPSpanExporter()
+span_processor = SimpleSpanProcessor(exporter)
Review Comment:
I know we've discussed this, but we should use `BatchSpanProcessor` here and
make sure that there's a `trace.get_tracer_provider().force_flush()` that
happens when a task process exits.
--
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]