Skip to content

Commit 35eb279

Browse files
alerts: harbor error rate alert bug fix (#262)
Co-authored-by: JA Samitier <[email protected]>
1 parent a6efc81 commit 35eb279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/harbor/include/alerts/alerts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ groups:
6767
description: Harbor p99 latency is higher than 10 seconds
6868
- alert: '[Harbor] Harbor Error Rate is High'
6969
expr: |
70-
sum(rate(registry_http_requests_total{code=~"4..|5.."}[5m]))/sum(rate(registry_http_requests_total[5m]))
70+
sum(rate(registry_http_requests_total{code=~"4..|5.."}[5m]))/sum(rate(registry_http_requests_total[5m])) > 0.15
7171
for: 5m
7272
labels:
7373
severity: warning

0 commit comments

Comments
 (0)