debugbundle-python 1.1.2__py3-none-any.whl → 1.2.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.
- debugbundle/core.py +1 -1
- debugbundle/relay.py +10 -2
- {debugbundle_python-1.1.2.dist-info → debugbundle_python-1.2.0.dist-info}/METADATA +1 -1
- {debugbundle_python-1.1.2.dist-info → debugbundle_python-1.2.0.dist-info}/RECORD +7 -7
- {debugbundle_python-1.1.2.dist-info → debugbundle_python-1.2.0.dist-info}/WHEEL +1 -1
- {debugbundle_python-1.1.2.dist-info → debugbundle_python-1.2.0.dist-info}/licenses/LICENSE +0 -0
- {debugbundle_python-1.1.2.dist-info → debugbundle_python-1.2.0.dist-info}/top_level.txt +0 -0
debugbundle/core.py
CHANGED
debugbundle/relay.py
CHANGED
|
@@ -25,6 +25,7 @@ ACCEPTED_EVENT_TYPES = frozenset(
|
|
|
25
25
|
"frontend_breadcrumb",
|
|
26
26
|
"request_event",
|
|
27
27
|
"probe_event",
|
|
28
|
+
"analytics_event",
|
|
28
29
|
}
|
|
29
30
|
)
|
|
30
31
|
|
|
@@ -376,8 +377,15 @@ def _sanitize_event(
|
|
|
376
377
|
correlation = event.get("correlation")
|
|
377
378
|
if isinstance(correlation, dict):
|
|
378
379
|
normalized_correlation: dict[str, Any] = {}
|
|
379
|
-
|
|
380
|
-
|
|
380
|
+
correlation_keys = (
|
|
381
|
+
("session_id", "visitor_id_hash", "user_id_hash", "trace_id", "deploy_id")
|
|
382
|
+
if event_type == "analytics_event"
|
|
383
|
+
else ("request_id", "trace_id", "session_id", "user_id_hash")
|
|
384
|
+
)
|
|
385
|
+
for key in correlation_keys:
|
|
386
|
+
if key not in correlation:
|
|
387
|
+
continue
|
|
388
|
+
value = correlation[key]
|
|
381
389
|
if isinstance(value, str) or value is None:
|
|
382
390
|
normalized_correlation[key] = value
|
|
383
391
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
debugbundle/__init__.py,sha256=mqibduUrdcr_fnb6k3Gwf93H7iqVBS8zd6SceX-U3Q4,5011
|
|
2
2
|
debugbundle/config.py,sha256=ENRSR5jUI7xYdBqUakWws3GIjBk00GWFmwXVE_iQp2Y,9296
|
|
3
|
-
debugbundle/core.py,sha256=
|
|
3
|
+
debugbundle/core.py,sha256=WWaOg_NP44yEu2G66MQ7CmmgLM7eF3Wczor8QrNDdAw,37776
|
|
4
4
|
debugbundle/logger_integrations.py,sha256=RuTNaD9RRVmiE-BBkksAXWVEGaMzLrWavVpQdgGZBpE,4564
|
|
5
5
|
debugbundle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
debugbundle/redaction.py,sha256=QTaPkSsYv54yR1mz8SB6Q4vWjvp7Ddcui4WXaH2RVz8,736
|
|
7
|
-
debugbundle/relay.py,sha256=
|
|
7
|
+
debugbundle/relay.py,sha256=p5-tFXsgH8TZfB7Va3C2XFJsi8mYOMnGjr01W_kApME,14366
|
|
8
8
|
debugbundle/relay_delivery.py,sha256=VL-nIgJR6mYXqKy-EbA0USWeY_iS_uAr1KBzrnwBnnk,4676
|
|
9
9
|
debugbundle/suppression.py,sha256=XMn0GfF_-WZk2wHWk3KfbO5_u5QhEunues5h3jOInLs,4098
|
|
10
10
|
debugbundle/transport.py,sha256=oOk0xazHxq9h4CneJdRODKtwDciwikvpHVJM_6iBYXU,1791
|
|
@@ -17,8 +17,8 @@ debugbundle/integrations/flask.py,sha256=cgyHbsAH96gpNPf_5IGJYzp2va28JdDgXROBsF-
|
|
|
17
17
|
debugbundle/integrations/relay_django.py,sha256=Wj8BE9D5otU2KmtjgqdKIJ-BvXVcagCKgpLYvnPZ6WE,2281
|
|
18
18
|
debugbundle/integrations/relay_fastapi.py,sha256=-Zl6bvhYMLii__mP6-UvSdwxS5VKsb9OZvk-yy-3hEw,2227
|
|
19
19
|
debugbundle/integrations/relay_flask.py,sha256=VFHkDTJy4LkZzL_Ry_Ba-e_gW6UTG4PBwnLcvB_oXuQ,2011
|
|
20
|
-
debugbundle_python-1.
|
|
21
|
-
debugbundle_python-1.
|
|
22
|
-
debugbundle_python-1.
|
|
23
|
-
debugbundle_python-1.
|
|
24
|
-
debugbundle_python-1.
|
|
20
|
+
debugbundle_python-1.2.0.dist-info/licenses/LICENSE,sha256=AKZZ5DQAHrOKGwt24VoRd-SXJLM9OloxlsX8ZgENdEY,735
|
|
21
|
+
debugbundle_python-1.2.0.dist-info/METADATA,sha256=Fp9n6Tt2wgf2lJnxw3yrteaykQ7kwj5TVDu6OntJcZw,13841
|
|
22
|
+
debugbundle_python-1.2.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
23
|
+
debugbundle_python-1.2.0.dist-info/top_level.txt,sha256=RCB9STTFnl1OKdojxz-xhaks2zkRFs1meZXsKnm18LM,12
|
|
24
|
+
debugbundle_python-1.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|