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.
Files changed (52) hide show
  1. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/CHANGES.md +3 -1
  2. {wrapture_instrumentation-1.0.0.dev2/src/wrapture_instrumentation.egg-info → wrapture_instrumentation-1.0.0.dev3}/PKG-INFO +2 -2
  3. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/pyproject.toml +1 -1
  4. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/__init__.py +1 -1
  5. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/README.md +4 -1
  6. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3/src/wrapture_instrumentation.egg-info}/PKG-INFO +2 -2
  7. wrapture_instrumentation-1.0.0.dev3/src/wrapture_instrumentation.egg-info/requires.txt +1 -0
  8. wrapture_instrumentation-1.0.0.dev2/src/wrapture_instrumentation.egg-info/requires.txt +0 -1
  9. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/LICENSE +0 -0
  10. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/MANIFEST.in +0 -0
  11. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/README.md +0 -0
  12. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/TESTING.md +0 -0
  13. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/__init__.py +0 -0
  14. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/framework_flask.py +0 -0
  15. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/demo/template_jinja2.py +0 -0
  16. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/setup.cfg +0 -0
  17. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/__init__.py +0 -0
  18. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/app.py +0 -0
  19. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/blueprints.py +0 -0
  20. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/common.py +0 -0
  21. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/scaffold.py +0 -0
  22. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/framework_flask/templating.py +0 -0
  23. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/py.typed +0 -0
  24. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/template_jinja2/README.md +0 -0
  25. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/template_jinja2/__init__.py +0 -0
  26. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation/template_jinja2/environment.py +0 -0
  27. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/SOURCES.txt +0 -0
  28. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/dependency_links.txt +0 -0
  29. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/entry_points.txt +0 -0
  30. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/not-zip-safe +0 -0
  31. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/src/wrapture_instrumentation.egg-info/top_level.txt +0 -0
  32. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/__init__.py +0 -0
  33. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/conftest.py +0 -0
  34. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/__init__.py +0 -0
  35. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/portal.py +0 -0
  36. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/shop.py +0 -0
  37. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_apply_remove.py +0 -0
  38. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_class.py +0 -0
  39. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_lifecycle.py +0 -0
  40. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_registration.py +0 -0
  41. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_request_options.py +0 -0
  42. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_templating.py +0 -0
  43. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/framework_flask/test_tracing.py +0 -0
  44. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/__init__.py +0 -0
  45. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_apply_remove.py +0 -0
  46. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_class.py +0 -0
  47. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_registration.py +0 -0
  48. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_rendering.py +0 -0
  49. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/template_jinja2/test_with_flask.py +0 -0
  50. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/test_package.py +0 -0
  51. {wrapture_instrumentation-1.0.0.dev2 → wrapture_instrumentation-1.0.0.dev3}/tests/test_wsgi.py +0 -0
  52. {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; every view
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.dev2
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.0a5
20
+ Requires-Dist: wrapture>=1.0.0a6
21
21
  Dynamic: license-file
22
22
 
23
23
  # wrapture-instrumentation
@@ -27,7 +27,7 @@ classifiers = [
27
27
  # install Flask, and whether a target is present and at a supported
28
28
  # version is checked by wrapture at apply time from the class data.
29
29
  dependencies = [
30
- "wrapture>=1.0.0a5",
30
+ "wrapture>=1.0.0a6",
31
31
  ]
32
32
 
33
33
  [project.urls]
@@ -22,5 +22,5 @@ def _format_version(parts: tuple[str, ...]) -> str:
22
22
  )
23
23
 
24
24
 
25
- __version_info__ = ("1", "0", "0", "dev2")
25
+ __version_info__ = ("1", "0", "0", "dev3")
26
26
  __version__ = _format_version(__version_info__)
@@ -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.dev2
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.0a5
20
+ Requires-Dist: wrapture>=1.0.0a6
21
21
  Dynamic: license-file
22
22
 
23
23
  # wrapture-instrumentation