Repeating row variable not working

Not sure what I’m doing wrong, but I cannot get a repeating row variable to work…

I’m using Grafana 8.4.4 via docker, and have set-up a repeating row on a variable (node).

Using that repeating row variable in the panel title (${node}) works, but using it in the query itself returns no results.

If I replace node_cpu_seconds_total{instance="${node}"} with node_cpu_seconds_total{instance="192.168.30.103:9100"}, then the query works, so I’m not sure why it isn’t picking up the desired result when using ${node}.

Maybe try this

wmi_system_threads{instance=~"$server"

Or

Can you check the following out

https://play.grafana.org/d/000000063/prometheus-templating?orgId=1&var-jobs=alertmanager&var-jobs=node&var-jobs=prometheus&var-disk_series=instance_device:node_disk_io_time_seconds:rate5m&var-query=up{env%3D"demo",instance%3D"demo.do.prometheus.io:9093",job%3D"alertmanager"}%201%201670819526000&var-instance=demo.do.prometheus.io:9100&var-instance2=demo.do.prometheus.io:9093&var-last=node

Huh, weird, node_cpu_seconds_total{instance=~"$node"} did indeed work…

Why would that work when a normal comparison operator (node_cpu_seconds_total{instance="$node"}) doesn’t?

Wrapping it in quotes for the title, there isn’t any additional spacing or anything…

Thank you :slight_smile:

1 Like

I believe dofferent data source do the variable filtering differently, which is wack

Ah I see!

Thank you again!