Hi,
I'm writing a rule about the Windows server disk fullness, but the warning
is showing the capacity of the disk incorrectly, I can't find where there
is an error
DiskFull
- alert: DiskFull expr: ((100 - 100 * ((windows_logical_disk_free_bytes
/ 1024 / 1024) / ((windows_logical_disk_size_bytes) / 1024 / 1024)) > 90))
for: 3s labels: severity: 'Warning' annotations: DiscCapasity: "{{ printf
"windows_logical_disk_size_bytes{volume='%s'}" .Labels.volume | query |
first | value | humanize }}"
--
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/beeddb39-b7c4-4984-8eee-858e3cd16e42n%40googlegroups.com.