Skip to content

Doing SQL like COUNT and GROUP BY on spans to get "stats"? #4131

Answered by mapno
ckcr4lyf asked this question in Q&A
Discussion options

You must be logged in to vote

It's a limitation of the explore view for Tempo, yes.

With a panel you'll be able to get a table view. I was able to get this with a few transformations:

and the query {} | count_over_time() by (resource.k8s.container.name).

TraceQL metrics is not purposely designed to be used like this, so you may encounter a few rough edges. It's great to see Tempo being used in more ways we initially thought of when building it :)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ckcr4lyf
Comment options

@mapno
Comment options

Answer selected by ckcr4lyf
@ckcr4lyf
Comment options

@ckcr4lyf
Comment options

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