opentelemetry-instrumentation 0.36b0__py3-none-any.whl → 0.38b0__py3-none-any.whl

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.
@@ -29,7 +29,6 @@ _logger = getLogger(__name__)
29
29
 
30
30
 
31
31
  def run() -> None:
32
-
33
32
  parser = ArgumentParser(
34
33
  description="""
35
34
  opentelemetry-instrument automatically instruments a Python
@@ -57,9 +56,7 @@ def run() -> None:
57
56
  environment_variable_module = entry_point.load()
58
57
 
59
58
  for attribute in dir(environment_variable_module):
60
-
61
59
  if attribute.startswith("OTEL_"):
62
-
63
60
  argument = sub(r"OTEL_(PYTHON_)?", "", attribute).lower()
64
61
 
65
62
  parser.add_argument(
@@ -88,7 +85,6 @@ def run() -> None:
88
85
  ).items():
89
86
  value = getattr(args, argument)
90
87
  if value is not None:
91
-
92
88
  environ[otel_environment_variable] = value
93
89
 
94
90
  python_path = environ.get("PYTHONPATH")
@@ -17,159 +17,159 @@
17
17
 
18
18
  libraries = {
19
19
  "aio_pika": {
20
- "library": "aio_pika ~= 7.2.0",
21
- "instrumentation": "opentelemetry-instrumentation-aio-pika==0.36b0",
20
+ "library": "aio_pika >= 7.2.0, < 10.0.0",
21
+ "instrumentation": "opentelemetry-instrumentation-aio-pika==0.38b0",
22
22
  },
23
23
  "aiohttp": {
24
24
  "library": "aiohttp ~= 3.0",
25
- "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.36b0",
25
+ "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.38b0",
26
26
  },
27
27
  "aiopg": {
28
- "library": "aiopg >= 0.13.0, < 1.3.0",
29
- "instrumentation": "opentelemetry-instrumentation-aiopg==0.36b0",
28
+ "library": "aiopg >= 0.13.0, < 2.0.0",
29
+ "instrumentation": "opentelemetry-instrumentation-aiopg==0.38b0",
30
30
  },
31
31
  "asgiref": {
32
32
  "library": "asgiref ~= 3.0",
33
- "instrumentation": "opentelemetry-instrumentation-asgi==0.36b0",
33
+ "instrumentation": "opentelemetry-instrumentation-asgi==0.38b0",
34
34
  },
35
35
  "asyncpg": {
36
36
  "library": "asyncpg >= 0.12.0",
37
- "instrumentation": "opentelemetry-instrumentation-asyncpg==0.36b0",
37
+ "instrumentation": "opentelemetry-instrumentation-asyncpg==0.38b0",
38
38
  },
39
39
  "boto": {
40
40
  "library": "boto~=2.0",
41
- "instrumentation": "opentelemetry-instrumentation-boto==0.36b0",
41
+ "instrumentation": "opentelemetry-instrumentation-boto==0.38b0",
42
42
  },
43
43
  "boto3": {
44
44
  "library": "boto3 ~= 1.0",
45
- "instrumentation": "opentelemetry-instrumentation-boto3sqs==0.36b0",
45
+ "instrumentation": "opentelemetry-instrumentation-boto3sqs==0.38b0",
46
46
  },
47
47
  "botocore": {
48
48
  "library": "botocore ~= 1.0",
49
- "instrumentation": "opentelemetry-instrumentation-botocore==0.36b0",
49
+ "instrumentation": "opentelemetry-instrumentation-botocore==0.38b0",
50
50
  },
51
51
  "celery": {
52
52
  "library": "celery >= 4.0, < 6.0",
53
- "instrumentation": "opentelemetry-instrumentation-celery==0.36b0",
53
+ "instrumentation": "opentelemetry-instrumentation-celery==0.38b0",
54
54
  },
55
55
  "confluent-kafka": {
56
56
  "library": "confluent-kafka >= 1.8.2, < 2.0.0",
57
- "instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.36b0",
57
+ "instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.38b0",
58
58
  },
59
59
  "django": {
60
60
  "library": "django >= 1.10",
61
- "instrumentation": "opentelemetry-instrumentation-django==0.36b0",
61
+ "instrumentation": "opentelemetry-instrumentation-django==0.38b0",
62
62
  },
63
63
  "elasticsearch": {
64
64
  "library": "elasticsearch >= 2.0",
65
- "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.36b0",
65
+ "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.38b0",
66
66
  },
67
67
  "falcon": {
68
68
  "library": "falcon >= 1.4.1, < 4.0.0",
69
- "instrumentation": "opentelemetry-instrumentation-falcon==0.36b0",
69
+ "instrumentation": "opentelemetry-instrumentation-falcon==0.38b0",
70
70
  },
71
71
  "fastapi": {
72
72
  "library": "fastapi ~= 0.58",
73
- "instrumentation": "opentelemetry-instrumentation-fastapi==0.36b0",
73
+ "instrumentation": "opentelemetry-instrumentation-fastapi==0.38b0",
74
74
  },
75
75
  "flask": {
76
76
  "library": "flask >= 1.0, < 3.0",
77
- "instrumentation": "opentelemetry-instrumentation-flask==0.36b0",
77
+ "instrumentation": "opentelemetry-instrumentation-flask==0.38b0",
78
78
  },
79
79
  "grpcio": {
80
80
  "library": "grpcio ~= 1.27",
81
- "instrumentation": "opentelemetry-instrumentation-grpc==0.36b0",
81
+ "instrumentation": "opentelemetry-instrumentation-grpc==0.38b0",
82
82
  },
83
83
  "httpx": {
84
84
  "library": "httpx >= 0.18.0, <= 0.23.0",
85
- "instrumentation": "opentelemetry-instrumentation-httpx==0.36b0",
85
+ "instrumentation": "opentelemetry-instrumentation-httpx==0.38b0",
86
86
  },
87
87
  "jinja2": {
88
88
  "library": "jinja2 >= 2.7, < 4.0",
89
- "instrumentation": "opentelemetry-instrumentation-jinja2==0.36b0",
89
+ "instrumentation": "opentelemetry-instrumentation-jinja2==0.38b0",
90
90
  },
91
91
  "kafka-python": {
92
92
  "library": "kafka-python >= 2.0",
93
- "instrumentation": "opentelemetry-instrumentation-kafka-python==0.36b0",
93
+ "instrumentation": "opentelemetry-instrumentation-kafka-python==0.38b0",
94
94
  },
95
95
  "mysql-connector-python": {
96
96
  "library": "mysql-connector-python ~= 8.0",
97
- "instrumentation": "opentelemetry-instrumentation-mysql==0.36b0",
97
+ "instrumentation": "opentelemetry-instrumentation-mysql==0.38b0",
98
98
  },
99
99
  "pika": {
100
100
  "library": "pika >= 0.12.0",
101
- "instrumentation": "opentelemetry-instrumentation-pika==0.36b0",
101
+ "instrumentation": "opentelemetry-instrumentation-pika==0.38b0",
102
102
  },
103
103
  "psycopg2": {
104
104
  "library": "psycopg2 >= 2.7.3.1",
105
- "instrumentation": "opentelemetry-instrumentation-psycopg2==0.36b0",
105
+ "instrumentation": "opentelemetry-instrumentation-psycopg2==0.38b0",
106
106
  },
107
107
  "pymemcache": {
108
108
  "library": "pymemcache >= 1.3.5, < 4",
109
- "instrumentation": "opentelemetry-instrumentation-pymemcache==0.36b0",
109
+ "instrumentation": "opentelemetry-instrumentation-pymemcache==0.38b0",
110
110
  },
111
111
  "pymongo": {
112
112
  "library": "pymongo >= 3.1, < 5.0",
113
- "instrumentation": "opentelemetry-instrumentation-pymongo==0.36b0",
113
+ "instrumentation": "opentelemetry-instrumentation-pymongo==0.38b0",
114
114
  },
115
115
  "PyMySQL": {
116
116
  "library": "PyMySQL < 2",
117
- "instrumentation": "opentelemetry-instrumentation-pymysql==0.36b0",
117
+ "instrumentation": "opentelemetry-instrumentation-pymysql==0.38b0",
118
118
  },
119
119
  "pyramid": {
120
120
  "library": "pyramid >= 1.7",
121
- "instrumentation": "opentelemetry-instrumentation-pyramid==0.36b0",
121
+ "instrumentation": "opentelemetry-instrumentation-pyramid==0.38b0",
122
122
  },
123
123
  "redis": {
124
124
  "library": "redis >= 2.6",
125
- "instrumentation": "opentelemetry-instrumentation-redis==0.36b0",
125
+ "instrumentation": "opentelemetry-instrumentation-redis==0.38b0",
126
126
  },
127
127
  "remoulade": {
128
128
  "library": "remoulade >= 0.50",
129
- "instrumentation": "opentelemetry-instrumentation-remoulade==0.36b0",
129
+ "instrumentation": "opentelemetry-instrumentation-remoulade==0.38b0",
130
130
  },
131
131
  "requests": {
132
132
  "library": "requests ~= 2.0",
133
- "instrumentation": "opentelemetry-instrumentation-requests==0.36b0",
133
+ "instrumentation": "opentelemetry-instrumentation-requests==0.38b0",
134
134
  },
135
135
  "scikit-learn": {
136
136
  "library": "scikit-learn ~= 0.24.0",
137
- "instrumentation": "opentelemetry-instrumentation-sklearn==0.36b0",
137
+ "instrumentation": "opentelemetry-instrumentation-sklearn==0.38b0",
138
138
  },
139
139
  "sqlalchemy": {
140
140
  "library": "sqlalchemy",
141
- "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.36b0",
141
+ "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.38b0",
142
142
  },
143
143
  "starlette": {
144
144
  "library": "starlette ~= 0.13.0",
145
- "instrumentation": "opentelemetry-instrumentation-starlette==0.36b0",
145
+ "instrumentation": "opentelemetry-instrumentation-starlette==0.38b0",
146
146
  },
147
147
  "psutil": {
148
148
  "library": "psutil >= 5",
149
- "instrumentation": "opentelemetry-instrumentation-system-metrics==0.36b0",
149
+ "instrumentation": "opentelemetry-instrumentation-system-metrics==0.38b0",
150
150
  },
151
151
  "tornado": {
152
152
  "library": "tornado >= 5.1.1",
153
- "instrumentation": "opentelemetry-instrumentation-tornado==0.36b0",
153
+ "instrumentation": "opentelemetry-instrumentation-tornado==0.38b0",
154
154
  },
155
155
  "tortoise-orm": {
156
156
  "library": "tortoise-orm >= 0.17.0",
157
- "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.36b0",
157
+ "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.38b0",
158
158
  },
159
159
  "pydantic": {
160
160
  "library": "pydantic >= 1.10.2",
161
- "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.36b0",
161
+ "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.38b0",
162
162
  },
163
163
  "urllib3": {
164
164
  "library": "urllib3 >= 1.0.0, < 2.0.0",
165
- "instrumentation": "opentelemetry-instrumentation-urllib3==0.36b0",
165
+ "instrumentation": "opentelemetry-instrumentation-urllib3==0.38b0",
166
166
  },
167
167
  }
168
168
  default_instrumentations = [
169
- "opentelemetry-instrumentation-aws-lambda==0.36b0",
170
- "opentelemetry-instrumentation-dbapi==0.36b0",
171
- "opentelemetry-instrumentation-logging==0.36b0",
172
- "opentelemetry-instrumentation-sqlite3==0.36b0",
173
- "opentelemetry-instrumentation-urllib==0.36b0",
174
- "opentelemetry-instrumentation-wsgi==0.36b0",
169
+ "opentelemetry-instrumentation-aws-lambda==0.38b0",
170
+ "opentelemetry-instrumentation-dbapi==0.38b0",
171
+ "opentelemetry-instrumentation-logging==0.38b0",
172
+ "opentelemetry-instrumentation-sqlite3==0.38b0",
173
+ "opentelemetry-instrumentation-urllib==0.38b0",
174
+ "opentelemetry-instrumentation-wsgi==0.38b0",
175
175
  ]
@@ -46,9 +46,8 @@ class BaseInstrumentor(ABC):
46
46
  _is_instrumented_by_opentelemetry = False
47
47
 
48
48
  def __new__(cls, *args, **kwargs):
49
-
50
49
  if cls._instance is None:
51
- cls._instance = object.__new__(cls, *args, **kwargs)
50
+ cls._instance = object.__new__(cls)
52
51
 
53
52
  return cls._instance
54
53
 
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "0.36b0"
15
+ __version__ = "0.38b0"
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opentelemetry-instrumentation
3
- Version: 0.36b0
3
+ Version: 0.38b0
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-Expression: Apache-2.0
7
8
  License-File: LICENSE
8
9
  Classifier: Development Status :: 4 - Beta
9
10
  Classifier: Intended Audience :: Developers
@@ -1,18 +1,18 @@
1
1
  opentelemetry/instrumentation/bootstrap.py,sha256=xNA7yssrCNOhkm__VoqBQbWHFETPRy_vygK9YDwtKEM,4640
2
- opentelemetry/instrumentation/bootstrap_gen.py,sha256=9cLq-CwIFIehUImMxHiZWPHQ-OOyZ7je90Dlwi8HKDc,6381
2
+ opentelemetry/instrumentation/bootstrap_gen.py,sha256=8x66RvjnlH-huWqcJ3VSAeYHda1vDq7AjZet5oUXZEY,6391
3
3
  opentelemetry/instrumentation/dependencies.py,sha256=ljJ0nMK_vNZXOiCTLOT1nM3xpwmx7LVaW_S53jcRvIY,1798
4
4
  opentelemetry/instrumentation/distro.py,sha256=4TCMpJY169TiYXfaD-9suGv6310_ir_rVuMljC7CVOY,2071
5
5
  opentelemetry/instrumentation/environment_variables.py,sha256=ZiyCMHupPyvFa_5_uZuArg0KJnJvqJRaBGa5rt9aHcU,723
6
- opentelemetry/instrumentation/instrumentor.py,sha256=eRAj7-1D272KOQWZbRUa0LslH83OWUp5RbpAVp78rBY,4301
6
+ opentelemetry/instrumentation/instrumentor.py,sha256=5ojnavXzk4rdML4GHWpC8QeJRwvEJKXCmInGU3Vo2Ww,4283
7
7
  opentelemetry/instrumentation/propagators.py,sha256=eXw5regVrCEk5h1YOwX6Vltll6qVul5V6QIyNJri3-I,4065
8
8
  opentelemetry/instrumentation/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  opentelemetry/instrumentation/sqlcommenter_utils.py,sha256=yV_-hcwy_3ckP76_FC2dOrd8IKi9z_9s980ZMuGYkrE,1960
10
10
  opentelemetry/instrumentation/utils.py,sha256=G5vnhI5-E8anNA18u8bC3S-7WNOp7GlXCU3ibWd9lmU,4865
11
- opentelemetry/instrumentation/version.py,sha256=L1GyyH9aX4auAX7oREcQi0ZYu_Pv_dkqR3WiACtblqQ,608
12
- opentelemetry/instrumentation/auto_instrumentation/__init__.py,sha256=HQVVMM1vLA897PmOq79BvSmuBgfIYfVwU4iLVA6JNT0,3808
11
+ opentelemetry/instrumentation/version.py,sha256=2i-gYpdpXcPBR8dqeYocLRMbbepmgd8kxi6kpKJvyE0,608
12
+ opentelemetry/instrumentation/auto_instrumentation/__init__.py,sha256=7o-VwHQtTwzz_vaLZMHJYm9SY1PC1Xpt0aoNCxbEqXw,3804
13
13
  opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py,sha256=oYztFXaDcwuI0R67rgFsQfxXEp_ctEG69Z7tER0dfgg,4660
14
- opentelemetry_instrumentation-0.36b0.dist-info/METADATA,sha256=Q3cqC8fnfp-w8JCkI27APUdkcG_brqa19uaPo5IZg70,5276
15
- opentelemetry_instrumentation-0.36b0.dist-info/WHEEL,sha256=NaLmgHHW_f9jTvv_wRh9vcK7c7EK9o5fwsIXMOzoGgM,87
16
- opentelemetry_instrumentation-0.36b0.dist-info/entry_points.txt,sha256=iVv3t5REB0O58tFUEQQXYLrTCa1VVOFUXfrbvUk6_aU,279
17
- opentelemetry_instrumentation-0.36b0.dist-info/licenses/LICENSE,sha256=h8jwqxShIeVkc8vOo9ynxGYW16f4fVPxLhZKZs0H5U8,11350
18
- opentelemetry_instrumentation-0.36b0.dist-info/RECORD,,
14
+ opentelemetry_instrumentation-0.38b0.dist-info/METADATA,sha256=U1qaMGbUTTOS9xUoTgykHdDm_5DahJcnGXBKcyi_JFs,5307
15
+ opentelemetry_instrumentation-0.38b0.dist-info/WHEEL,sha256=Fd6mP6ydyRguakwUJ05oBE7fh2IPxgtDN9IwHJ9OqJQ,87
16
+ opentelemetry_instrumentation-0.38b0.dist-info/entry_points.txt,sha256=iVv3t5REB0O58tFUEQQXYLrTCa1VVOFUXfrbvUk6_aU,279
17
+ opentelemetry_instrumentation-0.38b0.dist-info/licenses/LICENSE,sha256=h8jwqxShIeVkc8vOo9ynxGYW16f4fVPxLhZKZs0H5U8,11350
18
+ opentelemetry_instrumentation-0.38b0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.11.1
2
+ Generator: hatchling 1.13.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any