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
subscriber: add nested spans in json formatter (#741)
## Motivation
Nested spans are not available in json formatter
## Solution
I added a field `spans` in the json, with an array of the nested spans.
I reused the span representation from the existing `span`, and pushed
all the span representation in a `vec` using `ctx.visit_spans`. I didn't
remove the `span` field as it can be useful to have direct access to the
current span
Fixes: #704
0 commit comments