Skip to content

Commit a4ae7bf

Browse files
Apply suggestions from code review
Co-authored-by: Alex Krawiec <[email protected]>
1 parent ddd692d commit a4ae7bf

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Diff for: docs/platforms/python/profiling/index.mdx

+8-8
Original file line numberDiff line numberDiff line change
@@ -68,25 +68,25 @@ sentry_sdk.profiler.start_profiler()
6868
sentry_sdk.profiler.stop_profiler()
6969
```
7070

71-
### Managing profile sampling rates
71+
### Managing Profile Sampling Rates
7272

7373
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.
7474

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.
7676

77-
### Upgrading from Older SDK versions
77+
### Upgrading From Older SDK Versions
7878

7979
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 <PlatformLink to="/troubleshooting/#continuous-profiling">here</PlatformLink>.
8080

81-
## Enable Transaction Based Profiling
81+
## Enable Transaction-Based Profiling
8282

8383
<Alert>
8484

85-
Transaction based profiling is available starting in SDK version `1.18.0`.
85+
Transaction-based profiling is available starting in SDK version `1.18.0`.
8686

8787
</Alert>
8888

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.
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.
9090

9191
```python
9292
import sentry_sdk
@@ -123,6 +123,6 @@ For Profiling to work, you have to first enable [Sentry’s tracing](/concepts/k
123123

124124
</Alert>
125125

126-
### Upgrading from Older Python SDK Versions
126+
### Upgrading From Older Python SDK Versions
127127

128-
Transaction based profiling was experimental in SDK versions prior to `1.18.0`. Learn how to upgrade <PlatformLink to="/troubleshooting/#transaction-based-profiling">here</PlatformLink>.
128+
Transaction-based profiling was experimental in SDK versions prior to `1.18.0`. Learn how to upgrade <PlatformLink to="/troubleshooting/#transaction-based-profiling">here</PlatformLink>.

Diff for: docs/platforms/python/troubleshooting.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ If you don't see any profiling data in [sentry.io](https://sentry.io), you can t
193193

194194
### Upgrading From Older SDK Versions
195195

196-
#### Transaction Based Profiling
196+
#### Transaction-Based Profiling
197197

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.
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.
199199

200200
```python
201201
sentry_sdk.init(

0 commit comments

Comments
 (0)