Skip to content

Conversation

@adinauer
Copy link
Member

@adinauer adinauer commented Nov 5, 2025

📜 Description

Report discarded log size in bytes as part of client reports.

💡 Motivation and Context

Since log count is not shown to customers in UI, we want to report log size too.

💚 How did you test it?

📝 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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- Report discarded log bytes ([#4870](https://github.com/getsentry/sentry-java/pull/4870))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against dc552dd

@adinauer adinauer deleted the feat/report-discarded-log-bytes branch November 5, 2025 12:53
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 316.37 ms 364.56 ms 48.19 ms
Size 1.58 MiB 2.12 MiB 551.58 KiB

Baseline results on branch: fix/client-reports-logs-count

Startup times

Revision Plain With Sentry Diff
0f3f81c 303.10 ms 357.29 ms 54.18 ms

App size

Revision Plain With Sentry Diff
0f3f81c 1.58 MiB 2.12 MiB 551.81 KiB

Previous results on branch: feat/report-discarded-log-bytes

Startup times

Revision Plain With Sentry Diff
fff4795 309.94 ms 370.50 ms 60.56 ms

App size

Revision Plain With Sentry Diff
fff4795 1.58 MiB 2.12 MiB 551.81 KiB

@adinauer
Copy link
Member Author

adinauer commented Nov 5, 2025

replayed by #4871

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.

3 participants