opentelemetry-instrumentation-requests 0.54b1__py3-none-any.whl → 0.55b1__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/requests/__init__.py +6 -3
- opentelemetry/instrumentation/requests/version.py +1 -1
- {opentelemetry_instrumentation_requests-0.54b1.dist-info → opentelemetry_instrumentation_requests-0.55b1.dist-info}/METADATA +5 -6
- opentelemetry_instrumentation_requests-0.55b1.dist-info/RECORD +9 -0
- opentelemetry_instrumentation_requests-0.54b1.dist-info/RECORD +0 -9
- {opentelemetry_instrumentation_requests-0.54b1.dist-info → opentelemetry_instrumentation_requests-0.55b1.dist-info}/WHEEL +0 -0
- {opentelemetry_instrumentation_requests-0.54b1.dist-info → opentelemetry_instrumentation_requests-0.55b1.dist-info}/entry_points.txt +0 -0
- {opentelemetry_instrumentation_requests-0.54b1.dist-info → opentelemetry_instrumentation_requests-0.55b1.dist-info}/licenses/LICENSE +0 -0
@@ -287,9 +287,12 @@ def _instrument(
|
|
287
287
|
except ValueError:
|
288
288
|
pass
|
289
289
|
|
290
|
-
with
|
291
|
-
|
292
|
-
|
290
|
+
with (
|
291
|
+
tracer.start_as_current_span(
|
292
|
+
span_name, kind=SpanKind.CLIENT, attributes=span_attributes
|
293
|
+
) as span,
|
294
|
+
set_ip_on_next_http_connection(span),
|
295
|
+
):
|
293
296
|
exception = None
|
294
297
|
if callable(request_hook):
|
295
298
|
request_hook(span, request)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: opentelemetry-instrumentation-requests
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.55b1
|
4
4
|
Summary: OpenTelemetry requests instrumentation
|
5
5
|
Project-URL: Homepage, https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-requests
|
6
6
|
Project-URL: Repository, https://github.com/open-telemetry/opentelemetry-python-contrib
|
@@ -12,17 +12,16 @@ Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
13
13
|
Classifier: Programming Language :: Python
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
15
|
-
Classifier: Programming Language :: Python :: 3.8
|
16
15
|
Classifier: Programming Language :: Python :: 3.9
|
17
16
|
Classifier: Programming Language :: Python :: 3.10
|
18
17
|
Classifier: Programming Language :: Python :: 3.11
|
19
18
|
Classifier: Programming Language :: Python :: 3.12
|
20
19
|
Classifier: Programming Language :: Python :: 3.13
|
21
|
-
Requires-Python: >=3.
|
20
|
+
Requires-Python: >=3.9
|
22
21
|
Requires-Dist: opentelemetry-api~=1.12
|
23
|
-
Requires-Dist: opentelemetry-instrumentation==0.
|
24
|
-
Requires-Dist: opentelemetry-semantic-conventions==0.
|
25
|
-
Requires-Dist: opentelemetry-util-http==0.
|
22
|
+
Requires-Dist: opentelemetry-instrumentation==0.55b1
|
23
|
+
Requires-Dist: opentelemetry-semantic-conventions==0.55b1
|
24
|
+
Requires-Dist: opentelemetry-util-http==0.55b1
|
26
25
|
Provides-Extra: instruments
|
27
26
|
Requires-Dist: requests~=2.0; extra == 'instruments'
|
28
27
|
Description-Content-Type: text/x-rst
|
@@ -0,0 +1,9 @@
|
|
1
|
+
opentelemetry/instrumentation/requests/__init__.py,sha256=ul5UZ_qZD_rYrEmkecIGe_joxpzidszn1QMss0_Jp4U,17923
|
2
|
+
opentelemetry/instrumentation/requests/package.py,sha256=84lK70NyCoRefASXKjU5f4byJhf5qWDL6IdYjch-UTM,679
|
3
|
+
opentelemetry/instrumentation/requests/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
opentelemetry/instrumentation/requests/version.py,sha256=9poofzNAQlIZ01Tbk-NsWviDJJKwwkXRZ-4gS8RKJ9M,608
|
5
|
+
opentelemetry_instrumentation_requests-0.55b1.dist-info/METADATA,sha256=cnwBtiQy0DEOBrwU90OXKd_qMRtDVEQYGfShQCvlEP0,2620
|
6
|
+
opentelemetry_instrumentation_requests-0.55b1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
7
|
+
opentelemetry_instrumentation_requests-0.55b1.dist-info/entry_points.txt,sha256=w_cFVp9h9IXzWm2YeBaOEUANSn9iuUlNAl0QC3PDf94,100
|
8
|
+
opentelemetry_instrumentation_requests-0.55b1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
9
|
+
opentelemetry_instrumentation_requests-0.55b1.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
opentelemetry/instrumentation/requests/__init__.py,sha256=IJOPjE0Z-DjtS_tp-zhIYGBDwENlSiwTb9dq27e7ZPM,17878
|
2
|
-
opentelemetry/instrumentation/requests/package.py,sha256=84lK70NyCoRefASXKjU5f4byJhf5qWDL6IdYjch-UTM,679
|
3
|
-
opentelemetry/instrumentation/requests/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
opentelemetry/instrumentation/requests/version.py,sha256=LAnaEWDOviU2kJ-Xmrhq1biqtDukCylZDisfX_ER5Ng,608
|
5
|
-
opentelemetry_instrumentation_requests-0.54b1.dist-info/METADATA,sha256=Z585EEHe-7PKEoRfDrnm4CJ0RMyV-aOo_xHIZBki2bA,2670
|
6
|
-
opentelemetry_instrumentation_requests-0.54b1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
7
|
-
opentelemetry_instrumentation_requests-0.54b1.dist-info/entry_points.txt,sha256=w_cFVp9h9IXzWm2YeBaOEUANSn9iuUlNAl0QC3PDf94,100
|
8
|
-
opentelemetry_instrumentation_requests-0.54b1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
9
|
-
opentelemetry_instrumentation_requests-0.54b1.dist-info/RECORD,,
|
File without changes
|
File without changes
|