wrapture-instrumentation 1.0.0.dev2__tar.gz → 1.0.0.dev3__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.
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/CHANGES.md +3 -1
- {wrapture_instrumentation-1.0.0.dev2/src/wrapture_instrumentation.egg-info → wrapture_instrumentation-1.0.0.dev3}/PKG-INFO +2 -2
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/pyproject.toml +1 -1
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/__init__.py +1 -1
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/README.md +4 -1
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3/src/wrapture_instrumentation.egg-info}/PKG-INFO +2 -2
- wrapture_instrumentation-1.0.0.dev3/src/wrapture_instrumentation.egg-info/requires.txt +1 -0
- wrapture_instrumentation-1.0.0.dev2/src/wrapture_instrumentation.egg-info/requires.txt +0 -1
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/LICENSE +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/MANIFEST.in +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/README.md +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/TESTING.md +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/__init__.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/framework_flask.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/template_jinja2.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/setup.cfg +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/__init__.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/app.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/blueprints.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/common.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/scaffold.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/templating.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/py.typed +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/template_jinja2/README.md +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/template_jinja2/__init__.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/template_jinja2/environment.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/SOURCES.txt +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/dependency_links.txt +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/entry_points.txt +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/not-zip-safe +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/top_level.txt +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/__init__.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/conftest.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/__init__.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/portal.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/shop.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_apply_remove.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_class.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_lifecycle.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_registration.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_request_options.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_templating.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_tracing.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/__init__.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_apply_remove.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_class.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_registration.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_rendering.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_with_flask.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/test_package.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/test_wsgi.py +0 -0
- {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/wsgi.py +0 -0
|
@@ -15,7 +15,9 @@ In development.
|
|
|
15
15
|
|
|
16
16
|
- Flask (`flask`, Flask 3.x): every request records as one tree
|
|
17
17
|
through the recording WSGI middleware installed at construction,
|
|
18
|
-
annotated with the matched route pattern and endpoint
|
|
18
|
+
annotated with the matched route pattern and endpoint (the route
|
|
19
|
+
is what wrapture's OpenTelemetry export names the span by, as
|
|
20
|
+
`http.route`); every view
|
|
19
21
|
function is observed as it registers and labelled by its endpoint
|
|
20
22
|
(blueprints and `MethodView`s included); lifecycle callbacks and
|
|
21
23
|
error handlers are observed however they register; and failures
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wrapture-instrumentation
|
|
3
|
-
Version: 1.0.0.
|
|
3
|
+
Version: 1.0.0.dev3
|
|
4
4
|
Summary: Instrumentation for common Python packages, applied through wrapture.
|
|
5
5
|
Author-email: Graham Dumpleton <Graham.Dumpleton@gmail.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
17
17
|
Requires-Python: >=3.12
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
|
-
Requires-Dist: wrapture>=1.0.
|
|
20
|
+
Requires-Dist: wrapture>=1.0.0a6
|
|
21
21
|
Dynamic: license-file
|
|
22
22
|
|
|
23
23
|
# wrapture-instrumentation
|
|
@@ -71,7 +71,10 @@ GET /shaky (portal.wsgi_app) -> '422 UNPROCESSABLE ENTITY' !! ValueError [671
|
|
|
71
71
|
matched route pattern (`route = "/quote/<item>"`) and endpoint
|
|
72
72
|
(`endpoint = "quoted"`), the low-cardinality keys to group by; the
|
|
73
73
|
raw path stays as the per-request detail. A request that matched no
|
|
74
|
-
route (a 404) has neither key.
|
|
74
|
+
route (a 404) has neither key. wrapture's OpenTelemetry export
|
|
75
|
+
reads `route` as the semantic-convention `http.route` and names the
|
|
76
|
+
request span by it (`GET /quote/<item>`), so a backend groups by
|
|
77
|
+
endpoint rather than by URL.
|
|
75
78
|
|
|
76
79
|
- Every view function is observed as its route registers, wherever it
|
|
77
80
|
came from: plain functions, `view_func` by keyword or position,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wrapture-instrumentation
|
|
3
|
-
Version: 1.0.0.
|
|
3
|
+
Version: 1.0.0.dev3
|
|
4
4
|
Summary: Instrumentation for common Python packages, applied through wrapture.
|
|
5
5
|
Author-email: Graham Dumpleton <Graham.Dumpleton@gmail.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
17
17
|
Requires-Python: >=3.12
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
|
-
Requires-Dist: wrapture>=1.0.
|
|
20
|
+
Requires-Dist: wrapture>=1.0.0a6
|
|
21
21
|
Dynamic: license-file
|
|
22
22
|
|
|
23
23
|
# wrapture-instrumentation
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
wrapture>=1.0.0a6
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
wrapture>=1.0.0a5
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/__init__.py
RENAMED
|
File without changes
|
{wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/framework_flask.py
RENAMED
|
File without changes
|
{wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/template_jinja2.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/__init__.py
RENAMED
|
File without changes
|
{wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/conftest.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/test_package.py
RENAMED
|
File without changes
|
{wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/test_wsgi.py
RENAMED
|
File without changes
|
|
File without changes
|