Skip to content

Commit c7b1cc3

Browse files
adinauerclaude
andcommitted
docs: Clarify manual telemetry changelog guidance
Separate the automatic-integration behavior from manual filtering instructions. Name the Logs and Metrics before-send APIs and explain how to drop manually emitted telemetry. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2405019 commit c7b1cc3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
### Fixes
1111

12-
- Capture direct `Sentry.logger()` and `Sentry.metrics()` calls regardless of the legacy enable flags. The flags continue to control automatic integrations; use the before-send callbacks to filter manually emitted telemetry ([#6184](https://github.com/getsentry/sentry-java/pull/6184))
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.
14+
- Use `options.getLogs().setBeforeSend(...)` and `options.getMetrics().setBeforeSend(...)` to filter manually emitted telemetry. Return `null` from either callback to drop it.
1315

1416
### Improvements
1517

0 commit comments

Comments
 (0)