Server IP : 192.64.118.117 / Your IP : 3.148.200.110 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/hc_python/lib64/python3.12/site-packages/sentry_sdk/profiler/ |
Upload File : |
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, Profile, Scheduler, ThreadScheduler, GeventScheduler, has_profiling_enabled, setup_profiler, teardown_profiler, ) from sentry_sdk.profiler.utils import ( DEFAULT_SAMPLING_FREQUENCY, MAX_STACK_DEPTH, get_frame_name, extract_frame, extract_stack, frame_id, ) __all__ = [ "start_profile_session", # TODO: Deprecate this in favor of `start_profiler` "start_profiler", "stop_profile_session", # TODO: Deprecate this in favor of `stop_profiler` "stop_profiler", # 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", "PROFILE_MINIMUM_SAMPLES", "Profile", "Scheduler", "ThreadScheduler", "GeventScheduler", "has_profiling_enabled", "setup_profiler", "teardown_profiler", "DEFAULT_SAMPLING_FREQUENCY", "MAX_STACK_DEPTH", "get_frame_name", "extract_frame", "extract_stack", "frame_id", ]