Skip to content

docs: [Logs and Metrics Enable Flags 18] Update options guidance - #5961

Open
adinauer wants to merge 2 commits into
fix/jul-null-log-messagefrom
docs/update-options-guidance
Open

docs: [Logs and Metrics Enable Flags 18] Update options guidance#5961
adinauer wants to merge 2 commits into
fix/jul-null-log-messagefrom
docs/update-options-guidance

Conversation

@adinauer

@adinauer adinauer commented Aug 13, 2026

Copy link
Copy Markdown
Member

PR Stack (Logs and Metrics Enable Flags)


📜 Description

Updates the repository's options guidance to match the Logs and Metrics configuration model introduced by this stack.

The rule now distinguishes deliberate API capture from automatic integrations, documents every integration-local Logs opt-in, and prevents future changes from restoring obsolete aggregate enable flags.

💡 Motivation and Context

The previous guidance instructed maintainers and coding agents to add and check aggregate enabled fields, bind sentry.logs.enabled, and apply Android aggregate metadata. Those instructions no longer compile or match the intended architecture after removal of the Logs and Metrics enable flags.

💚 How did you test it?

  • Reviewed the updated rule against core, Android, Spring Boot, and logging integration behavior in this stack
  • Searched the rule for stale aggregate API examples
  • ./gradlew spotlessApply apiDump

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Publish the user-facing Java and Android migration guide tracked separately for this stack.

#skip-changelog

⚠️ Merge this PR using a merge commit (not squash). Only the collection branch is squash-merged into main.

Document always-available deliberate APIs, source-local automatic Logs opt-ins, and warning-only handling of obsolete aggregate settings.

Co-Authored-By: Claude <noreply@anthropic.com>
This was referenced Aug 13, 2026
@sentry

sentry Bot commented Aug 13, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.52.0 (1) release

⚙️ sentry-android Build Distribution Settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant