Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include alerts for critical lbs #1146

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 32 additions & 0 deletions bindata/network/kuryr/alert-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,35 @@ spec:
histogram_quantile(0.95, rate(kuryr_cni_request_duration_seconds_bucket[10m])) > 30
labels:
severity: warning
- alert: KuryrLoadBalancerWithError
annotations:
message: Load Balancer {{"{{"}} $labels.lb_name {{"}}"}} is with {{"{{"}} $labels.kuryr_critical_lb_state {{"}}"}} state for more then 5m.
expr: |
kuryr_critical_lb_state{kuryr_critical_lb_state='ERROR'} == 1
for: 5m
labels:
severity: critical
- alert: KuryrLoadBalancerDeleted
annotations:
message: Load Balancer {{"{{"}} $labels.lb_name {{"}}"}} is not present for more then 5m.
expr: |
kuryr_critical_lb_state{kuryr_critical_lb_state='DELETED'} == 1
for: 5m
labels:
severity: critical
- alert: LimitedLoadBalancerMembers
annotations:
message: Low number of Members on Load Balancer {{"{{"}} $labels.lb_name {{"}}"}} with pool {{"{{"}} $labels.lb_pool_name {{"}}"}} for more then 5 min.
expr: |
kuryr_critical_lb_members_count == 1
for: 5m
labels:
severity: warning
- alert: InsuficientLoadBalancerMembers
annotations:
message: No Members on Load Balancer {{"{{"}} $labels.lb_name {{"}}"}} with pool {{"{{"}} $labels.lb_pool_name {{"}}"}} for more then 5 min.
expr: |
kuryr_critical_lb_members_count == 0
for: 5m
labels:
severity: critical