Open mehta-ankit opened 11 months ago
I saw this in new grafana 10.2.0 release notes: https://grafana.com/docs/grafana/latest/whatsnew/whats-new-in-v10-2/#compute-red-metrics-over-spans-aggregated-by-attribute-with-the-aggregate-by-search-option Which is great, but wondering how we can achieve this for a single trace and its group of spans
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. The next time this stale check runs, the stale label will be removed if there is new activity. The issue will be closed after 15 days if there is no new activity. Please apply keepalive label to exempt this Issue.
This is an interesting idea that is not possible in Tempo currently. However, we are working on two features that will make this possible in the future.
First, we intend to add a trace:id
instrinsic which would let you write queries against a single trace. Details of upcoming TraceQL extensions are here. Feel free to leave thoughts/comments!
https://github.com/grafana/tempo/pull/3185
Second, we are actively working on a metrics from traces feature. Details here:
https://github.com/grafana/tempo/pull/3138
These two features together would allow for something along the lines of what you're asking. For instance this would show the rate of spans for the trace by service:
{ trace:id = "<some trace id>" } | rate() by (resource.service.name)
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. The next time this stale check runs, the stale label will be removed if there is new activity. The issue will be closed after 15 days if there is no new activity. Please apply keepalive label to exempt this Issue.
keep alive please 😄
Hello, the trace statics feature for a single trace is a very useful feature because allow to identify the bottleneck for the single trace.
Is your feature request related to a problem? Please describe. wondering if Tempo UI can show statistics on the trace and its spans. Jaeger UI has a similar functionality and we are trying to switch to Tempo, so was wondering if this could be added or if its on the roadmap.
It allows dev's working on performance incidents to get some analytics out of a single trace spanning through multiple services.
Describe the solution you'd like Trace Statistics view like Jaeger UI: https://github.com/jaegertracing/jaeger-ui/blob/main/packages/jaeger-ui/src/components/TracePage/TraceStatistics/index.tsx
Describe alternatives you've considered Can this be replicated using TraceQL in someway ? 🤔 ðŸ’
Additional context