I have a plugin and I don’t want it to send a query and update when the dashboard variable changes. Other panels in the dashboard should still update normally. Is it possible to do this?
-
What exactly do you mean by “the dashboard variable”?
-
How about simply not making the query dependent on “the dashboard
variable”? -
Would setting the “Time Range - Override Relative Time” to something
ridiculously large help? -
Note that I did ask a question on 29th May about different panels in a
dashboard updating at different intervals , and the answer was “no; good idea,
but currently it can’t be done”.
https://localhost:3000/t/mixed-update-intervals-frequency/17775
Antony
@pooh
By variable I mean this one. In my dashboard I have a plugin whose query is independent on the variable and some other panels whose queries are dependent. This is why I want to prevent querying and updating on the plugin because it’s unnessary. The post you linked is different from what I need
By variable I mean this one Variable syntax | Grafana documentation
Ah, I see.
In my dashboard I have a plugin whose query is independent on the variable
and some other panels whose queries are dependent.
I’m slightly surprised that Grafana would issue another query when it does not
include the variable whose value has just been changed.
This is why I want to prevent querying and updating on the plugin because
it’s unnecessary.
Indeed. However, if you really are seeing that a query gets repeated when it
does not include the variable you are changing the value of, I would suggest
raising this as a bug / feature request (I’m not sure which category it best
fits into).
The post you linked is different from what I need
Indeed, I see that now.
Antony.
I’m seeing the exact same thing - panel refreshing upon a change to a variable that is not referenced in the query - even for default plugins, in my case a simple Graph Panel. Is this a known issue or something I’m missing config-wise?
Is this reported as a bug? Still happening on Grafana v7.3.4 (14c494085e)