opentelemetry-instrumentation-tornado 0.44b0__tar.gz → 0.45b0__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_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/PKG-INFO +5 -9
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/pyproject.toml +3 -8
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/src/opentelemetry/instrumentation/tornado/__init__.py +1 -1
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/src/opentelemetry/instrumentation/tornado/version.py +1 -1
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/tests/test_instrumentation.py +1 -1
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/.gitignore +0 -0
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/LICENSE +0 -0
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/README.rst +0 -0
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/src/opentelemetry/instrumentation/tornado/client.py +0 -0
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/src/opentelemetry/instrumentation/tornado/package.py +0 -0
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/tests/__init__.py +0 -0
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/tests/test_metrics_instrumentation.py +0 -0
- {opentelemetry_instrumentation_tornado-0.44b0 → opentelemetry_instrumentation_tornado-0.45b0}/tests/tornado_test_app.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.3
|
2
2
|
Name: opentelemetry-instrumentation-tornado
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.45b0
|
4
4
|
Summary: Tornado instrumentation for OpenTelemetry
|
5
5
|
Project-URL: Homepage, https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-tornado
|
6
6
|
Author-email: OpenTelemetry Authors <cncf-opentelemetry-contributors@lists.cncf.io>
|
@@ -16,15 +16,11 @@ Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
17
17
|
Requires-Python: >=3.8
|
18
18
|
Requires-Dist: opentelemetry-api~=1.12
|
19
|
-
Requires-Dist: opentelemetry-instrumentation==0.
|
20
|
-
Requires-Dist: opentelemetry-semantic-conventions==0.
|
21
|
-
Requires-Dist: opentelemetry-util-http==0.
|
19
|
+
Requires-Dist: opentelemetry-instrumentation==0.45b0
|
20
|
+
Requires-Dist: opentelemetry-semantic-conventions==0.45b0
|
21
|
+
Requires-Dist: opentelemetry-util-http==0.45b0
|
22
22
|
Provides-Extra: instruments
|
23
23
|
Requires-Dist: tornado>=5.1.1; extra == 'instruments'
|
24
|
-
Provides-Extra: test
|
25
|
-
Requires-Dist: http-server-mock; extra == 'test'
|
26
|
-
Requires-Dist: opentelemetry-instrumentation-tornado[instruments]; extra == 'test'
|
27
|
-
Requires-Dist: opentelemetry-test-utils==0.44b0; extra == 'test'
|
28
24
|
Description-Content-Type: text/x-rst
|
29
25
|
|
30
26
|
OpenTelemetry Tornado Instrumentation
|
@@ -24,20 +24,15 @@ classifiers = [
|
|
24
24
|
]
|
25
25
|
dependencies = [
|
26
26
|
"opentelemetry-api ~= 1.12",
|
27
|
-
"opentelemetry-instrumentation == 0.
|
28
|
-
"opentelemetry-semantic-conventions == 0.
|
29
|
-
"opentelemetry-util-http == 0.
|
27
|
+
"opentelemetry-instrumentation == 0.45b0",
|
28
|
+
"opentelemetry-semantic-conventions == 0.45b0",
|
29
|
+
"opentelemetry-util-http == 0.45b0",
|
30
30
|
]
|
31
31
|
|
32
32
|
[project.optional-dependencies]
|
33
33
|
instruments = [
|
34
34
|
"tornado >= 5.1.1",
|
35
35
|
]
|
36
|
-
test = [
|
37
|
-
"opentelemetry-instrumentation-tornado[instruments]",
|
38
|
-
"opentelemetry-test-utils == 0.44b0",
|
39
|
-
"http-server-mock"
|
40
|
-
]
|
41
36
|
|
42
37
|
[project.entry-points.opentelemetry_instrumentor]
|
43
38
|
tornado = "opentelemetry.instrumentation.tornado:TornadoInstrumentor"
|
@@ -296,7 +296,7 @@ def _create_server_histograms(meter) -> Dict[str, Histogram]:
|
|
296
296
|
MetricInstruments.HTTP_SERVER_DURATION: meter.create_histogram(
|
297
297
|
name=MetricInstruments.HTTP_SERVER_DURATION,
|
298
298
|
unit="ms",
|
299
|
-
description="
|
299
|
+
description="Duration of HTTP client requests.",
|
300
300
|
),
|
301
301
|
MetricInstruments.HTTP_SERVER_REQUEST_SIZE: meter.create_histogram(
|
302
302
|
name=MetricInstruments.HTTP_SERVER_REQUEST_SIZE,
|
@@ -528,7 +528,7 @@ class TestTornadoInstrumentation(TornadoTest, WsgiTestBase):
|
|
528
528
|
|
529
529
|
|
530
530
|
class TestTornadoInstrumentationWithXHeaders(TornadoTest):
|
531
|
-
def get_httpserver_options(self):
|
531
|
+
def get_httpserver_options(self): # pylint: disable=no-self-use
|
532
532
|
return {"xheaders": True}
|
533
533
|
|
534
534
|
def test_xheaders(self):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|