Specify YAML formatting to all rules config.

This commit is contained in:
Pei-Tang Huang
2019-10-30 16:08:03 +08:00
parent 92d0a1d8f0
commit fa12d1476f
4 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ wmi_os_timezone{timezone != "UTC"}
## Alerting examples
**prometheus.rules**
```
```yaml
# Alert on hosts that have exhausted all available physical memory
- alert: MemoryExhausted
expr: wmi_os_physical_memory_free_bytes == 0