Skip to content

fix(telemetry): Fix flamegraph endpoint span nesting - #677

Merged
mjq merged 2 commits into
mainfrom
mjq/flamegraph-span-cleanup
Sep 16, 2026
Merged

mjq merged 2 commits into
mainfrom
mjq/flamegraph-span-cleanup

Conversation

@mjq

@mjq mjq commented Sep 16, 2026

Copy link
Copy Markdown
Member

Use sentry.StartSpan(ctx, ...) with the correct contexts so that spans are nested correctly.

With this in place, the *sentry.Span parameter to GetFlamegraphFromCandidates became unnecessary.

Fixes PRO-45.

Use `sentry.StartSpan(ctx, ...)` with the correct contexts so that spans are
nested correctly.

With this in place, the `*sentry.Span` argument to
`GetFlamegraphFromCandidates` became unnecessary.
@mjq
mjq requested a review from a team as a code owner September 16, 2026 14:02
@linear-code

linear-code Bot commented Sep 16, 2026

Copy link
Copy Markdown

PRO-45

@mjq
mjq merged commit 35dd5fd into main Sep 16, 2026
25 checks passed
@mjq
mjq deleted the mjq/flamegraph-span-cleanup branch September 16, 2026 14:11
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