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
Originally posted by samjewell May 16, 2023 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
The text was updated successfully, but these errors were encountered:
Discussed in #68516
Originally posted by samjewell May 16, 2023
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
The text was updated successfully, but these errors were encountered: