Skip to content

Commit

Permalink
fix wrong argument (#1702)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrex authored Mar 17, 2021
1 parent f92431e commit 9418013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/examples/auto-instrumentation/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ and run the following command instead:

.. code:: sh
$ opentelemetry-instrument -e console_span python server_uninstrumented.py
$ opentelemetry-instrument --trace-exporter console_span python server_uninstrumented.py
In the console where you previously executed ``client.py``, run the following
command again:
Expand Down
6 changes: 3 additions & 3 deletions opentelemetry-instrumentation/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ Examples

::

opentelemetry-instrument -e otlp flask run --port=3000
opentelemetry-instrument --trace-exporter otlp flask run --port=3000

The above command will pass ``-e otlp`` to the instrument command and ``--port=3000`` to ``flask run``.
The above command will pass ``--trace-exporter otlp`` to the instrument command and ``--port=3000`` to ``flask run``.

::

opentelemetry-instrument -e zipkin,otlp celery -A tasks worker --loglevel=info
opentelemetry-instrument --trace-exporter zipkin,otlp celery -A tasks worker --loglevel=info

The above command will configure global trace provider, attach zipkin and otlp exporters to it and then
start celery with the rest of the arguments.
Expand Down

0 comments on commit 9418013

Please sign in to comment.