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
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 initialization.
74
74
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.
75
+
This is useful for cases where you deploy your service many times, but would only like a subset of those deployments to be profiled.
76
76
77
-
### Upgrading from Older SDK versions
77
+
### Upgrading From Older SDK Versions
78
78
79
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="/troubleshooting/#continuous-profiling">here</PlatformLink>.
80
80
81
-
## Enable TransactionBased Profiling
81
+
## Enable Transaction-Based Profiling
82
82
83
83
<Alert>
84
84
85
-
Transactionbased profiling is available starting in SDK version `1.18.0`.
85
+
Transaction-based profiling is available starting in SDK version `1.18.0`.
86
86
87
87
</Alert>
88
88
89
-
Transactionbased profiling only runs in tandem with performance transactions that were started either automatically or manually with `sentry_sdk.start_transaction`, and stops after the transaction ends or after 30 seconds.
89
+
Transaction-based profiling only runs in tandem with performance transactions that were started either automatically or manually with `sentry_sdk.start_transaction`, and stops after the transaction ends or after 30 seconds.
90
90
91
91
```python
92
92
import sentry_sdk
@@ -123,6 +123,6 @@ For Profiling to work, you have to first enable [Sentry’s tracing](/concepts/k
123
123
124
124
</Alert>
125
125
126
-
### Upgrading from Older Python SDK Versions
126
+
### Upgrading From Older Python SDK Versions
127
127
128
-
Transactionbased profiling was experimental in SDK versions prior to `1.18.0`. Learn how to upgrade <PlatformLinkto="/troubleshooting/#transaction-based-profiling">here</PlatformLink>.
128
+
Transaction-based profiling was experimental in SDK versions prior to `1.18.0`. Learn how to upgrade <PlatformLinkto="/troubleshooting/#transaction-based-profiling">here</PlatformLink>.
Copy file name to clipboardExpand all lines: docs/platforms/python/troubleshooting.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -193,9 +193,9 @@ If you don't see any profiling data in [sentry.io](https://sentry.io), you can t
193
193
194
194
### Upgrading From Older SDK Versions
195
195
196
-
#### TransactionBased Profiling
196
+
#### Transaction-Based Profiling
197
197
198
-
The transactionbased profiling feature was experimental prior to version `1.18.0`. To update your SDK to the latest version, remove `profiles_sample_rate` from `_experiments` and set it in the top-level options.
198
+
The transaction-based profiling feature was experimental prior to version `1.18.0`. To update your SDK to the latest version, remove `profiles_sample_rate` from `_experiments` and set it in the top-level options.
0 commit comments