TraceQL - How to get average duration of traces ? #4354
Answered
by
joe-elliott
hugoallaine
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
joe-elliott
Nov 20, 2024
Replies: 2 comments 3 replies
-
The query would look something like:
This should give you what you are looking for. In Tempo 2.6 the best way to get this information would be to use the metrics generators |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hugoallaine
-
It's a little different than average but you can get the p50 already with:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
avg_over_time
was added recently and will be available in Tempo 2.7 in a few months.The query would look something like:
This should give you what you are looking for. In Tempo 2.6 the best way to get this information would be to use the metrics generators