<p>While maintaining a simple set of a Grafana and a Prometheus pod, plus a few others, within a cluster on Azure Kubernetes Services (AKS)—I ran into an issue where a &quot;instance&quot; variable query set up in Grafana only retrieves any data from several, out of 52, VM's/instances in a Prometheus scrape job.</p>
<p>There are a couple other Grafana variables that can arbitrarily nest / be nested inside of the &quot;instance&quot; variable, but switching the order of them did nothing.
<a href="https://i.stack.imgur.com/n8koQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n8koQ.png" alt="the variables, including &quot;instance&quot; and &quot;environment&quot; which do not depend on each other and I tried switching" /></a></p>
<p>To elaborate, this is bizarre because I am getting perfect data for 11 out of the 52 VM's/instances while the others are not being populated in the &quot;instance&quot; Grafana variable as they should be. Maybe this is a backend issue, but have not found any oddities while probing around with <code>kubectl</code>.</p>
<p>Thank you!</p>

Jackalakalaka
<p>All the 52 instances were not sending the windows_iis_requests_total metric.Hence the label_values gave the incomplete response.</p>
