What Grafana version and what operating system are you using? grafana 9.0.2 on ubuntu 18.04
What are you trying to achieve?
I cannot find the button “query history” under the web resource /explore after upgrading from version 8.x to 9.x
How are you trying to achieve it?
going to web resource /explore as usual
What happened?
no button “query history” displayed
What did you expect to happen?
Have a button “query history”
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
nope
Did you follow any online instructions? If so, what is the URL?
According this blog entry query history should exist
I added the following configuration to force query_history
[query_history]
enabled = true
even if it should not necessary as it is set by default
Hi,
Thanks for providing the details. I will get back to you once I have more information on this.
According to the official documentation. It is available under the Explore button.
Query management in Explore To help with debugging queries, Explore allows you to investigate query requests and responses, as well as query statistics, …
There you run your desired query and have its complete history.
Let me know if this helps you.
Hi,
thanks for the feedback.
I don’t see anything in the page
Could it be related to the fact that we don’t use grafana authentication (the access is protected by another component) ? Before, anyone could have access to “query history”
Hi @bmm_alc
Ok, now I understand and after investigation we found that this is an expected behavior as the documentation do says that “It requires that the user is logged in”
For e.g. if you go at https://play.grafana.org/
There you will see that the query history option is not visible as it needs a login.
Hope this answer your question.
2 Likes