File tree 2 files changed +4
-4
lines changed
docs/examples/auto-instrumentation
opentelemetry-instrumentation
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ and run the following command instead:
151
151
152
152
.. code :: sh
153
153
154
- $ opentelemetry-instrument -e console_span python server_uninstrumented.py
154
+ $ opentelemetry-instrument --trace-exporter console_span python server_uninstrumented.py
155
155
156
156
In the console where you previously executed ``client.py ``, run the following
157
157
command again:
Original file line number Diff line number Diff line change @@ -88,13 +88,13 @@ Examples
88
88
89
89
::
90
90
91
- opentelemetry-instrument -e otlp flask run --port=3000
91
+ opentelemetry-instrument --trace-exporter otlp flask run --port=3000
92
92
93
- The above command will pass ``-e otlp `` to the instrument command and ``--port=3000 `` to ``flask run ``.
93
+ The above command will pass ``--trace-exporter otlp `` to the instrument command and ``--port=3000 `` to ``flask run ``.
94
94
95
95
::
96
96
97
- opentelemetry-instrument -e zipkin,otlp celery -A tasks worker --loglevel=info
97
+ opentelemetry-instrument --trace-exporter zipkin,otlp celery -A tasks worker --loglevel=info
98
98
99
99
The above command will configure global trace provider, attach zipkin and otlp exporters to it and then
100
100
start celery with the rest of the arguments.
You can’t perform that action at this time.
0 commit comments