Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions sentry_sdk/profiler/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
from sentry_sdk.profiler.continuous_profiler import start_profiler, stop_profiler
from sentry_sdk.profiler.continuous_profiler import (
start_profile_session,
start_profiler,
stop_profile_session,
stop_profiler,
)
from sentry_sdk.profiler.transaction_profiler import (
MAX_PROFILE_DURATION_NS,
PROFILE_MINIMUM_SAMPLES,
Expand All @@ -20,8 +25,10 @@
)

__all__ = [
"start_profiler",
"stop_profiler",
"start_profile_session",
"start_profiler", # TODO: Deprecate this in favor of `start_profile_session`
"stop_profile_session",
"stop_profiler", # TODO: Deprecate this in favor of `stop_profile_session`
# DEPRECATED: The following was re-exported for backwards compatibility. It
# will be removed from sentry_sdk.profiler in a future release.
"MAX_PROFILE_DURATION_NS",
Expand Down
Loading