TLDR Benjamin wants to view span events in ZincObserve more ergonomically. Prabhat suggests adding a function to view all spans for a trace and asks Benjamin to create an issue for it.
Just to understand you want to be able to get the span details by clicking on the timeline area. right?
we group the timeline by trace, so you don't really see the individual spans in the timeline, but the complete trace
also the results in the bottom table are essentially grouped traces
we have to add the functionality of being able to see all the spans for the trace by clicking on the trace in the timeline. We will get to it soon.
Traces and metrics are in somewhat early stages and will improve drastically in next 1-2 months.
> we have to add the functionality of being able to see all the spans for the trace by clicking on the trace in the timeline. We will get to it soon. > Yes I think this is what I want. Thank you! Is there an issue I can track for this feature? A quick search for "span" didn't find one. Happy to make one if you'd like
no issue yet, but it would be great if you could create one.
Benjamin
Mon, 29 May 2023 14:33:32 UTCHello again- I’m going through OpenTelemetry + ZincObserve tutorials and I added a span event to :
```func GetUserDetails(ctx context.Context) string {
_, span := tracer.Start(ctx, "GetUserDetails")
defer span.End()
span.AddEvent("log", trace.WithAttributes(
attribute.String("user", "bbkane"),
))
return "Hello User Details from Go microservice"
}```
This span event shows up in the `events` view, but not when clicking into a the details of specific event - that just shows the timeline.
Is there a good way to view span events in an ergonomic way in ZincObserve? My end goal is to replace logging + tracing with just tracing + span events