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



##########
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:
       You need to add ARGS_OPENTELEMETRY to the webseserver command (the same 
file but way down).
   
   ```
       ActionCommand(
           name='webserver',
   ```
   ....




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