You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/python/profiling/index.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Continuous profiling is available starting in SDK version `2.24.1`.
18
18
19
19
</Alert>
20
20
21
-
Continuous rofiling supports two modes - `manual` and `trace`. The two modes are mutually exclusive, and cannot be used at the same time.
21
+
Continuous profiling supports two modes - `manual` and `trace`. The two modes are mutually exclusive, and cannot be used at the same time.
22
22
23
23
In `manual` mode, the profiling data collection can be managed via calls to `sentry_sdk.profiler.start_profiler` and `sentry_sdk.profiler.stop_profiler`. You are entirely in the in control of when the profiler runs.
Sentry SDK supports an additional `profile_session_sample_rate` that will enable or disable profiling for the entire session. This can be used if you want to control session sampling rates at the service level as the sampling decision is evaluated only once at SDK init.
73
+
Sentry SDK supports an additional `profile_session_sample_rate` that must be set to a non-zero value to enable continuous profiling. This can be used to control session sampling rates at the service level as the sampling decision is evaluated only once at SDK init.
74
74
75
75
This is useful for cases where you deploy your service many times, but would only like a subset of those services to be profiled.
76
76
77
77
### Upgrading from Older SDK versions
78
78
79
-
Continuous profiling was experimental in SDK versions prior to `2.24.1`. Learn how to upgrade <PlatformLinkto="/profiling/troubleshooting/#continuous-profiling">here</PlatformLink>.
79
+
Continuous profiling was experimental in SDK versions prior to `2.24.1` and will be deprecated. Data sent by these older versions will not be accepted in the near future. Learn how to upgrade <PlatformLinkto="/profiling/troubleshooting/#continuous-profiling">here</PlatformLink>.
0 commit comments