Repository navigation
docs(android): Explain when ProfilingManager rejects profiling requests - #20129
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Contributor
|
Services awaiting deployment · Rollout details
Mention |
romtsn
reviewed
Oct 29, 2026
codeowner-assignment
Bot
requested review from
a team,
0xadam-brown and
runningcode
and removed request for
a team
October 29, 2026 16:05
markushi
enabled auto-merge (squash)
October 29, 2026 16:09
Contributor
|
Rollouts can't watch this change after it deploys: every data source for this team needs to be signed in again, so a check has no telemetry to read. Sign in to your data sources, or ask a team admin to. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
On Android 15+, UI Profiling runs on Android's
ProfilingManager. Until now the docs only said requests are "rate limited and not guaranteed". This adds a When Android Rejects Profiling Requests section to the Android profiling page that covers:ProfilingManager: each chunk of up to 60s is a separate request, andtracemode sends a new request each time it restarts.ERROR_FAILED_RATE_LIMIT_PROCESS), the system-wide budget shared by all apps (ERROR_FAILED_RATE_LIMIT_SYSTEM), and a profiling session that's already running (ERROR_FAILED_PROFILING_IN_PROGRESS).manuallifecycle (Sentry.startProfiler()/Sentry.stopProfiler()) to spend the limited budget on specific flows.I also moved the existing local-testing
adbtip into this section and added a troubleshooting entry that points to it.The behavior matches
PerfettoContinuousProfiler/PerfettoProfilerin sentry-java (60sMAX_CHUNK_DURATION_MILLIS, rate-limit error logging) and Android's profiling limitations page.IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST
via markus.hintersteiner.
--
View Junior Session [Sentry]