Skip to content

Commit c3f1862

Browse files
authored
Update CHANGELOG.md
1 parent 0ab04cd commit c3f1862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- [Sentry continuous profiling](https://docs.sentry.io/product/explore/profiling/) on the JVM is using async-profiler under the hood.
1010
- By default this feature is disabled. Set a profile sample rate and chose a lifecycle (see below) to enable it.
1111
- Add the `sentry-async-profiler` dependency to your project
12-
- Set a sample rate for profiles, e.g. `1.0` to send all of them. You may use `options.setProfilesSampleRate(1.0)` in code or `profiles-sample-rate=1.0` in `sentry.properties`
12+
- Set a sample rate for profiles, e.g. `1.0` to send all of them. You may use `options.setProfileSessionSampleRate(1.0)` in code or `profile-session-sample-rate=1.0` in `sentry.properties`
1313
- Set a profile lifecycle via `options.setProfileLifecycle(ProfileLifecycle.TRACE)` in code or `profile-lifecycle=TRACE` in `sentry.properties`
1414
- By default the lifecycle is set to `MANUAL`, meaning you have to explicitly call `Sentry.startProfiler()` and `Sentry.stopProfiler()`
1515
- You may change it to `TRACE` which will create a profile for each transaction

0 commit comments

Comments
 (0)