Skip to content

Commit a8dc27e

Browse files
authored
Toggle performance for Java SDK (#10240)
* Toggle performance for Java SDK * Also toggle application.properties files
1 parent e49cdfa commit a8dc27e

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

platform-includes/getting-started-config/java.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<SignInNote />
22

3-
```java {tabTitle: Java}
3+
```java {tabTitle: Java} {"onboardingOptions": {"performance": "5-9"}}
44
import io.sentry.Sentry;
55

66
Sentry.init(options -> {
@@ -13,7 +13,7 @@ Sentry.init(options -> {
1313
});
1414
```
1515

16-
```kotlin {tabTitle: Kotlin}
16+
```kotlin {tabTitle: Kotlin} {"onboardingOptions": {"performance": "5-9"}}
1717
import io.sentry.Sentry
1818

1919
Sentry.init { options ->

platform-includes/getting-started-config/java.spring-boot.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Provide a `sentry.dsn` property using either `application.properties` or `applic
44

55
<SignInNote />
66

7-
```properties {filename:application.properties}
7+
```properties {filename:application.properties} {"onboardingOptions": {"performance": "2-6"}}
88
sentry.dsn=___PUBLIC_DSN___
99

1010
# Set traces_sample_rate to 1.0 to capture 100%
@@ -13,7 +13,7 @@ sentry.dsn=___PUBLIC_DSN___
1313
sentry.traces-sample-rate=1.0
1414
```
1515

16-
```yaml {filename:application.yml}
16+
```yaml {filename:application.yml} {"onboardingOptions": {"performance": "3-7"}}
1717
sentry:
1818
dsn: ___PUBLIC_DSN___
1919

platform-includes/getting-started-install/java.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<OnboardingOptionButtons
2+
options={["error-monitoring", "performance"]}
3+
/>
4+
15
```groovy {filename:build.gradle}
26
plugins {
37
id "io.sentry.jvm.gradle" version "{{@inject packages.version('sentry.java.android.gradle-plugin', '3.12.0') }}"

platform-includes/getting-started-install/java.spring-boot.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<OnboardingOptionButtons
2+
options={["error-monitoring", "performance"]}
3+
/>
4+
15
```xml {tabTitle:Maven (Spring Boot 2)}
26
<dependency>
37
<groupId>io.sentry</groupId>

0 commit comments

Comments
 (0)