potiuk commented on a change in pull request #20847:
URL: https://github.com/apache/airflow/pull/20847#discussion_r783712589
##########
File path: airflow/cli/commands/webserver_command.py
##########
@@ -376,6 +376,7 @@ def webserver(args):
)
run_args = [
+ 'opentelemetry-instrument',
Review comment:
Here. In order to make this more "pluggable" we need to add a flag in
the "webserver" command.
I think an "--open-telemetry" flag would be perfect. And depending on the
flag specified in the webserver, command you would either add or not the
"opentelemetry-instrument".
so "airflow webserver --open-telemetry" would prepend
"opentelemetry-instrument".
--
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]