opentelemetry-instrumentation 0.49b1__tar.gz → 0.50b0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/PKG-INFO +3 -4
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/pyproject.toml +1 -1
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/bootstrap_gen.py +58 -50
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/dependencies.py +9 -7
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/instrumentor.py +9 -7
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/version.py +1 -1
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/.gitignore +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/LICENSE +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/README.rst +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/_semconv.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/auto_instrumentation/__init__.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/auto_instrumentation/_load.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/bootstrap.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/distro.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/environment_variables.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/propagators.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/py.typed +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/sqlcommenter_utils.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/src/opentelemetry/instrumentation/utils.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/__init__.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/auto_instrumentation/test_load.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/auto_instrumentation/test_run.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/test_bootstrap.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/test_dependencies.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/test_distro.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/test_instrumentor.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/test_propagators.py +0 -0
- {opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/test_utils.py +0 -0
@@ -1,11 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: opentelemetry-instrumentation
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.50b0
|
4
4
|
Summary: Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python
|
5
5
|
Project-URL: Homepage, https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation
|
6
6
|
Author-email: OpenTelemetry Authors <cncf-opentelemetry-contributors@lists.cncf.io>
|
7
|
-
License
|
8
|
-
License-File: LICENSE
|
7
|
+
License: Apache-2.0
|
9
8
|
Classifier: Development Status :: 4 - Beta
|
10
9
|
Classifier: Intended Audience :: Developers
|
11
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
@@ -18,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.12
|
19
18
|
Requires-Python: >=3.8
|
20
19
|
Requires-Dist: opentelemetry-api~=1.4
|
21
|
-
Requires-Dist: opentelemetry-semantic-conventions==0.
|
20
|
+
Requires-Dist: opentelemetry-semantic-conventions==0.50b0
|
22
21
|
Requires-Dist: packaging>=18.0
|
23
22
|
Requires-Dist: wrapt<2.0.0,>=1.0.0
|
24
23
|
Description-Content-Type: text/x-rst
|
@@ -16,185 +16,193 @@
|
|
16
16
|
# RUN `python scripts/generate_instrumentation_bootstrap.py` TO REGENERATE.
|
17
17
|
|
18
18
|
libraries = [
|
19
|
+
{
|
20
|
+
"library": "openai >= 1.26.0",
|
21
|
+
"instrumentation": "opentelemetry-instrumentation-openai-v2==2.1b0.dev",
|
22
|
+
},
|
19
23
|
{
|
20
24
|
"library": "aio_pika >= 7.2.0, < 10.0.0",
|
21
|
-
"instrumentation": "opentelemetry-instrumentation-aio-pika==0.
|
25
|
+
"instrumentation": "opentelemetry-instrumentation-aio-pika==0.50b0",
|
22
26
|
},
|
23
27
|
{
|
24
28
|
"library": "aiohttp ~= 3.0",
|
25
|
-
"instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.
|
29
|
+
"instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.50b0",
|
26
30
|
},
|
27
31
|
{
|
28
32
|
"library": "aiohttp ~= 3.0",
|
29
|
-
"instrumentation": "opentelemetry-instrumentation-aiohttp-server==0.
|
33
|
+
"instrumentation": "opentelemetry-instrumentation-aiohttp-server==0.50b0",
|
30
34
|
},
|
31
35
|
{
|
32
36
|
"library": "aiokafka >= 0.8, < 1.0",
|
33
|
-
"instrumentation": "opentelemetry-instrumentation-aiokafka==0.
|
37
|
+
"instrumentation": "opentelemetry-instrumentation-aiokafka==0.50b0",
|
34
38
|
},
|
35
39
|
{
|
36
40
|
"library": "aiopg >= 0.13.0, < 2.0.0",
|
37
|
-
"instrumentation": "opentelemetry-instrumentation-aiopg==0.
|
41
|
+
"instrumentation": "opentelemetry-instrumentation-aiopg==0.50b0",
|
38
42
|
},
|
39
43
|
{
|
40
44
|
"library": "asgiref ~= 3.0",
|
41
|
-
"instrumentation": "opentelemetry-instrumentation-asgi==0.
|
45
|
+
"instrumentation": "opentelemetry-instrumentation-asgi==0.50b0",
|
42
46
|
},
|
43
47
|
{
|
44
48
|
"library": "asyncpg >= 0.12.0",
|
45
|
-
"instrumentation": "opentelemetry-instrumentation-asyncpg==0.
|
49
|
+
"instrumentation": "opentelemetry-instrumentation-asyncpg==0.50b0",
|
46
50
|
},
|
47
51
|
{
|
48
52
|
"library": "boto~=2.0",
|
49
|
-
"instrumentation": "opentelemetry-instrumentation-boto==0.
|
53
|
+
"instrumentation": "opentelemetry-instrumentation-boto==0.50b0",
|
50
54
|
},
|
51
55
|
{
|
52
56
|
"library": "boto3 ~= 1.0",
|
53
|
-
"instrumentation": "opentelemetry-instrumentation-boto3sqs==0.
|
57
|
+
"instrumentation": "opentelemetry-instrumentation-boto3sqs==0.50b0",
|
54
58
|
},
|
55
59
|
{
|
56
60
|
"library": "botocore ~= 1.0",
|
57
|
-
"instrumentation": "opentelemetry-instrumentation-botocore==0.
|
61
|
+
"instrumentation": "opentelemetry-instrumentation-botocore==0.50b0",
|
58
62
|
},
|
59
63
|
{
|
60
64
|
"library": "cassandra-driver ~= 3.25",
|
61
|
-
"instrumentation": "opentelemetry-instrumentation-cassandra==0.
|
65
|
+
"instrumentation": "opentelemetry-instrumentation-cassandra==0.50b0",
|
62
66
|
},
|
63
67
|
{
|
64
68
|
"library": "scylla-driver ~= 3.25",
|
65
|
-
"instrumentation": "opentelemetry-instrumentation-cassandra==0.
|
69
|
+
"instrumentation": "opentelemetry-instrumentation-cassandra==0.50b0",
|
66
70
|
},
|
67
71
|
{
|
68
72
|
"library": "celery >= 4.0, < 6.0",
|
69
|
-
"instrumentation": "opentelemetry-instrumentation-celery==0.
|
73
|
+
"instrumentation": "opentelemetry-instrumentation-celery==0.50b0",
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"library": "click >= 8.1.3, < 9.0.0",
|
77
|
+
"instrumentation": "opentelemetry-instrumentation-click==0.50b0",
|
70
78
|
},
|
71
79
|
{
|
72
80
|
"library": "confluent-kafka >= 1.8.2, <= 2.4.0",
|
73
|
-
"instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.
|
81
|
+
"instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.50b0",
|
74
82
|
},
|
75
83
|
{
|
76
84
|
"library": "django >= 1.10",
|
77
|
-
"instrumentation": "opentelemetry-instrumentation-django==0.
|
85
|
+
"instrumentation": "opentelemetry-instrumentation-django==0.50b0",
|
78
86
|
},
|
79
87
|
{
|
80
88
|
"library": "elasticsearch >= 6.0",
|
81
|
-
"instrumentation": "opentelemetry-instrumentation-elasticsearch==0.
|
89
|
+
"instrumentation": "opentelemetry-instrumentation-elasticsearch==0.50b0",
|
82
90
|
},
|
83
91
|
{
|
84
92
|
"library": "falcon >= 1.4.1, < 3.1.2",
|
85
|
-
"instrumentation": "opentelemetry-instrumentation-falcon==0.
|
93
|
+
"instrumentation": "opentelemetry-instrumentation-falcon==0.50b0",
|
86
94
|
},
|
87
95
|
{
|
88
96
|
"library": "fastapi ~= 0.58",
|
89
|
-
"instrumentation": "opentelemetry-instrumentation-fastapi==0.
|
97
|
+
"instrumentation": "opentelemetry-instrumentation-fastapi==0.50b0",
|
90
98
|
},
|
91
99
|
{
|
92
100
|
"library": "flask >= 1.0",
|
93
|
-
"instrumentation": "opentelemetry-instrumentation-flask==0.
|
101
|
+
"instrumentation": "opentelemetry-instrumentation-flask==0.50b0",
|
94
102
|
},
|
95
103
|
{
|
96
104
|
"library": "grpcio >= 1.42.0",
|
97
|
-
"instrumentation": "opentelemetry-instrumentation-grpc==0.
|
105
|
+
"instrumentation": "opentelemetry-instrumentation-grpc==0.50b0",
|
98
106
|
},
|
99
107
|
{
|
100
108
|
"library": "httpx >= 0.18.0",
|
101
|
-
"instrumentation": "opentelemetry-instrumentation-httpx==0.
|
109
|
+
"instrumentation": "opentelemetry-instrumentation-httpx==0.50b0",
|
102
110
|
},
|
103
111
|
{
|
104
112
|
"library": "jinja2 >= 2.7, < 4.0",
|
105
|
-
"instrumentation": "opentelemetry-instrumentation-jinja2==0.
|
113
|
+
"instrumentation": "opentelemetry-instrumentation-jinja2==0.50b0",
|
106
114
|
},
|
107
115
|
{
|
108
116
|
"library": "kafka-python >= 2.0, < 3.0",
|
109
|
-
"instrumentation": "opentelemetry-instrumentation-kafka-python==0.
|
117
|
+
"instrumentation": "opentelemetry-instrumentation-kafka-python==0.50b0",
|
110
118
|
},
|
111
119
|
{
|
112
120
|
"library": "kafka-python-ng >= 2.0, < 3.0",
|
113
|
-
"instrumentation": "opentelemetry-instrumentation-kafka-python==0.
|
121
|
+
"instrumentation": "opentelemetry-instrumentation-kafka-python==0.50b0",
|
114
122
|
},
|
115
123
|
{
|
116
124
|
"library": "mysql-connector-python >= 8.0, < 10.0",
|
117
|
-
"instrumentation": "opentelemetry-instrumentation-mysql==0.
|
125
|
+
"instrumentation": "opentelemetry-instrumentation-mysql==0.50b0",
|
118
126
|
},
|
119
127
|
{
|
120
128
|
"library": "mysqlclient < 3",
|
121
|
-
"instrumentation": "opentelemetry-instrumentation-mysqlclient==0.
|
129
|
+
"instrumentation": "opentelemetry-instrumentation-mysqlclient==0.50b0",
|
122
130
|
},
|
123
131
|
{
|
124
132
|
"library": "pika >= 0.12.0",
|
125
|
-
"instrumentation": "opentelemetry-instrumentation-pika==0.
|
133
|
+
"instrumentation": "opentelemetry-instrumentation-pika==0.50b0",
|
126
134
|
},
|
127
135
|
{
|
128
136
|
"library": "psycopg >= 3.1.0",
|
129
|
-
"instrumentation": "opentelemetry-instrumentation-psycopg==0.
|
137
|
+
"instrumentation": "opentelemetry-instrumentation-psycopg==0.50b0",
|
130
138
|
},
|
131
139
|
{
|
132
140
|
"library": "psycopg2 >= 2.7.3.1",
|
133
|
-
"instrumentation": "opentelemetry-instrumentation-psycopg2==0.
|
141
|
+
"instrumentation": "opentelemetry-instrumentation-psycopg2==0.50b0",
|
134
142
|
},
|
135
143
|
{
|
136
144
|
"library": "pymemcache >= 1.3.5, < 5",
|
137
|
-
"instrumentation": "opentelemetry-instrumentation-pymemcache==0.
|
145
|
+
"instrumentation": "opentelemetry-instrumentation-pymemcache==0.50b0",
|
138
146
|
},
|
139
147
|
{
|
140
148
|
"library": "pymongo >= 3.1, < 5.0",
|
141
|
-
"instrumentation": "opentelemetry-instrumentation-pymongo==0.
|
149
|
+
"instrumentation": "opentelemetry-instrumentation-pymongo==0.50b0",
|
142
150
|
},
|
143
151
|
{
|
144
152
|
"library": "PyMySQL < 2",
|
145
|
-
"instrumentation": "opentelemetry-instrumentation-pymysql==0.
|
153
|
+
"instrumentation": "opentelemetry-instrumentation-pymysql==0.50b0",
|
146
154
|
},
|
147
155
|
{
|
148
156
|
"library": "pyramid >= 1.7",
|
149
|
-
"instrumentation": "opentelemetry-instrumentation-pyramid==0.
|
157
|
+
"instrumentation": "opentelemetry-instrumentation-pyramid==0.50b0",
|
150
158
|
},
|
151
159
|
{
|
152
160
|
"library": "redis >= 2.6",
|
153
|
-
"instrumentation": "opentelemetry-instrumentation-redis==0.
|
161
|
+
"instrumentation": "opentelemetry-instrumentation-redis==0.50b0",
|
154
162
|
},
|
155
163
|
{
|
156
164
|
"library": "remoulade >= 0.50",
|
157
|
-
"instrumentation": "opentelemetry-instrumentation-remoulade==0.
|
165
|
+
"instrumentation": "opentelemetry-instrumentation-remoulade==0.50b0",
|
158
166
|
},
|
159
167
|
{
|
160
168
|
"library": "requests ~= 2.0",
|
161
|
-
"instrumentation": "opentelemetry-instrumentation-requests==0.
|
169
|
+
"instrumentation": "opentelemetry-instrumentation-requests==0.50b0",
|
162
170
|
},
|
163
171
|
{
|
164
172
|
"library": "sqlalchemy >= 1.0.0, < 2.1.0",
|
165
|
-
"instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.
|
173
|
+
"instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.50b0",
|
166
174
|
},
|
167
175
|
{
|
168
176
|
"library": "starlette ~= 0.13.0",
|
169
|
-
"instrumentation": "opentelemetry-instrumentation-starlette==0.
|
177
|
+
"instrumentation": "opentelemetry-instrumentation-starlette==0.50b0",
|
170
178
|
},
|
171
179
|
{
|
172
180
|
"library": "psutil >= 5",
|
173
|
-
"instrumentation": "opentelemetry-instrumentation-system-metrics==0.
|
181
|
+
"instrumentation": "opentelemetry-instrumentation-system-metrics==0.50b0",
|
174
182
|
},
|
175
183
|
{
|
176
184
|
"library": "tornado >= 5.1.1",
|
177
|
-
"instrumentation": "opentelemetry-instrumentation-tornado==0.
|
185
|
+
"instrumentation": "opentelemetry-instrumentation-tornado==0.50b0",
|
178
186
|
},
|
179
187
|
{
|
180
188
|
"library": "tortoise-orm >= 0.17.0",
|
181
|
-
"instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.
|
189
|
+
"instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.50b0",
|
182
190
|
},
|
183
191
|
{
|
184
192
|
"library": "pydantic >= 1.10.2",
|
185
|
-
"instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.
|
193
|
+
"instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.50b0",
|
186
194
|
},
|
187
195
|
{
|
188
196
|
"library": "urllib3 >= 1.0.0, < 3.0.0",
|
189
|
-
"instrumentation": "opentelemetry-instrumentation-urllib3==0.
|
197
|
+
"instrumentation": "opentelemetry-instrumentation-urllib3==0.50b0",
|
190
198
|
},
|
191
199
|
]
|
192
200
|
default_instrumentations = [
|
193
|
-
"opentelemetry-instrumentation-asyncio==0.
|
194
|
-
"opentelemetry-instrumentation-dbapi==0.
|
195
|
-
"opentelemetry-instrumentation-logging==0.
|
196
|
-
"opentelemetry-instrumentation-sqlite3==0.
|
197
|
-
"opentelemetry-instrumentation-threading==0.
|
198
|
-
"opentelemetry-instrumentation-urllib==0.
|
199
|
-
"opentelemetry-instrumentation-wsgi==0.
|
201
|
+
"opentelemetry-instrumentation-asyncio==0.50b0",
|
202
|
+
"opentelemetry-instrumentation-dbapi==0.50b0",
|
203
|
+
"opentelemetry-instrumentation-logging==0.50b0",
|
204
|
+
"opentelemetry-instrumentation-sqlite3==0.50b0",
|
205
|
+
"opentelemetry-instrumentation-threading==0.50b0",
|
206
|
+
"opentelemetry-instrumentation-urllib==0.50b0",
|
207
|
+
"opentelemetry-instrumentation-wsgi==0.50b0",
|
200
208
|
]
|
@@ -12,8 +12,10 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
+
from __future__ import annotations
|
16
|
+
|
15
17
|
from logging import getLogger
|
16
|
-
from typing import Collection
|
18
|
+
from typing import Collection
|
17
19
|
|
18
20
|
from packaging.requirements import InvalidRequirement, Requirement
|
19
21
|
|
@@ -27,10 +29,10 @@ logger = getLogger(__name__)
|
|
27
29
|
|
28
30
|
|
29
31
|
class DependencyConflict:
|
30
|
-
required: str = None
|
31
|
-
found:
|
32
|
+
required: str | None = None
|
33
|
+
found: str | None = None
|
32
34
|
|
33
|
-
def __init__(self, required, found=None):
|
35
|
+
def __init__(self, required: str | None, found: str | None = None):
|
34
36
|
self.required = required
|
35
37
|
self.found = found
|
36
38
|
|
@@ -40,7 +42,7 @@ class DependencyConflict:
|
|
40
42
|
|
41
43
|
def get_dist_dependency_conflicts(
|
42
44
|
dist: Distribution,
|
43
|
-
) ->
|
45
|
+
) -> DependencyConflict | None:
|
44
46
|
instrumentation_deps = []
|
45
47
|
extra = "extra"
|
46
48
|
instruments = "instruments"
|
@@ -57,8 +59,8 @@ def get_dist_dependency_conflicts(
|
|
57
59
|
|
58
60
|
|
59
61
|
def get_dependency_conflicts(
|
60
|
-
deps: Collection[
|
61
|
-
) ->
|
62
|
+
deps: Collection[str | Requirement],
|
63
|
+
) -> DependencyConflict | None:
|
62
64
|
for dep in deps:
|
63
65
|
if isinstance(dep, Requirement):
|
64
66
|
req = dep
|
@@ -17,9 +17,11 @@
|
|
17
17
|
OpenTelemetry Base Instrumentor
|
18
18
|
"""
|
19
19
|
|
20
|
+
from __future__ import annotations
|
21
|
+
|
20
22
|
from abc import ABC, abstractmethod
|
21
23
|
from logging import getLogger
|
22
|
-
from typing import
|
24
|
+
from typing import Any, Collection
|
23
25
|
|
24
26
|
from opentelemetry.instrumentation._semconv import (
|
25
27
|
_OpenTelemetrySemanticConventionStability,
|
@@ -33,7 +35,7 @@ _LOG = getLogger(__name__)
|
|
33
35
|
|
34
36
|
|
35
37
|
class BaseInstrumentor(ABC):
|
36
|
-
"""An ABC for instrumentors
|
38
|
+
"""An ABC for instrumentors.
|
37
39
|
|
38
40
|
Child classes of this ABC should instrument specific third
|
39
41
|
party libraries or frameworks either by using the
|
@@ -74,18 +76,18 @@ class BaseInstrumentor(ABC):
|
|
74
76
|
is present in the environment.
|
75
77
|
"""
|
76
78
|
|
77
|
-
def _instrument(self, **kwargs):
|
79
|
+
def _instrument(self, **kwargs: Any):
|
78
80
|
"""Instrument the library"""
|
79
81
|
|
80
82
|
@abstractmethod
|
81
|
-
def _uninstrument(self, **kwargs):
|
83
|
+
def _uninstrument(self, **kwargs: Any):
|
82
84
|
"""Uninstrument the library"""
|
83
85
|
|
84
|
-
def _check_dependency_conflicts(self) ->
|
86
|
+
def _check_dependency_conflicts(self) -> DependencyConflict | None:
|
85
87
|
dependencies = self.instrumentation_dependencies()
|
86
88
|
return get_dependency_conflicts(dependencies)
|
87
89
|
|
88
|
-
def instrument(self, **kwargs):
|
90
|
+
def instrument(self, **kwargs: Any):
|
89
91
|
"""Instrument the library
|
90
92
|
|
91
93
|
This method will be called without any optional arguments by the
|
@@ -117,7 +119,7 @@ class BaseInstrumentor(ABC):
|
|
117
119
|
self._is_instrumented_by_opentelemetry = True
|
118
120
|
return result
|
119
121
|
|
120
|
-
def uninstrument(self, **kwargs):
|
122
|
+
def uninstrument(self, **kwargs: Any):
|
121
123
|
"""Uninstrument the library
|
122
124
|
|
123
125
|
See ``BaseInstrumentor.instrument`` for more information regarding the
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/test_distro.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{opentelemetry_instrumentation-0.49b1 → opentelemetry_instrumentation-0.50b0}/tests/test_utils.py
RENAMED
File without changes
|