TLDR Gaby questioned the functionality of QueryVariables in the OpenObserve dashboard. Kirtan explained the use and requested feedback to improve. Gaby created an issue for enhancements.
Once you add the variables, you can use that variables in the queries. So for an example, if you add the variable with name `namespace` you can add a where clause in a query with something like this `where namespace = '$namespace'` $namespace will be replaced with the value selected in the dashboard. You can refer to this issue:
For the missing values, can you share anything that with and without variable, what is the difference you are getting?
Ohhh I see, Why isn't the `where clause` added automatically to each Panel? That's the way Kibana does it. I currently have like 8-12 panels, I will have to modify each one by adding custom queries to even try this out, this is not very UX friendly. I currently have a test environment with +100 containers sending data, when adding the QueryVariable to the dashboard only like 10-15 values show up, there's no way to type/search on that dropdown.
Thanks for the feedback, we are just getting started on this. We can definitely improve on that part. Can you create an issue for this?
Will do, thanks!
Submitted:
Gaby
Mon, 17 Jul 2023 22:33:12 UTCWhat's the purpose of the QueryVariables in the dashboard settings for v0.5.1 ? After adding one and selecting a value nothing happens :thinking_face: There's also only like 10-15 values, while the data has over 100