Skip to content

Commit 79dc6c5

Browse files
committed
undo name change
1 parent ece2fb6 commit 79dc6c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sentry_sdk/profiler/continuous_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def setup_continuous_profiler(options, sdk_info, capture_func):
118118
return True
119119

120120

121-
def try_continuous_profiling_auto_start():
121+
def try_autostart_continuous_profiler():
122122
# type: () -> None
123123
if _scheduler is None:
124124
return

sentry_sdk/scope.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from sentry_sdk.attachments import Attachment
1313
from sentry_sdk.consts import DEFAULT_MAX_BREADCRUMBS, FALSE_VALUES, INSTRUMENTER
1414
from sentry_sdk.feature_flags import FlagBuffer, DEFAULT_FLAG_CAPACITY
15-
from sentry_sdk.profiler.continuous_profiler import try_continuous_profiling_auto_start
15+
from sentry_sdk.profiler.continuous_profiler import try_autostart_continuous_profiler
1616
from sentry_sdk.profiler.transaction_profiler import Profile
1717
from sentry_sdk.session import Session
1818
from sentry_sdk.tracing_utils import (
@@ -1022,7 +1022,7 @@ def start_transaction(
10221022
if instrumenter != configuration_instrumenter:
10231023
return NoOpSpan()
10241024

1025-
try_continuous_profiling_auto_start()
1025+
try_autostart_continuous_profiler()
10261026

10271027
custom_sampling_context = custom_sampling_context or {}
10281028

0 commit comments

Comments
 (0)