mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-07 21:46:37 +00:00
Update docs/collector.os.md
change in syntax suggested by jkroepke Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de> Signed-off-by: Isai <59813207+exgolden@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@ 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
|
||||
100 - 100 * windows_os_physical_memory_free_bytes{instance="localhost"} / windows_cs_physical_memory_bytes{instance="localhost"}
|
||||
```
|
||||
|
||||
## Alerting examples
|
||||
|
||||
Reference in New Issue
Block a user