Skip to content

fix(anr-profiling): Properly bill ANR profiling under UI Profile Hours - #5836

Open
0xadam-brown wants to merge 1 commit into
mainfrom
fix/anr-billing
Open

fix(anr-profiling): Properly bill ANR profiling under UI Profile Hours#5836
0xadam-brown wants to merge 1 commit into
mainfrom
fix/anr-billing

Conversation

@0xadam-brown

@0xadam-brown 0xadam-brown commented Jul 24, 2026

Copy link
Copy Markdown
Member

📜 Description

Updates the platform used with ANR profiles from Java to Android so that we can properly bill ANR profiling under UI Profile Hours rather than Continuous Profile Hours.

Depends on the updates made in Relay #6183, getsentry #118849, vroomrs #93, and vroom #672 – all of which have been deployed.

💡 Motivation and Context

ANR profile chunks are currently (and wrongly) counted against customers' Continuous Profile Hours rather than UI Profile Hours. Relay attributes all "java" platform profile chunks to Continuous Profile Hours and "android" to UI Profile Hours.

JAVA-548

💚 How did you test it?

n/a

📝 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.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

  • Merge + deploy Relay #6183 prior to merging this PR.
  • Inform #team-se prior to publishing the changes in this PR, as it will have billing consequences for customers.
  • Merge doc updates: sentry-docs #18839

@sentry

sentry Bot commented Jul 24, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

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

⚙️ sentry-android Build Distribution Settings

@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 325.67 ms 387.37 ms 61.69 ms
Size 0 B 0 B 0 B

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
05aa61d 326.06 ms 385.46 ms 59.40 ms
bb0ff41 315.84 ms 350.76 ms 34.92 ms
806307f 357.85 ms 424.64 ms 66.79 ms
d501a7e 307.33 ms 341.94 ms 34.61 ms
0ee65e9 321.06 ms 361.24 ms 40.18 ms
ed33deb 334.19 ms 362.30 ms 28.11 ms
9fbb112 401.87 ms 515.87 ms 114.00 ms
b8bd880 314.56 ms 336.50 ms 21.94 ms
5b1a06b 315.40 ms 353.33 ms 37.94 ms
6edfca2 316.43 ms 398.90 ms 82.46 ms

App size

Revision Plain With Sentry Diff
05aa61d 0 B 0 B 0 B
bb0ff41 0 B 0 B 0 B
806307f 1.58 MiB 2.10 MiB 533.42 KiB
d501a7e 0 B 0 B 0 B
0ee65e9 0 B 0 B 0 B
ed33deb 1.58 MiB 2.13 MiB 559.52 KiB
9fbb112 1.58 MiB 2.11 MiB 539.18 KiB
b8bd880 1.58 MiB 2.29 MiB 722.92 KiB
5b1a06b 0 B 0 B 0 B
6edfca2 1.58 MiB 2.13 MiB 559.07 KiB

Previous results on branch: fix/anr-billing

Startup times

Revision Plain With Sentry Diff
6a0c051 324.64 ms 387.11 ms 62.47 ms

App size

Revision Plain With Sentry Diff
6a0c051 0 B 0 B 0 B

Commit updates the platform used with ANR profiles from Java to Android so that we can properly bill ANR profiling under UI Profile Hours rather than Continuous Profile Hours.

Depends on the updates made in [Relay #6183](getsentry/relay#6183), [getsentry #118849](getsentry/sentry#118849), [vroomrs #93](getsentry/vroomrs#93), and [vroom #672](getsentry/vroom#672).

# Conflicts:
#	CHANGELOG.md
@0xadam-brown
0xadam-brown marked this pull request as ready for review July 28, 2026 12:53
@0xadam-brown 0xadam-brown changed the title [DNM] fix(anr-profiling): Properly bill ANR profiling under UI Profile Hours fix(anr-profiling): Properly bill ANR profiling under UI Profile Hours Jul 28, 2026

@runningcode runningcode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

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.

2 participants