Skip to content

Commit 872937c

Browse files
adinauerclaude
andcommitted
docs: Announce telemetry option removal
Clarify that the Logs and Metrics enable options will be removed in the next major release and that logging integrations will receive individual opt-in flags. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c7b1cc3 commit 872937c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
### Fixes
1111

12-
- Capture direct `Sentry.logger()` and `Sentry.metrics()` calls regardless of the legacy enable flags ([#6184](https://github.com/getsentry/sentry-java/pull/6184))
13-
- The flags continue to control automatic integrations.
12+
- Capture direct `Sentry.logger()` and `Sentry.metrics()` calls regardless of `options.getLogs().isEnabled()` and `options.getMetrics().isEnabled()` ([#6184](https://github.com/getsentry/sentry-java/pull/6184))
13+
- `options.getLogs().setEnabled(...)` and `options.getMetrics().setEnabled(...)` continue to control automatic integrations, but will be removed in the upcoming major release. Each logging integration will then have a separate opt-in flag.
1414
- Use `options.getLogs().setBeforeSend(...)` and `options.getMetrics().setBeforeSend(...)` to filter manually emitted telemetry. Return `null` from either callback to drop it.
1515

1616
### Improvements

0 commit comments

Comments
 (0)