Skip to content

Span evidence waterfall shows unrelated spans #124557

Description

@sentry-junior

Performance issues intermittently show unrelated spans in the Span Evidence trace waterfall snapshot. In the reported example, a Flask N+1 query issue displays Rails spans instead of the Flask database spans described by the evidence.

  • Example event in project BACKEND-FLASK-CE.
  • Issue query: SELECT * FROM reviews, product_bundles WHERE productId = %s. The evidence lists parent span function - src.db.get_products and preceding query SELECT * FROM products WHERE id IN ( SELECT id FROM products, pg_sleep(%s) ).
  • Previously observed and reported; reported again on September 15–16, 2026 as happening more frequently, including during demos.
  • Intermittent behavior reported by the user; not independently reproduced. Root cause and affected scope are unknown.

Recreated from https://github.com/getsentry/sentry-options-automator/issues/9765, which was filed in the wrong repository.

via neil.

--

View Junior Session [Sentry]

Activity

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions