Skip to content

drilling down into metrics from traces #3538

Closed Answered by joe-elliott
jSwanson99 asked this question in Q&A
Discussion options

You must be logged in to vote

I want this too, but it currently does not exist. There are two things missing. First, the trace:id intrinsic defined here:

https://github.com/grafana/tempo/blob/main/docs/design-proposals/2023-11%20TraceQL%20Extensions.md#scoped-intrinsics

There are a few complexities to implementing it but it shouldn't be too difficult.

Second, would be the ability to derive quantiles on duration from spans. The team is actively working on this and it should be available in the next release.

Once implemented you could run a metrics query that would look something like:

{ trace:id = "abcd" } | quantile(.5, duration) by (name)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jSwanson99
Comment options

Answer selected by jSwanson99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants