Skip to content

Spans in loops producing strange flame charts. #2707

Answered by hawkw
Devlyn-Nelson asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like you are holding an Entered guard across an await point. This results in incorrect traces; the span should only be entered while it's being actively polled. See this documentation for details on what I think is the problem here.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Devlyn-Nelson
Comment options

@davidbarsky
Comment options

@Devlyn-Nelson
Comment options

Answer selected by Devlyn-Nelson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants