Hi there! I’m trying to find the total count of spans over the timerange aggregated by some event value
Say I have spans with event my_event
And that even has an attribute: attr
wich value might be either foo
or bar
Say 11 spans have the event with attr=foo and 9 have attr=bar over last 24 hours.
I wan to get some table like:
attr | count
-----+------
foo | 11
bar | 9
Or some equivalent way to get that tottal count.
I was able to write something like
{event:name="my_event"} | count_over_time() by(event.attr)
It shows a graph with values overtime (obviously)…
Is there a way to get a table with the total number of spans?