potiuk commented on a change in pull request #20677:
URL: https://github.com/apache/airflow/pull/20677#discussion_r780962474
##########
File path: airflow/tracer.py
##########
@@ -0,0 +1,23 @@
+from opentelemetry import trace
+from opentelemetry.instrumentation.flask import FlaskInstrumentor
+from opentelemetry.instrumentation.requests import RequestsInstrumentor
+from opentelemetry.exporter.jaeger.thrift import JaegerExporter
+from opentelemetry.sdk.resources import SERVICE_NAME, Resource
+from opentelemetry.sdk.trace import TracerProvider
+from opentelemetry.sdk.trace.export import BatchSpanProcessor
+
+def init(service_name, metric_port):
+ jaeger_exporter = JaegerExporter(
Review comment:
And yeah - another tasks is to integrate Airflow with "services" who
handle OT - (Datadog and others) - so totally Airlfow will be able to connect
to external OT consumers and Jaeger is really there to make it easy to
automatically start development environment.
--
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]