Skip to content

Show an aggregate flamegraph per ANR issue #6852

Backlog

Description

@romtsn

ANR and app hang issues with event.flamegraph attachments only show a flamegraph per event. Relay keeps only the top-scoring culprit path for grouping, so events can share a culprit and land in one issue while the rest of the blocked time differs a lot. An aggregate flamegraph across the issue's events would show how much of the blocked time the culprit really explains.

  • Example: two 5s ANRs both get culprit Repo.load. In one it covers ~95% of samples; in the other ~50%, and the rest is spread over unrelated main-thread tasks. Both look the same in the issue today.
  • Scope is per issue. Per-project aggregates would mix unrelated hangs.
  • The profiling aggregate flamegraph (vroom /organizations/{id}/flamegraph) only reads transaction profiles and continuous chunks found through Snuba/EAP. Nothing aggregates event.flamegraph attachments today.
  • Flamegraph attachments get native and JS symbolication, but no ProGuard deobfuscation path was found, so obfuscated Android frames may not merge across releases.
  • Not Android-specific: any platform that sends flamegraph attachments, such as Apple hangs, would benefit.

Action taken by Junior.

Activity

  1. linear-code commented on Dec 3, 2026

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions