sentry-relay 0.8.30__zip → 0.8.32__zip
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.
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/PKG-INFO +1 -1
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/rustsrc.zip +0 -0
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/sentry_relay/processing.py +0 -21
- sentry-relay-0.8.32/version.txt +1 -0
- sentry-relay-0.8.30/version.txt +0 -1
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/README +0 -0
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/sentry_relay/__init__.py +0 -0
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/sentry_relay/auth.py +0 -0
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/sentry_relay/consts.py +0 -0
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/sentry_relay/exceptions.py +0 -0
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/sentry_relay/py.typed +0 -0
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/sentry_relay/utils.py +0 -0
- {sentry-relay-0.8.30 → sentry-relay-0.8.32}/setup.py +0 -0
|
Binary file
|
|
@@ -30,7 +30,6 @@ __all__ = [
|
|
|
30
30
|
"validate_sampling_configuration",
|
|
31
31
|
"validate_project_config",
|
|
32
32
|
"normalize_global_config",
|
|
33
|
-
"run_dynamic_sampling",
|
|
34
33
|
]
|
|
35
34
|
|
|
36
35
|
|
|
@@ -279,23 +278,3 @@ def normalize_global_config(config):
|
|
|
279
278
|
return json.loads(rv)
|
|
280
279
|
except json.JSONDecodeError:
|
|
281
280
|
raise ValueError(rv)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
def run_dynamic_sampling(sampling_config, root_sampling_config, dsc, event):
|
|
285
|
-
"""
|
|
286
|
-
Runs dynamic sampling on an event and returns the merged rules together with the sample rate.
|
|
287
|
-
"""
|
|
288
|
-
assert isinstance(sampling_config, str)
|
|
289
|
-
assert isinstance(root_sampling_config, str)
|
|
290
|
-
assert isinstance(dsc, str)
|
|
291
|
-
assert isinstance(event, str)
|
|
292
|
-
|
|
293
|
-
result_json = rustcall(
|
|
294
|
-
lib.run_dynamic_sampling,
|
|
295
|
-
encode_str(sampling_config),
|
|
296
|
-
encode_str(root_sampling_config),
|
|
297
|
-
encode_str(dsc),
|
|
298
|
-
encode_str(event),
|
|
299
|
-
)
|
|
300
|
-
|
|
301
|
-
return json.loads(decode_str(result_json, free=True))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.8.32
|
sentry-relay-0.8.30/version.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.8.30
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|