You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In order to debug faster, it would be great if TraceQL could return distinct set of values of an attribute.
For example. Let's say I have 15 applications in my environment. I would like to create a generic dashboard for application monitoring and I would like to select one or more services from a Grafana dashboard variable to only see the necessary data belonging to these applications. You can think of any other attribute (e.g. k8s.cluster.name when I only want to consider the app instances running on specific clusters).
I was thinking that the select statement was thought for this purpose, yet it still gives the classic tabular output with Trace ID, Start Time, Name, Duration. I was wondering if this was a default Grafana visualization for Tempo and I wanted to check the response payload -> you can find it under the Additional context.
Describe the solution you'd like
It would be awesome, if the TraceQL could return distinct set of values so that one can create dashboard variables with them. Thereby, one could create a lot fewer dashboards to quickly troubleshoot anything.
@joe-elliott Thanks a lot for your super fast response chief!
I was testing it per this example which uses the latest Tempo but not Grafana. The Query type field selector was missing there. After switching to the latest Grafana version, it looks wonderful!
Shall I create a PR for the example to use the latest version of Grafana?
Is your feature request related to a problem? Please describe.
In order to debug faster, it would be great if TraceQL could return distinct set of values of an attribute.
For example. Let's say I have 15 applications in my environment. I would like to create a generic dashboard for application monitoring and I would like to select one or more services from a Grafana dashboard variable to only see the necessary data belonging to these applications. You can think of any other attribute (e.g.
k8s.cluster.name
when I only want to consider the app instances running on specific clusters).I was thinking that the
select
statement was thought for this purpose, yet it still gives the classic tabular output withTrace ID, Start Time, Name, Duration
. I was wondering if this was a default Grafana visualization for Tempo and I wanted to check the response payload -> you can find it under the Additional context.Describe the solution you'd like
It would be awesome, if the TraceQL could return distinct set of values so that one can create dashboard variables with them. Thereby, one could create a lot fewer dashboards to quickly troubleshoot anything.
Additional context
What the following query returns:
The text was updated successfully, but these errors were encountered: