Loki Datasource: Dashboard variable of type: Query has no Query-type: Query Result #68516
Closed
samjewell
announced in
Data Sources
Replies: 1 comment 2 replies
-
Hello, as you may have heard, we are transitioning away from using discussions to discuss feature requests. We are migrating this discussion to an issue and closing the discussion. The issue is #82693. Feel free to continue the discussion around this there. Thank you! |
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
-
What happened:
I'm building a dashboard where I need to use the results of a Logs query as the input to a Metrics query.
Specifically there are Log-lines which identify which users are hitting a sad-path in the application. I need to join these results together with a dataset present in a metrics datasource. Unfortunately the metrics datasource is so large that I can only get results back by passing the user-ids as part of the query itself. Hence I need to know the user-ids before trying to render the panel, so I need to gather those IDs in a dashboard-variable (because these are evaluated first)
Prometheus datasource offers this option:
But Loki datasource doesn't:
And the data that I need isn't present in either "label names" or "label values"
What did you expect to happen:
Query-type: Query-result to be present in the dashboard-variables config for Loki
Beta Was this translation helpful? Give feedback.
All reactions