File tree Expand file tree Collapse file tree
opentelemetry-ext-boto/src/opentelemetry/ext/boto
opentelemetry-ext-sqlalchemy/src/opentelemetry/ext/sqlalchemy
opentelemetry-instrumentation/src/opentelemetry/instrumentation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ and run this instead:
138138
139139.. code :: sh
140140
141- $ opentelemetry-instrumentation python server_uninstrumented.py
141+ $ opentelemetry-instrument python server_uninstrumented.py
142142
143143 In the console where you previously executed ``client.py ``, run again
144144this again:
Original file line number Diff line number Diff line change @@ -66,16 +66,16 @@ Auto-Instrumention Example
6666
6767.. code-block :: sh
6868
69- opentelemetry-instrumentation python server.py
69+ opentelemetry-instrument python server.py
7070
7171 * Run client
7272
7373.. code-block :: sh
7474
75- opentelemetry-instrumentation python client.py testing
75+ opentelemetry-instrument python client.py testing
7676
7777 * Run client with parameter to raise error
7878
7979.. code-block :: sh
8080
81- opentelemetry-instrumentation python client.py error
81+ opentelemetry-instrument python client.py error
Original file line number Diff line number Diff line change 1515Instrument `Boto`_ to trace service requests.
1616
1717There are two options for instrumenting code. The first option is to use the
18- ``opentelemetry-instrumentation `` executable which will automatically
18+ ``opentelemetry-instrument `` executable which will automatically
1919instrument your Boto client. The second is to programmatically enable
2020instrumentation via the following code:
2121
Original file line number Diff line number Diff line change 1616Instrument `sqlalchemy`_ to report SQL queries.
1717
1818There are two options for instrumenting code. The first option is to use
19- the ``opentelemetry-instrumentation `` executable which will automatically
19+ the ``opentelemetry-instrument `` executable which will automatically
2020instrument your SQLAlchemy engine. The second is to programmatically enable
2121instrumentation via the following code:
2222
Original file line number Diff line number Diff line change 1616
1717This package provides a couple of commands that help automatically instruments a program:
1818
19- opentelemetry-instrumentation
19+ opentelemetry-instrument
2020-----------------------------------
2121
2222::
2323
24- opentelemetry-instrumentation python program.py
24+ opentelemetry-instrument python program.py
2525
2626The code in ``program.py`` needs to use one of the packages for which there is
2727an OpenTelemetry integration. For a list of the available integrations please
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class BaseInstrumentor(ABC):
2828
2929 Child classes of this ABC should instrument specific third
3030 party libraries or frameworks either by using the
31- ``opentelemetry-instrumentation `` command or by calling their methods
31+ ``opentelemetry-instrument `` command or by calling their methods
3232 directly.
3333
3434 Since every third party library or framework is different and has different
@@ -58,7 +58,7 @@ def instrument(self, **kwargs):
5858 """Instrument the library
5959
6060 This method will be called without any optional arguments by the
61- ``opentelemetry-instrumentation `` command. The configuration of
61+ ``opentelemetry-instrument `` command. The configuration of
6262 the instrumentation when done in this way should be done by previously
6363 setting the configuration (using environment variables or any other
6464 mechanism) that will be used later by the code in the ``instrument``
@@ -69,7 +69,7 @@ def instrument(self, **kwargs):
6969
7070 This means that calling this method directly without passing any
7171 optional values should do the very same thing that the
72- ``opentelemetry-instrumentation `` command does. This approach is
72+ ``opentelemetry-instrument `` command does. This approach is
7373 followed because the ``Configuration`` object is immutable.
7474 """
7575
You can’t perform that action at this time.
0 commit comments