Prevent panel from updating when variable changes

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?

  1. What exactly do you mean by “the dashboard variable”?

  2. How about simply not making the query dependent on “the dashboard
    variable”?

  3. Would setting the “Time Range - Override Relative Time” to something
    ridiculously large help?

  4. 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”.

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 https://grafana.com/docs/reference/templating/

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?