You have configured some sort of dashboard variable (the drop-down menu in 
the top-left corner), but you have not configured your queries to use it.

For example, if the variable is called "$instance" your queries might need 
to be:

 100 - avg 
(irate(windows_cpu_time_total{instance="$instance",mode="idle"}[2m])) 
* 100

100.0 - 100 * ((windows_logical_disk_free_bytes{instance="$instance"} / 
1024 / 1024 ) / (windows_logical_disk_size_bytes{instance="$instance"} / 
1024 / 1024))

Can't give a more specific answer without seeing the definition of the 
variable.

Also you probably want to set a "legend" on your queries.  For Linux 
node_exporter I use {{ instance}} {{fstype}} {{ mountpoint }} - check the 
labels of your metrics and you should be able to find something similar for 
Windows.

[image: image-1.png]
 

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9dcee4ed-0f48-42bd-a722-173e25496c7fo%40googlegroups.com.

Reply via email to