Skip to content

Commit 7fce377

Browse files
committed
Added deprecation notes for transaction-based profiling
1 parent 8174584 commit 7fce377

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/platforms/android/configuration/options.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ A boolean value that determines whether the app start process will be profiled.
335335

336336
## Transaction-Based Profiling Options
337337

338+
This mode will eventually be deprecated, and it's recommended to upgrade to <PlatformLink to="/configuration/options/#ui-profiling-options">UI Profiling</PlatformLink>. The same behaviour, without the 30 seconds limitation, can be achieved with the `trace` <PlatformLink to="/configuration/options/#profile-lifecycle">profile lifecycle</PlatformLink> option. In order to upgrade to UI Profiling, you also need to remove the transaction-based options from your configuration.
339+
338340
<ConfigKey name="profiles-sample-rate">
339341

340342
A number between `0` and `1`, controlling the percentage chance that a given profile will be sent to Sentry. (`0` represents 0% while `1` represents 100%.) Applies only to sampled transactions created in the app. Setting this option will enable the legacy profiler.

docs/platforms/android/profiling/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ class MyApplication : Application() {
176176

177177
<Alert>
178178

179+
This mode will eventually be deprecated, and it's recommended to upgrade to UI Profiling. The same behaviour, without the 30 seconds limitation, can be achieved with the <PlatformLink to="/profiling/#enabling-trace-lifecycle-ui-profiling">Trace Lifecycle UI Profiling</PlatformLink>. In order to upgrade to UI Profiling, you also need to remove the <PlatformLink to="/configuration/options/#transaction-based-profiling-options">transaction-based profiling options</PlatformLink> from your configuration.
179180
Android transaction-based profiling is available starting in SDK version `6.16.0` and is supported on API level 22 and up.
180181
App start profiling is available starting in SDK version `7.3.0`.
181182

0 commit comments

Comments
 (0)