Added useful query for memory usage
Signed-off-by: Isai <isai_alejandro@outlook.com>
This commit is contained in:
parent
a3fc99f3fd
commit
1e52be0f35
|
@ -42,6 +42,11 @@ Find all devices not set to UTC timezone
|
|||
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
|
||||
**prometheus.rules**
|
||||
```yaml
|
||||
|
|
Loading…
Reference in New Issue