opentelemetry-instrumentation 0.45b0__py3-none-any.whl → 0.47b0__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.
- opentelemetry/instrumentation/_semconv.py +275 -96
- opentelemetry/instrumentation/bootstrap.py +25 -16
- opentelemetry/instrumentation/bootstrap_gen.py +55 -54
- opentelemetry/instrumentation/distro.py +4 -3
- opentelemetry/instrumentation/utils.py +11 -4
- opentelemetry/instrumentation/version.py +1 -1
- {opentelemetry_instrumentation-0.45b0.dist-info → opentelemetry_instrumentation-0.47b0.dist-info}/METADATA +2 -1
- opentelemetry_instrumentation-0.47b0.dist-info/RECORD +20 -0
- {opentelemetry_instrumentation-0.45b0.dist-info → opentelemetry_instrumentation-0.47b0.dist-info}/WHEEL +1 -1
- {opentelemetry_instrumentation-0.45b0.dist-info → opentelemetry_instrumentation-0.47b0.dist-info}/licenses/LICENSE +1 -1
- opentelemetry_instrumentation-0.45b0.dist-info/RECORD +0 -20
- {opentelemetry_instrumentation-0.45b0.dist-info → opentelemetry_instrumentation-0.47b0.dist-info}/entry_points.txt +0 -0
@@ -16,13 +16,38 @@ import os
|
|
16
16
|
import threading
|
17
17
|
from enum import Enum
|
18
18
|
|
19
|
+
from opentelemetry.instrumentation.utils import http_status_to_status_code
|
20
|
+
from opentelemetry.semconv.attributes.client_attributes import (
|
21
|
+
CLIENT_ADDRESS,
|
22
|
+
CLIENT_PORT,
|
23
|
+
)
|
24
|
+
from opentelemetry.semconv.attributes.error_attributes import ERROR_TYPE
|
25
|
+
from opentelemetry.semconv.attributes.http_attributes import (
|
26
|
+
HTTP_REQUEST_METHOD,
|
27
|
+
HTTP_REQUEST_METHOD_ORIGINAL,
|
28
|
+
HTTP_RESPONSE_STATUS_CODE,
|
29
|
+
HTTP_ROUTE,
|
30
|
+
)
|
31
|
+
from opentelemetry.semconv.attributes.network_attributes import (
|
32
|
+
NETWORK_PROTOCOL_VERSION,
|
33
|
+
)
|
34
|
+
from opentelemetry.semconv.attributes.server_attributes import (
|
35
|
+
SERVER_ADDRESS,
|
36
|
+
SERVER_PORT,
|
37
|
+
)
|
38
|
+
from opentelemetry.semconv.attributes.url_attributes import (
|
39
|
+
URL_FULL,
|
40
|
+
URL_PATH,
|
41
|
+
URL_QUERY,
|
42
|
+
URL_SCHEME,
|
43
|
+
)
|
44
|
+
from opentelemetry.semconv.attributes.user_agent_attributes import (
|
45
|
+
USER_AGENT_ORIGINAL,
|
46
|
+
)
|
19
47
|
from opentelemetry.semconv.trace import SpanAttributes
|
48
|
+
from opentelemetry.trace.status import Status, StatusCode
|
20
49
|
|
21
|
-
#
|
22
|
-
_SPAN_ATTRIBUTES_ERROR_TYPE = "error.type"
|
23
|
-
_SPAN_ATTRIBUTES_NETWORK_PEER_ADDRESS = "network.peer.address"
|
24
|
-
_SPAN_ATTRIBUTES_NETWORK_PEER_PORT = "network.peer.port"
|
25
|
-
_METRIC_ATTRIBUTES_CLIENT_DURATION_NAME = "http.client.request.duration"
|
50
|
+
# These lists represent attributes for metrics that are currently supported
|
26
51
|
|
27
52
|
_client_duration_attrs_old = [
|
28
53
|
SpanAttributes.HTTP_STATUS_CODE,
|
@@ -35,23 +60,125 @@ _client_duration_attrs_old = [
|
|
35
60
|
]
|
36
61
|
|
37
62
|
_client_duration_attrs_new = [
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
63
|
+
ERROR_TYPE,
|
64
|
+
HTTP_REQUEST_METHOD,
|
65
|
+
HTTP_RESPONSE_STATUS_CODE,
|
66
|
+
NETWORK_PROTOCOL_VERSION,
|
67
|
+
SERVER_ADDRESS,
|
68
|
+
SERVER_PORT,
|
44
69
|
# TODO: Support opt-in for scheme in new semconv
|
45
|
-
#
|
70
|
+
# URL_SCHEME,
|
46
71
|
]
|
47
72
|
|
73
|
+
_server_duration_attrs_old = [
|
74
|
+
SpanAttributes.HTTP_METHOD,
|
75
|
+
SpanAttributes.HTTP_HOST,
|
76
|
+
SpanAttributes.HTTP_SCHEME,
|
77
|
+
SpanAttributes.HTTP_STATUS_CODE,
|
78
|
+
SpanAttributes.HTTP_FLAVOR,
|
79
|
+
SpanAttributes.HTTP_SERVER_NAME,
|
80
|
+
SpanAttributes.NET_HOST_NAME,
|
81
|
+
SpanAttributes.NET_HOST_PORT,
|
82
|
+
]
|
83
|
+
|
84
|
+
_server_duration_attrs_new = [
|
85
|
+
ERROR_TYPE,
|
86
|
+
HTTP_REQUEST_METHOD,
|
87
|
+
HTTP_RESPONSE_STATUS_CODE,
|
88
|
+
HTTP_ROUTE,
|
89
|
+
NETWORK_PROTOCOL_VERSION,
|
90
|
+
URL_SCHEME,
|
91
|
+
]
|
92
|
+
|
93
|
+
_server_active_requests_count_attrs_old = [
|
94
|
+
SpanAttributes.HTTP_METHOD,
|
95
|
+
SpanAttributes.HTTP_HOST,
|
96
|
+
SpanAttributes.HTTP_SCHEME,
|
97
|
+
SpanAttributes.HTTP_FLAVOR,
|
98
|
+
SpanAttributes.HTTP_SERVER_NAME,
|
99
|
+
]
|
100
|
+
|
101
|
+
_server_active_requests_count_attrs_new = [
|
102
|
+
HTTP_REQUEST_METHOD,
|
103
|
+
URL_SCHEME,
|
104
|
+
# TODO: Support SERVER_ADDRESS AND SERVER_PORT
|
105
|
+
]
|
106
|
+
|
107
|
+
OTEL_SEMCONV_STABILITY_OPT_IN = "OTEL_SEMCONV_STABILITY_OPT_IN"
|
108
|
+
|
48
109
|
|
49
|
-
|
110
|
+
class _OpenTelemetryStabilitySignalType:
|
111
|
+
HTTP = "http"
|
112
|
+
|
113
|
+
|
114
|
+
class _HTTPStabilityMode(Enum):
|
115
|
+
# http - emit the new, stable HTTP and networking conventions ONLY
|
116
|
+
HTTP = "http"
|
117
|
+
# http/dup - emit both the old and the stable HTTP and networking conventions
|
118
|
+
HTTP_DUP = "http/dup"
|
119
|
+
# default - continue emitting old experimental HTTP and networking conventions
|
120
|
+
DEFAULT = "default"
|
121
|
+
|
122
|
+
|
123
|
+
def _report_new(mode):
|
124
|
+
return mode.name != _HTTPStabilityMode.DEFAULT.name
|
125
|
+
|
126
|
+
|
127
|
+
def _report_old(mode):
|
128
|
+
return mode.name != _HTTPStabilityMode.HTTP.name
|
129
|
+
|
130
|
+
|
131
|
+
class _OpenTelemetrySemanticConventionStability:
|
132
|
+
_initialized = False
|
133
|
+
_lock = threading.Lock()
|
134
|
+
_OTEL_SEMCONV_STABILITY_SIGNAL_MAPPING = {}
|
135
|
+
|
136
|
+
@classmethod
|
137
|
+
def _initialize(cls):
|
138
|
+
with _OpenTelemetrySemanticConventionStability._lock:
|
139
|
+
if not _OpenTelemetrySemanticConventionStability._initialized:
|
140
|
+
# Users can pass in comma delimited string for opt-in options
|
141
|
+
# Only values for http stability are supported for now
|
142
|
+
opt_in = os.environ.get(OTEL_SEMCONV_STABILITY_OPT_IN, "")
|
143
|
+
opt_in_list = []
|
144
|
+
if opt_in:
|
145
|
+
opt_in_list = [s.strip() for s in opt_in.split(",")]
|
146
|
+
http_opt_in = _HTTPStabilityMode.DEFAULT
|
147
|
+
if opt_in_list:
|
148
|
+
# Process http opt-in
|
149
|
+
# http/dup takes priority over http
|
150
|
+
if _HTTPStabilityMode.HTTP_DUP.value in opt_in_list:
|
151
|
+
http_opt_in = _HTTPStabilityMode.HTTP_DUP
|
152
|
+
elif _HTTPStabilityMode.HTTP.value in opt_in_list:
|
153
|
+
http_opt_in = _HTTPStabilityMode.HTTP
|
154
|
+
_OpenTelemetrySemanticConventionStability._OTEL_SEMCONV_STABILITY_SIGNAL_MAPPING[
|
155
|
+
_OpenTelemetryStabilitySignalType.HTTP
|
156
|
+
] = http_opt_in
|
157
|
+
_OpenTelemetrySemanticConventionStability._initialized = True
|
158
|
+
|
159
|
+
@classmethod
|
160
|
+
# Get OpenTelemetry opt-in mode based off of signal type (http, messaging, etc.)
|
161
|
+
def _get_opentelemetry_stability_opt_in_mode(
|
162
|
+
cls,
|
163
|
+
signal_type: _OpenTelemetryStabilitySignalType,
|
164
|
+
) -> _HTTPStabilityMode:
|
165
|
+
return _OpenTelemetrySemanticConventionStability._OTEL_SEMCONV_STABILITY_SIGNAL_MAPPING.get(
|
166
|
+
signal_type, _HTTPStabilityMode.DEFAULT
|
167
|
+
)
|
168
|
+
|
169
|
+
|
170
|
+
def _filter_semconv_duration_attrs(
|
171
|
+
attrs,
|
172
|
+
old_attrs,
|
173
|
+
new_attrs,
|
174
|
+
sem_conv_opt_in_mode=_HTTPStabilityMode.DEFAULT,
|
175
|
+
):
|
50
176
|
filtered_attrs = {}
|
177
|
+
# duration is two different metrics depending on sem_conv_opt_in_mode, so no DUP attributes
|
51
178
|
allowed_attributes = (
|
52
|
-
|
53
|
-
if sem_conv_opt_in_mode ==
|
54
|
-
else
|
179
|
+
new_attrs
|
180
|
+
if sem_conv_opt_in_mode == _HTTPStabilityMode.HTTP
|
181
|
+
else old_attrs
|
55
182
|
)
|
56
183
|
for key, val in attrs.items():
|
57
184
|
if key in allowed_attributes:
|
@@ -59,6 +186,24 @@ def _filter_duration_attrs(attrs, sem_conv_opt_in_mode):
|
|
59
186
|
return filtered_attrs
|
60
187
|
|
61
188
|
|
189
|
+
def _filter_semconv_active_request_count_attr(
|
190
|
+
attrs,
|
191
|
+
old_attrs,
|
192
|
+
new_attrs,
|
193
|
+
sem_conv_opt_in_mode=_HTTPStabilityMode.DEFAULT,
|
194
|
+
):
|
195
|
+
filtered_attrs = {}
|
196
|
+
if _report_old(sem_conv_opt_in_mode):
|
197
|
+
for key, val in attrs.items():
|
198
|
+
if key in old_attrs:
|
199
|
+
filtered_attrs[key] = val
|
200
|
+
if _report_new(sem_conv_opt_in_mode):
|
201
|
+
for key, val in attrs.items():
|
202
|
+
if key in new_attrs:
|
203
|
+
filtered_attrs[key] = val
|
204
|
+
return filtered_attrs
|
205
|
+
|
206
|
+
|
62
207
|
def set_string_attribute(result, key, value):
|
63
208
|
if value:
|
64
209
|
result[key] = value
|
@@ -78,140 +223,174 @@ def _set_http_method(result, original, normalized, sem_conv_opt_in_mode):
|
|
78
223
|
# See https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/http-spans.md#common-attributes
|
79
224
|
# Method is case sensitive. "http.request.method_original" should not be sanitized or automatically capitalized.
|
80
225
|
if original != normalized and _report_new(sem_conv_opt_in_mode):
|
81
|
-
set_string_attribute(
|
82
|
-
result, SpanAttributes.HTTP_REQUEST_METHOD_ORIGINAL, original
|
83
|
-
)
|
226
|
+
set_string_attribute(result, HTTP_REQUEST_METHOD_ORIGINAL, original)
|
84
227
|
|
85
228
|
if _report_old(sem_conv_opt_in_mode):
|
86
229
|
set_string_attribute(result, SpanAttributes.HTTP_METHOD, normalized)
|
87
230
|
if _report_new(sem_conv_opt_in_mode):
|
88
|
-
set_string_attribute(
|
89
|
-
|
90
|
-
|
231
|
+
set_string_attribute(result, HTTP_REQUEST_METHOD, normalized)
|
232
|
+
|
233
|
+
|
234
|
+
def _set_http_status_code(result, code, sem_conv_opt_in_mode):
|
235
|
+
if _report_old(sem_conv_opt_in_mode):
|
236
|
+
set_int_attribute(result, SpanAttributes.HTTP_STATUS_CODE, code)
|
237
|
+
if _report_new(sem_conv_opt_in_mode):
|
238
|
+
set_int_attribute(result, HTTP_RESPONSE_STATUS_CODE, code)
|
91
239
|
|
92
240
|
|
93
241
|
def _set_http_url(result, url, sem_conv_opt_in_mode):
|
94
242
|
if _report_old(sem_conv_opt_in_mode):
|
95
243
|
set_string_attribute(result, SpanAttributes.HTTP_URL, url)
|
96
244
|
if _report_new(sem_conv_opt_in_mode):
|
97
|
-
set_string_attribute(result,
|
245
|
+
set_string_attribute(result, URL_FULL, url)
|
98
246
|
|
99
247
|
|
100
248
|
def _set_http_scheme(result, scheme, sem_conv_opt_in_mode):
|
101
249
|
if _report_old(sem_conv_opt_in_mode):
|
102
250
|
set_string_attribute(result, SpanAttributes.HTTP_SCHEME, scheme)
|
103
|
-
|
104
|
-
|
105
|
-
# set_string_attribute(result, SpanAttributes.URL_SCHEME, scheme)
|
251
|
+
if _report_new(sem_conv_opt_in_mode):
|
252
|
+
set_string_attribute(result, URL_SCHEME, scheme)
|
106
253
|
|
107
254
|
|
108
|
-
def
|
255
|
+
def _set_http_host(result, host, sem_conv_opt_in_mode):
|
109
256
|
if _report_old(sem_conv_opt_in_mode):
|
110
|
-
set_string_attribute(result, SpanAttributes.HTTP_HOST,
|
257
|
+
set_string_attribute(result, SpanAttributes.HTTP_HOST, host)
|
111
258
|
if _report_new(sem_conv_opt_in_mode):
|
112
|
-
set_string_attribute(result,
|
259
|
+
set_string_attribute(result, SERVER_ADDRESS, host)
|
260
|
+
|
261
|
+
|
262
|
+
# Client
|
113
263
|
|
114
264
|
|
115
|
-
def
|
265
|
+
def _set_http_net_peer_name_client(result, peer_name, sem_conv_opt_in_mode):
|
116
266
|
if _report_old(sem_conv_opt_in_mode):
|
117
267
|
set_string_attribute(result, SpanAttributes.NET_PEER_NAME, peer_name)
|
118
268
|
if _report_new(sem_conv_opt_in_mode):
|
119
|
-
set_string_attribute(result,
|
269
|
+
set_string_attribute(result, SERVER_ADDRESS, peer_name)
|
120
270
|
|
121
271
|
|
122
|
-
def
|
272
|
+
def _set_http_peer_port_client(result, port, sem_conv_opt_in_mode):
|
123
273
|
if _report_old(sem_conv_opt_in_mode):
|
124
274
|
set_int_attribute(result, SpanAttributes.NET_PEER_PORT, port)
|
125
275
|
if _report_new(sem_conv_opt_in_mode):
|
126
|
-
set_int_attribute(result,
|
276
|
+
set_int_attribute(result, SERVER_PORT, port)
|
127
277
|
|
128
278
|
|
129
|
-
def
|
279
|
+
def _set_http_network_protocol_version(result, version, sem_conv_opt_in_mode):
|
130
280
|
if _report_old(sem_conv_opt_in_mode):
|
131
|
-
|
281
|
+
set_string_attribute(result, SpanAttributes.HTTP_FLAVOR, version)
|
132
282
|
if _report_new(sem_conv_opt_in_mode):
|
133
|
-
|
134
|
-
result, SpanAttributes.HTTP_RESPONSE_STATUS_CODE, code
|
135
|
-
)
|
283
|
+
set_string_attribute(result, NETWORK_PROTOCOL_VERSION, version)
|
136
284
|
|
137
285
|
|
138
|
-
|
286
|
+
# Server
|
287
|
+
|
288
|
+
|
289
|
+
def _set_http_net_host(result, host, sem_conv_opt_in_mode):
|
139
290
|
if _report_old(sem_conv_opt_in_mode):
|
140
|
-
set_string_attribute(result, SpanAttributes.
|
291
|
+
set_string_attribute(result, SpanAttributes.NET_HOST_NAME, host)
|
141
292
|
if _report_new(sem_conv_opt_in_mode):
|
142
|
-
set_string_attribute(
|
143
|
-
result, SpanAttributes.NETWORK_PROTOCOL_VERSION, version
|
144
|
-
)
|
293
|
+
set_string_attribute(result, SERVER_ADDRESS, host)
|
145
294
|
|
146
295
|
|
147
|
-
|
296
|
+
def _set_http_net_host_port(result, port, sem_conv_opt_in_mode):
|
297
|
+
if _report_old(sem_conv_opt_in_mode):
|
298
|
+
set_int_attribute(result, SpanAttributes.NET_HOST_PORT, port)
|
299
|
+
if _report_new(sem_conv_opt_in_mode):
|
300
|
+
set_int_attribute(result, SERVER_PORT, port)
|
148
301
|
|
149
302
|
|
150
|
-
|
151
|
-
|
303
|
+
def _set_http_target(result, target, path, query, sem_conv_opt_in_mode):
|
304
|
+
if _report_old(sem_conv_opt_in_mode):
|
305
|
+
set_string_attribute(result, SpanAttributes.HTTP_TARGET, target)
|
306
|
+
if _report_new(sem_conv_opt_in_mode):
|
307
|
+
if path:
|
308
|
+
set_string_attribute(result, URL_PATH, path)
|
309
|
+
if query:
|
310
|
+
set_string_attribute(result, URL_QUERY, query)
|
152
311
|
|
153
312
|
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
# default - continue emitting old experimental HTTP and networking conventions
|
160
|
-
DEFAULT = "default"
|
313
|
+
def _set_http_peer_ip(result, ip, sem_conv_opt_in_mode):
|
314
|
+
if _report_old(sem_conv_opt_in_mode):
|
315
|
+
set_string_attribute(result, SpanAttributes.NET_PEER_IP, ip)
|
316
|
+
if _report_new(sem_conv_opt_in_mode):
|
317
|
+
set_string_attribute(result, CLIENT_ADDRESS, ip)
|
161
318
|
|
162
319
|
|
163
|
-
def
|
164
|
-
|
320
|
+
def _set_http_peer_port_server(result, port, sem_conv_opt_in_mode):
|
321
|
+
if _report_old(sem_conv_opt_in_mode):
|
322
|
+
set_int_attribute(result, SpanAttributes.NET_PEER_PORT, port)
|
323
|
+
if _report_new(sem_conv_opt_in_mode):
|
324
|
+
set_int_attribute(result, CLIENT_PORT, port)
|
165
325
|
|
166
326
|
|
167
|
-
def
|
168
|
-
|
327
|
+
def _set_http_user_agent(result, user_agent, sem_conv_opt_in_mode):
|
328
|
+
if _report_old(sem_conv_opt_in_mode):
|
329
|
+
set_string_attribute(
|
330
|
+
result, SpanAttributes.HTTP_USER_AGENT, user_agent
|
331
|
+
)
|
332
|
+
if _report_new(sem_conv_opt_in_mode):
|
333
|
+
set_string_attribute(result, USER_AGENT_ORIGINAL, user_agent)
|
169
334
|
|
170
335
|
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
336
|
+
def _set_http_net_peer_name_server(result, name, sem_conv_opt_in_mode):
|
337
|
+
if _report_old(sem_conv_opt_in_mode):
|
338
|
+
set_string_attribute(result, SpanAttributes.NET_PEER_NAME, name)
|
339
|
+
if _report_new(sem_conv_opt_in_mode):
|
340
|
+
set_string_attribute(result, CLIENT_ADDRESS, name)
|
175
341
|
|
176
|
-
@classmethod
|
177
|
-
def _initialize(cls):
|
178
|
-
with _OpenTelemetrySemanticConventionStability._lock:
|
179
|
-
if not _OpenTelemetrySemanticConventionStability._initialized:
|
180
|
-
# Users can pass in comma delimited string for opt-in options
|
181
|
-
# Only values for http stability are supported for now
|
182
|
-
opt_in = os.environ.get(_OTEL_SEMCONV_STABILITY_OPT_IN_KEY, "")
|
183
|
-
opt_in_list = []
|
184
|
-
if opt_in:
|
185
|
-
opt_in_list = [s.strip() for s in opt_in.split(",")]
|
186
|
-
http_opt_in = _OpenTelemetryStabilityMode.DEFAULT
|
187
|
-
if opt_in_list:
|
188
|
-
# Process http opt-in
|
189
|
-
# http/dup takes priority over http
|
190
|
-
if (
|
191
|
-
_OpenTelemetryStabilityMode.HTTP_DUP.value
|
192
|
-
in opt_in_list
|
193
|
-
):
|
194
|
-
http_opt_in = _OpenTelemetryStabilityMode.HTTP_DUP
|
195
|
-
elif _OpenTelemetryStabilityMode.HTTP.value in opt_in_list:
|
196
|
-
http_opt_in = _OpenTelemetryStabilityMode.HTTP
|
197
|
-
_OpenTelemetrySemanticConventionStability._OTEL_SEMCONV_STABILITY_SIGNAL_MAPPING[
|
198
|
-
_OpenTelemetryStabilitySignalType.HTTP
|
199
|
-
] = http_opt_in
|
200
|
-
_OpenTelemetrySemanticConventionStability._initialized = True
|
201
342
|
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
343
|
+
def _set_http_flavor_version(result, version, sem_conv_opt_in_mode):
|
344
|
+
if _report_old(sem_conv_opt_in_mode):
|
345
|
+
set_string_attribute(result, SpanAttributes.HTTP_FLAVOR, version)
|
346
|
+
if _report_new(sem_conv_opt_in_mode):
|
347
|
+
set_string_attribute(result, NETWORK_PROTOCOL_VERSION, version)
|
348
|
+
|
349
|
+
|
350
|
+
def _set_status(
|
351
|
+
span,
|
352
|
+
metrics_attributes: dict,
|
353
|
+
status_code: int,
|
354
|
+
status_code_str: str,
|
355
|
+
server_span: bool = True,
|
356
|
+
sem_conv_opt_in_mode: _HTTPStabilityMode = _HTTPStabilityMode.DEFAULT,
|
357
|
+
):
|
358
|
+
if status_code < 0:
|
359
|
+
metrics_attributes[ERROR_TYPE] = status_code_str
|
360
|
+
if span.is_recording():
|
361
|
+
if _report_new(sem_conv_opt_in_mode):
|
362
|
+
span.set_attribute(ERROR_TYPE, status_code_str)
|
363
|
+
span.set_status(
|
364
|
+
Status(
|
365
|
+
StatusCode.ERROR,
|
366
|
+
"Non-integer HTTP status: " + status_code_str,
|
367
|
+
)
|
368
|
+
)
|
369
|
+
else:
|
370
|
+
status = http_status_to_status_code(
|
371
|
+
status_code, server_span=server_span
|
210
372
|
)
|
211
373
|
|
374
|
+
if _report_old(sem_conv_opt_in_mode):
|
375
|
+
if span.is_recording():
|
376
|
+
span.set_attribute(
|
377
|
+
SpanAttributes.HTTP_STATUS_CODE, status_code
|
378
|
+
)
|
379
|
+
metrics_attributes[SpanAttributes.HTTP_STATUS_CODE] = status_code
|
380
|
+
if _report_new(sem_conv_opt_in_mode):
|
381
|
+
if span.is_recording():
|
382
|
+
span.set_attribute(HTTP_RESPONSE_STATUS_CODE, status_code)
|
383
|
+
metrics_attributes[HTTP_RESPONSE_STATUS_CODE] = status_code
|
384
|
+
if status == StatusCode.ERROR:
|
385
|
+
if span.is_recording():
|
386
|
+
span.set_attribute(ERROR_TYPE, status_code_str)
|
387
|
+
metrics_attributes[ERROR_TYPE] = status_code_str
|
388
|
+
if span.is_recording():
|
389
|
+
span.set_status(Status(status))
|
390
|
+
|
212
391
|
|
213
392
|
# Get schema version based off of opt-in mode
|
214
|
-
def _get_schema_url(mode:
|
215
|
-
if mode is
|
393
|
+
def _get_schema_url(mode: _HTTPStabilityMode) -> str:
|
394
|
+
if mode is _HTTPStabilityMode.DEFAULT:
|
216
395
|
return "https://opentelemetry.io/schemas/1.11.0"
|
217
396
|
return SpanAttributes.SCHEMA_URL
|
@@ -14,8 +14,14 @@
|
|
14
14
|
|
15
15
|
import argparse
|
16
16
|
import logging
|
17
|
-
import subprocess
|
18
17
|
import sys
|
18
|
+
from subprocess import (
|
19
|
+
PIPE,
|
20
|
+
CalledProcessError,
|
21
|
+
Popen,
|
22
|
+
SubprocessError,
|
23
|
+
check_call,
|
24
|
+
)
|
19
25
|
|
20
26
|
import pkg_resources
|
21
27
|
|
@@ -34,7 +40,7 @@ def _syscall(func):
|
|
34
40
|
if package:
|
35
41
|
return func(package)
|
36
42
|
return func()
|
37
|
-
except
|
43
|
+
except SubprocessError as exp:
|
38
44
|
cmd = getattr(exp, "cmd", None)
|
39
45
|
if cmd:
|
40
46
|
msg = f'Error calling system command "{" ".join(cmd)}"'
|
@@ -48,18 +54,21 @@ def _syscall(func):
|
|
48
54
|
@_syscall
|
49
55
|
def _sys_pip_install(package):
|
50
56
|
# explicit upgrade strategy to override potential pip config
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
57
|
+
try:
|
58
|
+
check_call(
|
59
|
+
[
|
60
|
+
sys.executable,
|
61
|
+
"-m",
|
62
|
+
"pip",
|
63
|
+
"install",
|
64
|
+
"-U",
|
65
|
+
"--upgrade-strategy",
|
66
|
+
"only-if-needed",
|
67
|
+
package,
|
68
|
+
]
|
69
|
+
)
|
70
|
+
except CalledProcessError as error:
|
71
|
+
print(error)
|
63
72
|
|
64
73
|
|
65
74
|
def _pip_check():
|
@@ -70,8 +79,8 @@ def _pip_check():
|
|
70
79
|
'opentelemetry-instrumentation-flask 1.0.1 has requirement opentelemetry-sdk<2.0,>=1.0, but you have opentelemetry-sdk 0.5.'
|
71
80
|
To not be too restrictive, we'll only check for relevant packages.
|
72
81
|
"""
|
73
|
-
with
|
74
|
-
[sys.executable, "-m", "pip", "check"], stdout=
|
82
|
+
with Popen(
|
83
|
+
[sys.executable, "-m", "pip", "check"], stdout=PIPE
|
75
84
|
) as check_pipe:
|
76
85
|
pip_check = check_pipe.communicate()[0].decode()
|
77
86
|
pip_check_lower = pip_check.lower()
|
@@ -18,179 +18,180 @@
|
|
18
18
|
libraries = [
|
19
19
|
{
|
20
20
|
"library": "aio_pika >= 7.2.0, < 10.0.0",
|
21
|
-
"instrumentation": "opentelemetry-instrumentation-aio-pika==0.
|
21
|
+
"instrumentation": "opentelemetry-instrumentation-aio-pika==0.47b0",
|
22
22
|
},
|
23
23
|
{
|
24
24
|
"library": "aiohttp ~= 3.0",
|
25
|
-
"instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.
|
25
|
+
"instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.47b0",
|
26
26
|
},
|
27
27
|
{
|
28
28
|
"library": "aiohttp ~= 3.0",
|
29
|
-
"instrumentation": "opentelemetry-instrumentation-aiohttp-server==0.
|
29
|
+
"instrumentation": "opentelemetry-instrumentation-aiohttp-server==0.47b0",
|
30
30
|
},
|
31
31
|
{
|
32
32
|
"library": "aiopg >= 0.13.0, < 2.0.0",
|
33
|
-
"instrumentation": "opentelemetry-instrumentation-aiopg==0.
|
33
|
+
"instrumentation": "opentelemetry-instrumentation-aiopg==0.47b0",
|
34
34
|
},
|
35
35
|
{
|
36
36
|
"library": "asgiref ~= 3.0",
|
37
|
-
"instrumentation": "opentelemetry-instrumentation-asgi==0.
|
37
|
+
"instrumentation": "opentelemetry-instrumentation-asgi==0.47b0",
|
38
38
|
},
|
39
39
|
{
|
40
40
|
"library": "asyncpg >= 0.12.0",
|
41
|
-
"instrumentation": "opentelemetry-instrumentation-asyncpg==0.
|
41
|
+
"instrumentation": "opentelemetry-instrumentation-asyncpg==0.47b0",
|
42
42
|
},
|
43
43
|
{
|
44
44
|
"library": "boto~=2.0",
|
45
|
-
"instrumentation": "opentelemetry-instrumentation-boto==0.
|
45
|
+
"instrumentation": "opentelemetry-instrumentation-boto==0.47b0",
|
46
46
|
},
|
47
47
|
{
|
48
48
|
"library": "boto3 ~= 1.0",
|
49
|
-
"instrumentation": "opentelemetry-instrumentation-boto3sqs==0.
|
49
|
+
"instrumentation": "opentelemetry-instrumentation-boto3sqs==0.47b0",
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"library": "botocore ~= 1.0",
|
53
|
-
"instrumentation": "opentelemetry-instrumentation-botocore==0.
|
53
|
+
"instrumentation": "opentelemetry-instrumentation-botocore==0.47b0",
|
54
54
|
},
|
55
55
|
{
|
56
56
|
"library": "cassandra-driver ~= 3.25",
|
57
|
-
"instrumentation": "opentelemetry-instrumentation-cassandra==0.
|
57
|
+
"instrumentation": "opentelemetry-instrumentation-cassandra==0.47b0",
|
58
58
|
},
|
59
59
|
{
|
60
60
|
"library": "scylla-driver ~= 3.25",
|
61
|
-
"instrumentation": "opentelemetry-instrumentation-cassandra==0.
|
61
|
+
"instrumentation": "opentelemetry-instrumentation-cassandra==0.47b0",
|
62
62
|
},
|
63
63
|
{
|
64
64
|
"library": "celery >= 4.0, < 6.0",
|
65
|
-
"instrumentation": "opentelemetry-instrumentation-celery==0.
|
65
|
+
"instrumentation": "opentelemetry-instrumentation-celery==0.47b0",
|
66
66
|
},
|
67
67
|
{
|
68
|
-
"library": "confluent-kafka >= 1.8.2, <= 2.
|
69
|
-
"instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.
|
68
|
+
"library": "confluent-kafka >= 1.8.2, <= 2.4.0",
|
69
|
+
"instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.47b0",
|
70
70
|
},
|
71
71
|
{
|
72
72
|
"library": "django >= 1.10",
|
73
|
-
"instrumentation": "opentelemetry-instrumentation-django==0.
|
73
|
+
"instrumentation": "opentelemetry-instrumentation-django==0.47b0",
|
74
74
|
},
|
75
75
|
{
|
76
|
-
"library": "elasticsearch >=
|
77
|
-
"instrumentation": "opentelemetry-instrumentation-elasticsearch==0.
|
76
|
+
"library": "elasticsearch >= 6.0",
|
77
|
+
"instrumentation": "opentelemetry-instrumentation-elasticsearch==0.47b0",
|
78
78
|
},
|
79
79
|
{
|
80
80
|
"library": "falcon >= 1.4.1, < 3.1.2",
|
81
|
-
"instrumentation": "opentelemetry-instrumentation-falcon==0.
|
81
|
+
"instrumentation": "opentelemetry-instrumentation-falcon==0.47b0",
|
82
82
|
},
|
83
83
|
{
|
84
84
|
"library": "fastapi ~= 0.58",
|
85
|
-
"instrumentation": "opentelemetry-instrumentation-fastapi==0.
|
85
|
+
"instrumentation": "opentelemetry-instrumentation-fastapi==0.47b0",
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"library": "fastapi-slim ~= 0.111.0",
|
89
|
+
"instrumentation": "opentelemetry-instrumentation-fastapi==0.47b0",
|
86
90
|
},
|
87
91
|
{
|
88
92
|
"library": "flask >= 1.0",
|
89
|
-
"instrumentation": "opentelemetry-instrumentation-flask==0.
|
93
|
+
"instrumentation": "opentelemetry-instrumentation-flask==0.47b0",
|
90
94
|
},
|
91
95
|
{
|
92
96
|
"library": "grpcio ~= 1.27",
|
93
|
-
"instrumentation": "opentelemetry-instrumentation-grpc==0.
|
97
|
+
"instrumentation": "opentelemetry-instrumentation-grpc==0.47b0",
|
94
98
|
},
|
95
99
|
{
|
96
100
|
"library": "httpx >= 0.18.0",
|
97
|
-
"instrumentation": "opentelemetry-instrumentation-httpx==0.
|
101
|
+
"instrumentation": "opentelemetry-instrumentation-httpx==0.47b0",
|
98
102
|
},
|
99
103
|
{
|
100
104
|
"library": "jinja2 >= 2.7, < 4.0",
|
101
|
-
"instrumentation": "opentelemetry-instrumentation-jinja2==0.
|
105
|
+
"instrumentation": "opentelemetry-instrumentation-jinja2==0.47b0",
|
102
106
|
},
|
103
107
|
{
|
104
108
|
"library": "kafka-python >= 2.0",
|
105
|
-
"instrumentation": "opentelemetry-instrumentation-kafka-python==0.
|
109
|
+
"instrumentation": "opentelemetry-instrumentation-kafka-python==0.47b0",
|
106
110
|
},
|
107
111
|
{
|
108
112
|
"library": "mysql-connector-python ~= 8.0",
|
109
|
-
"instrumentation": "opentelemetry-instrumentation-mysql==0.
|
113
|
+
"instrumentation": "opentelemetry-instrumentation-mysql==0.47b0",
|
110
114
|
},
|
111
115
|
{
|
112
116
|
"library": "mysqlclient < 3",
|
113
|
-
"instrumentation": "opentelemetry-instrumentation-mysqlclient==0.
|
117
|
+
"instrumentation": "opentelemetry-instrumentation-mysqlclient==0.47b0",
|
114
118
|
},
|
115
119
|
{
|
116
120
|
"library": "pika >= 0.12.0",
|
117
|
-
"instrumentation": "opentelemetry-instrumentation-pika==0.
|
121
|
+
"instrumentation": "opentelemetry-instrumentation-pika==0.47b0",
|
118
122
|
},
|
119
123
|
{
|
120
124
|
"library": "psycopg >= 3.1.0",
|
121
|
-
"instrumentation": "opentelemetry-instrumentation-psycopg==0.
|
125
|
+
"instrumentation": "opentelemetry-instrumentation-psycopg==0.47b0",
|
122
126
|
},
|
123
127
|
{
|
124
128
|
"library": "psycopg2 >= 2.7.3.1",
|
125
|
-
"instrumentation": "opentelemetry-instrumentation-psycopg2==0.
|
129
|
+
"instrumentation": "opentelemetry-instrumentation-psycopg2==0.47b0",
|
126
130
|
},
|
127
131
|
{
|
128
132
|
"library": "pymemcache >= 1.3.5, < 5",
|
129
|
-
"instrumentation": "opentelemetry-instrumentation-pymemcache==0.
|
133
|
+
"instrumentation": "opentelemetry-instrumentation-pymemcache==0.47b0",
|
130
134
|
},
|
131
135
|
{
|
132
136
|
"library": "pymongo >= 3.1, < 5.0",
|
133
|
-
"instrumentation": "opentelemetry-instrumentation-pymongo==0.
|
137
|
+
"instrumentation": "opentelemetry-instrumentation-pymongo==0.47b0",
|
134
138
|
},
|
135
139
|
{
|
136
140
|
"library": "PyMySQL < 2",
|
137
|
-
"instrumentation": "opentelemetry-instrumentation-pymysql==0.
|
141
|
+
"instrumentation": "opentelemetry-instrumentation-pymysql==0.47b0",
|
138
142
|
},
|
139
143
|
{
|
140
144
|
"library": "pyramid >= 1.7",
|
141
|
-
"instrumentation": "opentelemetry-instrumentation-pyramid==0.
|
145
|
+
"instrumentation": "opentelemetry-instrumentation-pyramid==0.47b0",
|
142
146
|
},
|
143
147
|
{
|
144
148
|
"library": "redis >= 2.6",
|
145
|
-
"instrumentation": "opentelemetry-instrumentation-redis==0.
|
149
|
+
"instrumentation": "opentelemetry-instrumentation-redis==0.47b0",
|
146
150
|
},
|
147
151
|
{
|
148
152
|
"library": "remoulade >= 0.50",
|
149
|
-
"instrumentation": "opentelemetry-instrumentation-remoulade==0.
|
153
|
+
"instrumentation": "opentelemetry-instrumentation-remoulade==0.47b0",
|
150
154
|
},
|
151
155
|
{
|
152
156
|
"library": "requests ~= 2.0",
|
153
|
-
"instrumentation": "opentelemetry-instrumentation-requests==0.
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"library": "scikit-learn ~= 0.24.0",
|
157
|
-
"instrumentation": "opentelemetry-instrumentation-sklearn==0.45b0",
|
157
|
+
"instrumentation": "opentelemetry-instrumentation-requests==0.47b0",
|
158
158
|
},
|
159
159
|
{
|
160
160
|
"library": "sqlalchemy",
|
161
|
-
"instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.
|
161
|
+
"instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.47b0",
|
162
162
|
},
|
163
163
|
{
|
164
164
|
"library": "starlette ~= 0.13.0",
|
165
|
-
"instrumentation": "opentelemetry-instrumentation-starlette==0.
|
165
|
+
"instrumentation": "opentelemetry-instrumentation-starlette==0.47b0",
|
166
166
|
},
|
167
167
|
{
|
168
168
|
"library": "psutil >= 5",
|
169
|
-
"instrumentation": "opentelemetry-instrumentation-system-metrics==0.
|
169
|
+
"instrumentation": "opentelemetry-instrumentation-system-metrics==0.47b0",
|
170
170
|
},
|
171
171
|
{
|
172
172
|
"library": "tornado >= 5.1.1",
|
173
|
-
"instrumentation": "opentelemetry-instrumentation-tornado==0.
|
173
|
+
"instrumentation": "opentelemetry-instrumentation-tornado==0.47b0",
|
174
174
|
},
|
175
175
|
{
|
176
176
|
"library": "tortoise-orm >= 0.17.0",
|
177
|
-
"instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.
|
177
|
+
"instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.47b0",
|
178
178
|
},
|
179
179
|
{
|
180
180
|
"library": "pydantic >= 1.10.2",
|
181
|
-
"instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.
|
181
|
+
"instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.47b0",
|
182
182
|
},
|
183
183
|
{
|
184
184
|
"library": "urllib3 >= 1.0.0, < 3.0.0",
|
185
|
-
"instrumentation": "opentelemetry-instrumentation-urllib3==0.
|
185
|
+
"instrumentation": "opentelemetry-instrumentation-urllib3==0.47b0",
|
186
186
|
},
|
187
187
|
]
|
188
188
|
default_instrumentations = [
|
189
|
-
"opentelemetry-instrumentation-asyncio==0.
|
190
|
-
"opentelemetry-instrumentation-aws-lambda==0.
|
191
|
-
"opentelemetry-instrumentation-dbapi==0.
|
192
|
-
"opentelemetry-instrumentation-logging==0.
|
193
|
-
"opentelemetry-instrumentation-sqlite3==0.
|
194
|
-
"opentelemetry-instrumentation-
|
195
|
-
"opentelemetry-instrumentation-
|
189
|
+
"opentelemetry-instrumentation-asyncio==0.47b0",
|
190
|
+
"opentelemetry-instrumentation-aws-lambda==0.47b0",
|
191
|
+
"opentelemetry-instrumentation-dbapi==0.47b0",
|
192
|
+
"opentelemetry-instrumentation-logging==0.47b0",
|
193
|
+
"opentelemetry-instrumentation-sqlite3==0.47b0",
|
194
|
+
"opentelemetry-instrumentation-threading==0.47b0",
|
195
|
+
"opentelemetry-instrumentation-urllib==0.47b0",
|
196
|
+
"opentelemetry-instrumentation-wsgi==0.47b0",
|
196
197
|
]
|
@@ -50,9 +50,10 @@ class BaseDistro(ABC):
|
|
50
50
|
def load_instrumentor( # pylint: disable=no-self-use
|
51
51
|
self, entry_point: EntryPoint, **kwargs
|
52
52
|
):
|
53
|
-
"""Takes
|
54
|
-
and
|
55
|
-
|
53
|
+
"""Takes an instrumentation entry point and activates it by instantiating
|
54
|
+
and calling instrument() on it.
|
55
|
+
This is called for each opentelemetry_instrumentor entry point by auto
|
56
|
+
instrumentation.
|
56
57
|
|
57
58
|
Distros can override this method to customize the behavior by
|
58
59
|
inspecting each entry point and configuring them in special ways,
|
@@ -37,6 +37,10 @@ from opentelemetry.trace.propagation.tracecontext import (
|
|
37
37
|
|
38
38
|
propagator = TraceContextTextMapPropagator()
|
39
39
|
|
40
|
+
_SUPPRESS_INSTRUMENTATION_KEY_PLAIN = (
|
41
|
+
"suppress_instrumentation" # Set for backward compatibility
|
42
|
+
)
|
43
|
+
|
40
44
|
|
41
45
|
def extract_attributes_from_object(
|
42
46
|
obj: any, attributes: Sequence[str], existing: Dict[str, str] = None
|
@@ -161,9 +165,10 @@ def _python_path_without_directory(python_path, directory, path_separator):
|
|
161
165
|
|
162
166
|
|
163
167
|
def is_instrumentation_enabled() -> bool:
|
164
|
-
|
165
|
-
|
166
|
-
|
168
|
+
return not (
|
169
|
+
context.get_value(_SUPPRESS_INSTRUMENTATION_KEY)
|
170
|
+
or context.get_value(_SUPPRESS_INSTRUMENTATION_KEY_PLAIN)
|
171
|
+
)
|
167
172
|
|
168
173
|
|
169
174
|
def is_http_instrumentation_enabled() -> bool:
|
@@ -188,7 +193,9 @@ def _suppress_instrumentation(*keys: str) -> Iterable[None]:
|
|
188
193
|
@contextmanager
|
189
194
|
def suppress_instrumentation() -> Iterable[None]:
|
190
195
|
"""Suppress instrumentation within the context."""
|
191
|
-
with _suppress_instrumentation(
|
196
|
+
with _suppress_instrumentation(
|
197
|
+
_SUPPRESS_INSTRUMENTATION_KEY, _SUPPRESS_INSTRUMENTATION_KEY_PLAIN
|
198
|
+
):
|
192
199
|
yield
|
193
200
|
|
194
201
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: opentelemetry-instrumentation
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.47b0
|
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>
|
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.9
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
18
19
|
Requires-Python: >=3.8
|
19
20
|
Requires-Dist: opentelemetry-api~=1.4
|
20
21
|
Requires-Dist: setuptools>=16.0
|
@@ -0,0 +1,20 @@
|
|
1
|
+
opentelemetry/instrumentation/_semconv.py,sha256=zexTZwIY9qhUzmdMwVdvnP96B_L88CRZehl3SqbKyuc,13679
|
2
|
+
opentelemetry/instrumentation/bootstrap.py,sha256=J_sUXmcnUGXXj0ySJ1KxGcr-nmfDP7-S_N3vHqjLecY,4725
|
3
|
+
opentelemetry/instrumentation/bootstrap_gen.py,sha256=FFap1VKz1o1lq2SpkxPyRd8sJkXx32chqfXlVQ-L540,6704
|
4
|
+
opentelemetry/instrumentation/dependencies.py,sha256=ljJ0nMK_vNZXOiCTLOT1nM3xpwmx7LVaW_S53jcRvIY,1798
|
5
|
+
opentelemetry/instrumentation/distro.py,sha256=vCvt0pHLtL3OF1m7MVyPUkK4UfoZN6-Vj7JCc6XLbwc,2145
|
6
|
+
opentelemetry/instrumentation/environment_variables.py,sha256=oRcbNSSbnqJMQ3r4gBhK6jqtuI5WizapP962Z8DrVZ8,905
|
7
|
+
opentelemetry/instrumentation/instrumentor.py,sha256=0r527qBsl-fPAVXPM3iu_k94omLN5MStOFmuAqpD_Zo,4509
|
8
|
+
opentelemetry/instrumentation/propagators.py,sha256=hBkG70KlMUiTjxPeiyOhkb_eE96DRVzRyY4fEIzMqD4,4070
|
9
|
+
opentelemetry/instrumentation/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
+
opentelemetry/instrumentation/sqlcommenter_utils.py,sha256=yV_-hcwy_3ckP76_FC2dOrd8IKi9z_9s980ZMuGYkrE,1960
|
11
|
+
opentelemetry/instrumentation/utils.py,sha256=5j6HYS00vpf5EeNHHYIpys1TZn9V-hnM6Hj2qQdPRG4,6339
|
12
|
+
opentelemetry/instrumentation/version.py,sha256=6FmWdr2KRW0MGpqEO5NBzLrm6URCtz_6ixXi_ALh6JA,608
|
13
|
+
opentelemetry/instrumentation/auto_instrumentation/__init__.py,sha256=en-gz8Qg6JlGR6XnFF0TYBElVUGMGNo3FtnB0GBJfA0,3780
|
14
|
+
opentelemetry/instrumentation/auto_instrumentation/_load.py,sha256=RDFVxFJ2NR02i8_MFc2FJFxRQjsvjX8f1H2N7ZMF5V0,4794
|
15
|
+
opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py,sha256=p3cz9NlKNlnzxc7guFSPyztx8XMUteAxkN1NFYXSH-0,1449
|
16
|
+
opentelemetry_instrumentation-0.47b0.dist-info/METADATA,sha256=GuxCSAJOongEM4JWciogmZYVmD5nFh7L347AKWo7wIQ,6115
|
17
|
+
opentelemetry_instrumentation-0.47b0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
18
|
+
opentelemetry_instrumentation-0.47b0.dist-info/entry_points.txt,sha256=iVv3t5REB0O58tFUEQQXYLrTCa1VVOFUXfrbvUk6_aU,279
|
19
|
+
opentelemetry_instrumentation-0.47b0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
20
|
+
opentelemetry_instrumentation-0.47b0.dist-info/RECORD,,
|
@@ -186,7 +186,7 @@
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
187
187
|
identification within third-party archives.
|
188
188
|
|
189
|
-
Copyright
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
190
190
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
192
192
|
you may not use this file except in compliance with the License.
|
@@ -1,20 +0,0 @@
|
|
1
|
-
opentelemetry/instrumentation/_semconv.py,sha256=0vCrUperS-ixS3fAH0_sauYhsoVhIc5E2cuOPx6RNtE,8143
|
2
|
-
opentelemetry/instrumentation/bootstrap.py,sha256=dNW-ZC7SgGo6VPCear4Le0Oq3bNrX1Tao2QIz1bIn0c,4560
|
3
|
-
opentelemetry/instrumentation/bootstrap_gen.py,sha256=1W5UETrMLeLjt5V95tZuPAWNL2sGzajmKMQ2HUPUXV8,6648
|
4
|
-
opentelemetry/instrumentation/dependencies.py,sha256=ljJ0nMK_vNZXOiCTLOT1nM3xpwmx7LVaW_S53jcRvIY,1798
|
5
|
-
opentelemetry/instrumentation/distro.py,sha256=4TCMpJY169TiYXfaD-9suGv6310_ir_rVuMljC7CVOY,2071
|
6
|
-
opentelemetry/instrumentation/environment_variables.py,sha256=oRcbNSSbnqJMQ3r4gBhK6jqtuI5WizapP962Z8DrVZ8,905
|
7
|
-
opentelemetry/instrumentation/instrumentor.py,sha256=0r527qBsl-fPAVXPM3iu_k94omLN5MStOFmuAqpD_Zo,4509
|
8
|
-
opentelemetry/instrumentation/propagators.py,sha256=hBkG70KlMUiTjxPeiyOhkb_eE96DRVzRyY4fEIzMqD4,4070
|
9
|
-
opentelemetry/instrumentation/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
opentelemetry/instrumentation/sqlcommenter_utils.py,sha256=yV_-hcwy_3ckP76_FC2dOrd8IKi9z_9s980ZMuGYkrE,1960
|
11
|
-
opentelemetry/instrumentation/utils.py,sha256=REjbeQl1wE6A4ByCKxOH5xdEjov2FHeO_WEUmGw6wqk,6128
|
12
|
-
opentelemetry/instrumentation/version.py,sha256=HyCKkZGb11xsSYPWI9CHcfWAYU5IqDVTDpTmCwMvfu0,608
|
13
|
-
opentelemetry/instrumentation/auto_instrumentation/__init__.py,sha256=en-gz8Qg6JlGR6XnFF0TYBElVUGMGNo3FtnB0GBJfA0,3780
|
14
|
-
opentelemetry/instrumentation/auto_instrumentation/_load.py,sha256=RDFVxFJ2NR02i8_MFc2FJFxRQjsvjX8f1H2N7ZMF5V0,4794
|
15
|
-
opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py,sha256=p3cz9NlKNlnzxc7guFSPyztx8XMUteAxkN1NFYXSH-0,1449
|
16
|
-
opentelemetry_instrumentation-0.45b0.dist-info/METADATA,sha256=KinwwWkyWHZQkbykODuGUZHsM_FvUyH08LFNE_dgNqI,6064
|
17
|
-
opentelemetry_instrumentation-0.45b0.dist-info/WHEEL,sha256=uNdcs2TADwSd5pVaP0Z_kcjcvvTUklh2S7bxZMF8Uj0,87
|
18
|
-
opentelemetry_instrumentation-0.45b0.dist-info/entry_points.txt,sha256=iVv3t5REB0O58tFUEQQXYLrTCa1VVOFUXfrbvUk6_aU,279
|
19
|
-
opentelemetry_instrumentation-0.45b0.dist-info/licenses/LICENSE,sha256=h8jwqxShIeVkc8vOo9ynxGYW16f4fVPxLhZKZs0H5U8,11350
|
20
|
-
opentelemetry_instrumentation-0.45b0.dist-info/RECORD,,
|
File without changes
|