plainx-sentry 0.4.1__py3-none-any.whl → 0.5.0__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.
@@ -95,8 +95,8 @@ class SentryMiddleware:
95
95
  transaction.name = f"route:{resolver_match.route}"
96
96
  transaction.set_tag("url_namespace", resolver_match.namespace)
97
97
  transaction.set_tag("url_name", resolver_match.url_name)
98
- transaction.set_tag("view_name", resolver_match.view_name)
99
- transaction.set_tag("view_class", resolver_match._func_path)
98
+ transaction.set_tag("view_class", resolver_match.view.view_class.__qualname__)
99
+
100
100
  # Don't need to filter on this, but do want the context to view
101
101
  transaction.set_context(
102
102
  "url_params",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plainx-sentry
3
- Version: 0.4.1
3
+ Version: 0.5.0
4
4
  Author-email: Dave Gaeddert <dave.gaeddert@gmail.com>
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: sentry-sdk>=2.24.0
@@ -1,9 +1,9 @@
1
1
  plainx/sentry/__init__.py,sha256=Klz3mH_itM2RXzJ_sWWJRIoZcS0jCRxWrhVVIPsG5FY,123
2
2
  plainx/sentry/config.py,sha256=EwMnY3DaanIGkgtKD_4h8ncx6MH_MxOML8BF5Hx5GBA,723
3
3
  plainx/sentry/default_settings.py,sha256=DNX6OQ0-BqfjyWuszW7JnZhiDn0tGtS3Fa2W7VbTIF8,564
4
- plainx/sentry/middleware.py,sha256=XsWwG9Jmbc6pAzaqqSq64_1ktJMHZ1sfKDHE4ML8uzM,6079
4
+ plainx/sentry/middleware.py,sha256=yA5gWAcyfP30VitaXrUJArfHKC4O3_hr9uN0HMZA4Mo,6019
5
5
  plainx/sentry/templates.py,sha256=YovKIswcsjLRjHdmRzdaxG1PHjGfz8fc5TeNE9wcYQA,2046
6
6
  plainx/sentry/templates/sentry/js.html,sha256=aOjWAwuUaecGbC-5yZWP1aaGyYAcM-GK0dru-4VOYoE,491
7
- plainx_sentry-0.4.1.dist-info/METADATA,sha256=-wMUljIYVnu3VBESQ12OlQ-dc93yjFcIdyGZzcB21wk,1559
8
- plainx_sentry-0.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
- plainx_sentry-0.4.1.dist-info/RECORD,,
7
+ plainx_sentry-0.5.0.dist-info/METADATA,sha256=mv4iGcs5UH9Ka_MjVnP9G_Zxe2tjsQZDL_uewAaokQ8,1559
8
+ plainx_sentry-0.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ plainx_sentry-0.5.0.dist-info/RECORD,,