Can a subscriber layer create new spans? #2905
-
A library that I use produces tracing events. I'd like to consume some of these events and replace them with spans to get more informative traces. Is this possible? I thought I'd create a Layer, but looks like layers can't create new spans and I'd actually need a Subscriber for that - but Subscribers cannot be easily composed. |
Beta Was this translation helpful? Give feedback.
Answered by
davidbarsky
May 25, 2024
Replies: 1 comment
-
Not really, and you also run the risk of an infinite span loop: basically, layers aren't able to |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
miikka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not really, and you also run the risk of an infinite span loop: basically, layers aren't able to
map
spans/events.