Skip to content

Commit

Permalink
Merge pull request #263 from sysdiglabs/staging
Browse files Browse the repository at this point in the history
alerts: harbor error rate alert bug fix
  • Loading branch information
carlosadiegosysdig authored Jun 8, 2023
2 parents 96b25b2 + 35eb279 commit 2d16c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/harbor/include/alerts/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ groups:
description: Harbor p99 latency is higher than 10 seconds
- alert: '[Harbor] Harbor Error Rate is High'
expr: |
sum(rate(registry_http_requests_total{code=~"4..|5.."}[5m]))/sum(rate(registry_http_requests_total[5m]))
sum(rate(registry_http_requests_total{code=~"4..|5.."}[5m]))/sum(rate(registry_http_requests_total[5m])) > 0.15
for: 5m
labels:
severity: warning
Expand Down

0 comments on commit 2d16c6d

Please sign in to comment.