potiuk commented on a change in pull request #20847:
URL: https://github.com/apache/airflow/pull/20847#discussion_r792796743



##########
File path: airflow/cli/commands/webserver_command.py
##########
@@ -396,6 +395,9 @@ def webserver(args):
             'python:airflow.www.gunicorn_config',
         ]
 
+        if args.opentelemetry:
+            run_args = ['opentelemetry-instrument'] + run_args
+
         if args.access_logfile:
             run_args += ['--access-logfile', str(args.access_logfile)]
 

Review comment:
       This is only needed for webserver (for now) to implement the gunicorn 
workaround.
   
   I tink for now You can add it as `OPENTELEMETRY-READM.md` in the main 
directory of Airflow. We can move it later.




-- 
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]


Reply via email to