Hello Brian,
I have tried with instance and its saying No Data error. For Linux the same
queries working fine. Can we schedule some time to have a google meeting
to go over this.?
I am in Chicago ,so Central Time zone.
On Friday, June 19, 2020 at 2:57:55 AM UTC-5, Brian Candler wrote:
>
> 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/460db04c-94c4-4a9f-8d3c-ce18de10aca0o%40googlegroups.com.