Skip to content

Commit abe1da6

Browse files
committed
rm example of rule
1 parent 74189dd commit abe1da6

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

docs/docs/tutorials/creating-grafana-alerts.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -76,25 +76,6 @@ After creating rules, you need to configure **how and when alerts are sent**:
7676
7777
For example, you can create a notification policy that routes all `critical` alerts to Slack, and `warning` alerts to email.
7878
79-
### Example: High CPU Usage Alert
80-
81-
- **Rule name**: `High CPU Usage - Nebari Workers`
82-
- **Query**:
83-
```promql
84-
avg(rate(container_cpu_usage_seconds_total{pod=~"nebari-worker.*"}[5m])) * 100
85-
```
86-
87-
* **Condition**: Greater than 85
88-
* **For**: 10m
89-
* **Evaluation interval**: 1m
90-
* **Labels**:
91-
92-
- `severity=critical`
93-
94-
* **Notification**: Slack channel `#nebari-alerts`
95-
96-
This rule will fire if average CPU usage across Nebari worker pods stays above 85% for more than 10 minutes, and notify your operations team via Slack.
97-
9879
---
9980
10081
## Next Steps

0 commit comments

Comments
 (0)