mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-28 07:36:37 +00:00
Added useful query for memory usage
Signed-off-by: Isai <isai_alejandro@outlook.com>
This commit is contained in:
@@ -42,6 +42,11 @@ Find all devices not set to UTC timezone
|
|||||||
windows_os_timezone{timezone != "UTC"}
|
windows_os_timezone{timezone != "UTC"}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Show memory usage for instance (%)
|
||||||
|
```
|
||||||
|
100-(windows_os_physical_memory_free_bytes{instance="localhost"} / windows_cs_physical_memory_bytes{instance="localhost"})*100
|
||||||
|
```
|
||||||
|
|
||||||
## Alerting examples
|
## Alerting examples
|
||||||
**prometheus.rules**
|
**prometheus.rules**
|
||||||
```yaml
|
```yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user