Skip to content

Commit f5a8cc3

Browse files
committed
Rename opentelemetry-auto-instrumentation to opentelemetry-instrumentation,and the console command opentelemetry-auto-instrumentation to opentelemetry-instrument
1 parent c42749a commit f5a8cc3

51 files changed

Lines changed: 107 additions & 104 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/auto_instrumentation/auto_instrumentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
OpenTelemetry Python Autoinstrumentation
22
========================================
33

4-
.. automodule:: opentelemetry.auto_instrumentation
4+
.. automodule:: opentelemetry.instrumentation
55
:members:
66
:undoc-members:
77
:show-inheritance:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
opentelemetry.auto_instrumentation.instrumentor package
1+
opentelemetry.instrumentation.instrumentor package
22
=======================================================
33

4-
.. automodule:: opentelemetry.auto_instrumentation.instrumentor
4+
.. automodule:: opentelemetry.instrumentation.instrumentor
55
:members:
66
:undoc-members:
77
:show-inheritance:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
source_dirs = [
2828
os.path.abspath("../opentelemetry-api/src/"),
2929
os.path.abspath("../opentelemetry-sdk/src/"),
30-
os.path.abspath("../opentelemetry-auto-instrumentation/src/"),
30+
os.path.abspath("../opentelemetry-instrumentation/src/"),
3131
]
3232

3333
ext = "../ext"

docs/examples/auto-instrumentation/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Installation
7272
.. code:: sh
7373
7474
$ pip install opentelemetry-sdk
75-
$ pip install opentelemetry-auto-instrumentation
75+
$ pip install opentelemetry-instrumentation
7676
$ pip install opentelemetry-ext-flask
7777
$ pip install requests
7878
@@ -138,7 +138,7 @@ and run this instead:
138138

139139
.. code:: sh
140140
141-
$ opentelemetry-auto-instrumentation python server_uninstrumented.py
141+
$ opentelemetry-instrumentation python server_uninstrumented.py
142142
143143
In the console where you previously executed ``client.py``, run again
144144
this again:

docs/examples/datadog_exporter/README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Auto-Instrumention Example
4444
pip install opentelemetry-api
4545
pip install opentelemetry-sdk
4646
pip install opentelemetry-ext-datadog
47-
pip install opentelemetry-auto-instrumentation
47+
pip install opentelemetry-instrumentation
4848
pip install opentelemetry-ext-flask
4949
pip install flask
5050
pip install requests
@@ -66,16 +66,16 @@ Auto-Instrumention Example
6666

6767
.. code-block:: sh
6868
69-
opentelemetry-auto-instrumentation python server.py
69+
opentelemetry-instrumentation python server.py
7070
7171
* Run client
7272

7373
.. code-block:: sh
7474
75-
opentelemetry-auto-instrumentation python client.py testing
75+
opentelemetry-instrumentation python client.py testing
7676
7777
* Run client with parameter to raise error
7878

7979
.. code-block:: sh
8080
81-
opentelemetry-auto-instrumentation python client.py error
81+
opentelemetry-instrumentation python client.py error

eachdist.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
sortfirst=
55
opentelemetry-api
66
opentelemetry-sdk
7-
opentelemetry-auto-instrumentation
7+
opentelemetry-instrumentation
88
ext/opentelemetry-ext-wsgi
99
ext/opentelemetry-ext-dbapi
1010
ext/*

ext/opentelemetry-ext-aiohttp-client/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ package_dir=
4040
packages=find_namespace:
4141
install_requires =
4242
opentelemetry-api >= 0.9.dev0
43+
opentelemetry-instrumentation == 0.9.dev0
4344
aiohttp ~= 3.0
4445

4546
[options.packages.find]

ext/opentelemetry-ext-boto/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ packages=find_namespace:
4242
install_requires =
4343
boto ~= 2.0
4444
opentelemetry-api == 0.9.dev0
45-
opentelemetry-auto-instrumentation == 0.9.dev0
45+
opentelemetry-instrumentation == 0.9.dev0
4646

4747
[options.extras_require]
4848
test =

ext/opentelemetry-ext-boto/src/opentelemetry/ext/boto/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Instrument `Boto`_ to trace service requests.
1616
1717
There are two options for instrumenting code. The first option is to use the
18-
``opentelemetry-auto-instrumentation`` executable which will automatically
18+
``opentelemetry-instrumentation`` executable which will automatically
1919
instrument your Boto client. The second is to programmatically enable
2020
instrumentation via the following code:
2121
@@ -50,8 +50,8 @@
5050
from boto.connection import AWSAuthConnection, AWSQueryConnection
5151
from wrapt import ObjectProxy, wrap_function_wrapper
5252

53-
from opentelemetry.auto_instrumentation.instrumentor import BaseInstrumentor
5453
from opentelemetry.ext.boto.version import __version__
54+
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
5555
from opentelemetry.trace import SpanKind, get_tracer
5656

5757
logger = logging.getLogger(__name__)

ext/opentelemetry-ext-dbapi/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ package_dir=
4141
packages=find_namespace:
4242
install_requires =
4343
opentelemetry-api == 0.9.dev0
44+
opentelemetry-instrumentation == 0.9.dev0
4445
wrapt >= 1.0.0, < 2.0.0
4546

4647
[options.extras_require]

0 commit comments

Comments
 (0)