|
|
@ -6,7 +6,8 @@ groups: |
|
|
|
- alert: HighErrors |
|
|
|
- alert: HighErrors |
|
|
|
expr: | |
|
|
|
expr: | |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
/ sum without(instance) (rate(requests_total[5m])) |
|
|
|
/ |
|
|
|
|
|
|
|
sum without(instance) (rate(requests_total[5m])) |
|
|
|
for: 5m |
|
|
|
for: 5m |
|
|
|
labels: |
|
|
|
labels: |
|
|
|
severity: critical |
|
|
|
severity: critical |
|
|
@ -17,7 +18,8 @@ groups: |
|
|
|
- record: "new_metric" |
|
|
|
- record: "new_metric" |
|
|
|
expr: | |
|
|
|
expr: | |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
/ sum without(instance) (rate(requests_total[5m])) |
|
|
|
/ |
|
|
|
|
|
|
|
sum without(instance) (rate(requests_total[5m])) |
|
|
|
labels: |
|
|
|
labels: |
|
|
|
abc: edf |
|
|
|
abc: edf |
|
|
|
uvw: xyz |
|
|
|
uvw: xyz |
|
|
@ -25,7 +27,8 @@ groups: |
|
|
|
- alert: HighErrors |
|
|
|
- alert: HighErrors |
|
|
|
expr: | |
|
|
|
expr: | |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
/ sum without(instance) (rate(requests_total[5m])) |
|
|
|
/ |
|
|
|
|
|
|
|
sum without(instance) (rate(requests_total[5m])) |
|
|
|
for: 5m |
|
|
|
for: 5m |
|
|
|
labels: |
|
|
|
labels: |
|
|
|
severity: critical |
|
|
|
severity: critical |
|
|
@ -38,7 +41,8 @@ groups: |
|
|
|
- alert: HighErrors |
|
|
|
- alert: HighErrors |
|
|
|
expr: | |
|
|
|
expr: | |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
/ sum without(instance) (rate(requests_total[5m])) |
|
|
|
/ |
|
|
|
|
|
|
|
sum without(instance) (rate(requests_total[5m])) |
|
|
|
for: 5m |
|
|
|
for: 5m |
|
|
|
labels: |
|
|
|
labels: |
|
|
|
severity: critical |
|
|
|
severity: critical |
|
|
@ -46,12 +50,14 @@ groups: |
|
|
|
- record: "new_metric" |
|
|
|
- record: "new_metric" |
|
|
|
expr: | |
|
|
|
expr: | |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
/ sum without(instance) (rate(requests_total[5m])) |
|
|
|
/ |
|
|
|
|
|
|
|
sum without(instance) (rate(requests_total[5m])) |
|
|
|
|
|
|
|
|
|
|
|
- alert: HighErrors |
|
|
|
- alert: HighErrors |
|
|
|
expr: | |
|
|
|
expr: | |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
sum without(instance) (rate(errors_total[5m])) |
|
|
|
/ sum without(instance) (rate(requests_total[5m])) |
|
|
|
/ |
|
|
|
|
|
|
|
sum without(instance) (rate(requests_total[5m])) |
|
|
|
for: 5m |
|
|
|
for: 5m |
|
|
|
labels: |
|
|
|
labels: |
|
|
|
severity: critical |
|
|
|
severity: critical |
|
|
|