Currently trying to do an interactive dashboard where the user can type in an IP address, and then it will list all pods associated with that IP address.
A hardcoded query that WORKS is kube_pod_info{host_ip="10.12.100.100"}
with legend as {{pod_name}}. But when I create a variable (such as a text variable) called pod_host_ip, with a default value of 10.12.100.100, and I use a query such as kube_pod_info{host_ip=${pod_host_ip}}
, it no longer works. Any ideas for me?
Note that this is using prometheus.