Skip to content

Commit 4659691

Browse files
committed
updated onboarding ranges
1 parent b706745 commit 4659691

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/platforms/android/configuration/options.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@ Set this boolean to `false` to disable tracing for `OPTIONS` requests. This opti
303303

304304
## Profiling Options
305305

306+
<Alert title="Note">
307+
308+
Profiling requires SDK versions 8.7.0 or higher. Lower versions can use the legacy profiling.
309+
310+
</Alert>
311+
306312
<ConfigKey name="profile-session-sample-rate">
307313

308314
A number between `0` and `1`, controlling the percentage chance the session will be profiled. `0` represents 0% while `1` represents 100%. The default is null (disabled).
@@ -329,7 +335,7 @@ A boolean value that determines whether the app start process will be profiled.
329335

330336
## Legacy Profiling Options
331337

332-
<Alert title="Note">
338+
<Alert title="Note">
333339

334340
SDK versions lower than 8.6.0 may use the legacy profiling using the following options.
335341

docs/platforms/android/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Configuration is done via the application `AndroidManifest.xml`. Here's an examp
9696

9797
Verify that your app is sending events to Sentry by adding the following snippet, which includes an intentional error. You should see the error reported in Sentry within a few minutes.
9898

99-
```java {"onboardingOptions": {"profiling": "9-10", "profiling": "16-17"}}
99+
```java {"onboardingOptions": {"profiling": "9-10, 16-17"}}
100100
import androidx.appcompat.app.AppCompatActivity;
101101
import android.os.Bundle;
102102
import java.lang.Exception;
@@ -118,7 +118,7 @@ public class MyActivity extends AppCompatActivity {
118118
}
119119
```
120120

121-
```kotlin {"onboardingOptions": {"profiling": "8-9", "profiling": "15-16"}}
121+
```kotlin {"onboardingOptions": {"profiling": "8-9, 15-16"}}
122122
import androidx.appcompat.app.AppCompatActivity
123123
import android.os.Bundle
124124
import io.sentry.Sentry

0 commit comments

Comments
 (0)