Increase doesn't work with =~$multi_value_variable

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    Display a timeseries using increase and a multi value variable

  • How are you trying to achieve it?
    Use query
    increase(executor_completed_tasks_total{instance=~"$instance", name="Alpine-EventService"}[$__rate_interval])

  • What happened?
    No data is being displayed. When I remove the increase part from the query it starts working.
    executor_completed_tasks_total{instance=~"$instance", name="Alpine-EventService"}
    Also when I change $instance into a single value variable and use exact match instead of regex match it also works.
    increase(executor_completed_tasks_total{instance="$instance", name="Alpine-EventService"}[$__rate_interval])

All other panels work fine with a multi value $instance and a =~ match in their queries. Problem seems to happen only for the panels that have increase in their query.

  • What did you expect to happen?
    Using increase on top of a working query with a multi value variable should work.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No errors, just no data. Query inspector shows no data being returned from backend.

  • Did you follow any online instructions? If so, what is the URL?