mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-28 07:36:37 +00:00
Fix typo and add yaml format.
This commit is contained in:
@@ -50,9 +50,9 @@ rate(wmi_net_bytes_total{instance="localhost", nic="Microsoft_Hyper_V_Network_Ad
|
|||||||
|
|
||||||
## Alerting examples
|
## Alerting examples
|
||||||
**prometheus.rules**
|
**prometheus.rules**
|
||||||
```
|
```yaml
|
||||||
- alert: NetInterfaceUsage
|
- alert: NetInterfaceUsage
|
||||||
expr: rate(wmi_net_bytes_total[2m]) * 8 / wmi_net_current_bandwidth * 100 > 90
|
expr: rate(wmi_net_bytes_total[2m]) * 8 / wmi_net_current_bandwidth * 100 > 95
|
||||||
for: 10m
|
for: 10m
|
||||||
labels:
|
labels:
|
||||||
severity: high
|
severity: high
|
||||||
|
|||||||
Reference in New Issue
Block a user