Skip to content

Commit 1188181

Browse files
Java: Migration for deprecating sentry.enable-tracing (#3522)
1 parent d35c4e4 commit 1188181

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/platforms/java/migration.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ description: "Learn about migrating from io.sentry:sentry 1.x to io.sentry:sentr
88

99
`Sentry#startTransaction` by default does not bind created transaction to the scope. To start transaction with binding to the scope, use one of the new overloaded `startTransaction` methods taking `bindToScope` parameter and set it to `true`. Bound transaction can be retrieved with `Sentry#getSpan`.
1010

11+
### Spring Boot
12+
13+
The property `sentry.enable-tracing` is deprecated. To enable tracing simply set `sentry.traces-sample-rate` or create a bean implementing `TracesSamplerCallback`.
14+
1115
## Migrating from `io.sentry:sentry` `4.1.0` to `io.sentry:sentry` `4.2.0`
1216

1317
`operation` is now a required property of the `SentryTransaction` and `SentrySpan`. Whenever a transaction or span is started, the value for `operation` must be provided:

0 commit comments

Comments
 (0)