You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue where I am merging async generators.
Arbitrarily within the generators, more spans are being created. This can get messy and I would like to create a separate span for each generator to group the sub spans.
However, if I merge the generators using aiostream.stream.merge, the span's context gets lost, so the grouping spans disappear deactivate.
I have reduced the issue to a minimal test case that I have posted in stack-overflow.
Does anybody have ideas on what I am doing wrong, if this is a bug, or if there is a workaround I should consider?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm having an issue where I am merging async generators.
Arbitrarily within the generators, more spans are being created. This can get messy and I would like to create a separate span for each generator to group the sub spans.
However, if I merge the generators using aiostream.stream.merge, the span's context gets lost, so the grouping spans disappear deactivate.
I have reduced the issue to a minimal test case that I have posted in stack-overflow.
Does anybody have ideas on what I am doing wrong, if this is a bug, or if there is a workaround I should consider?
Beta Was this translation helpful? Give feedback.
All reactions