Skip to content

Dashboard cells off screen are not updated when variables change #21073

Open
@ghost

Description

Only cells visible on screen are reloaded for variable changes on dashboards. The way I've observed this is having multiple hosts reporting into a single bucket but I'd expect it to be the same when switching between buckets.

Steps to reproduce:

  1. Install telegraf on two hosts and have them report in to a single bucket
  2. Create a host variable of type query
import "influxdata/influxdb/schema"`

schema.tagValues(bucket: v.bucket, tag: "host")
  1. Import the stock system dashboard from the template, add the following filter to two of the cells/graphs, drag one of them below the viewable area.
    |> filter(fn: (r) => r["host"] == v.host)
  2. Change between the two host variables from the drop down and observe the two graphs by scrolling up and down

Expected behavior:
Both graphs to change which host is filtered to when the host variable is updated

Actual behavior:
Only the graph currently on the screen updates - the other is left filtering to the previous host

Environment info:

  • System info: Linux 5.4.0-66-generic x86_64
  • InfluxDB version: InfluxDB 2.0.4 (git: 4e7a59b) build_date: 2021-02-08T17:47:02Z
  • Other relevant environment details: Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions