We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a85382c commit 98aec9bCopy full SHA for 98aec9b
sentry_sdk/profiler/continuous_profiler.py
@@ -9,7 +9,10 @@
9
from sentry_sdk.consts import VERSION
10
from sentry_sdk.envelope import Envelope
11
from sentry_sdk._lru_cache import LRUCache
12
-from sentry_sdk.profiler.utils import extract_stack
+from sentry_sdk.profiler.utils import (
13
+ DEFAULT_SAMPLING_FREQUENCY,
14
+ extract_stack,
15
+)
16
from sentry_sdk.utils import (
17
capture_internal_exception,
18
is_gevent,
@@ -49,11 +52,6 @@
49
52
)
50
53
51
54
-# The default sampling frequency to use. This is set at 21 in order to
-# mitigate the effects of lockstep sampling.
-DEFAULT_SAMPLING_FREQUENCY = 21
55
-
56
57
try:
58
from gevent.monkey import get_original
59
from gevent.threadpool import ThreadPool as _ThreadPool
0 commit comments