diff --git a/README.md b/README.md index a3a11bf..29ebfe5 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ Collection available here: **[https://awesome-prometheus-alerts.grep.to](https:/ - [Thanos](https://awesome-prometheus-alerts.grep.to/rules#thanos) - [Loki](https://awesome-prometheus-alerts.grep.to/rules#loki) +- [Promtail](https://awesome-prometheus-alerts.grep.to/rules#promtail) - [Cortex](https://awesome-prometheus-alerts.grep.to/rules#cortex) ## 🤝 Contributing diff --git a/_data/rules.yml b/_data/rules.yml index ef19123..976ec34 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -2053,12 +2053,12 @@ groups: description: The {{ $labels.job }} {{ $labels.route }} is experiencing {{ printf "%.2f" $value }}% errors. query: '100 * sum(rate(promtail_request_duration_seconds_count{status_code=~"5..|failed"}[1m])) by (namespace, job, route, instance) / sum(rate(promtail_request_duration_seconds_count[1m])) by (namespace, job, route, instance) > 10' severity: critical - for: 15m + for: 5m - name: Promtail request latency description: The {{ $labels.job }} {{ $labels.route }} is experiencing {{ printf "%.2f" $value }}s 99th percentile latency. query: histogram_quantile(0.99, sum(rate(promtail_request_duration_seconds_bucket[5m])) by (le)) > 1 severity: critical - for: 15m + for: 5m - name: Cortex exporters: - rules: