Skip to content

Commit 96f159c

Browse files
committed
FIX tests
1 parent 81efe2a commit 96f159c

File tree

1 file changed

+51
-50
lines changed

1 file changed

+51
-50
lines changed

resources/istio/alerts.yaml

Lines changed: 51 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -9,53 +9,54 @@ configurations:
99
- kind: Prometheus
1010
data: |-
1111
groups:
12-
- name: Istio
13-
rules:
14-
- alert: '[Istio-Citadel] CSR without success'
15-
expr: |
16-
rate(citadel_server_csr_count - citadel_server_success_cert_issuance_count[5m]) > 0
17-
for: 5m
18-
labels:
19-
severity: warning
20-
annotations:
21-
description: Some of the Certificate Signing Request (CSR) were not correctly requested
22-
- alert: '[Istio-Pilot] Inbound listener rules conflicts'
23-
expr: |
24-
pilot_conflict_inbound_listener > 0
25-
for: 5m
26-
labels:
27-
severity: warning
28-
annotations:
29-
description: There are some conflict with inbound listener rules
30-
- alert: '[Istio-Pilot] Endpoint found in unready state'
31-
expr: |
32-
pilot_endpoint_not_ready > 0
33-
for: 5m
34-
labels:
35-
severity: warning
36-
annotations:
37-
description: Endpoint found in unready state
38-
- alert: '[Istio] Unstable requests for sidecar injections'
39-
expr: |
40-
sidecar_injection_requests_total - sidecar_injection_success_total > 0
41-
for: 5m
42-
labels:
43-
severity: warning
44-
annotations:
45-
description: Sidecar injections requests has no been successfully resolved
46-
- alert: '[Istio-Envoy] High 4xx RequestError Rate'
47-
expr: |
48-
sum (rate(istio_requests_total{ response_code=~"4..", reporter="source"}[5m]))/ sum (rate(istio_requests_total{ reporter="source"}[5m]))> 0.05
49-
for: 5m
50-
labels:
51-
severity: critical
52-
annotations:
53-
description: High 4xx RequestError Rate
54-
- alert: '[Istio-Envoy] High Request Latency'
55-
expr: |
56-
histogram_quantile(0.95,sum(rate(envoy_cluster_upstream_cx_connect_ms_bucket[5m])) by (le)) > 100
57-
for: 5m
58-
labels:
59-
severity: critical
60-
annotations:
61-
description: Envoy High Request Latency
12+
- name: Istio
13+
rules:
14+
- alert: '[Istio-Citadel] CSR without success'
15+
expr: |
16+
rate(citadel_server_csr_count[5m]) - rate(citadel_server_success_cert_issuance_count[5m]) > 0
17+
for: 5m
18+
labels:
19+
severity: warning
20+
annotations:
21+
description: Some of the Certificate Signing Request (CSR) were not correctly requested
22+
- alert: '[Istio-Pilot] Inbound listener rules conflicts'
23+
expr: |
24+
pilot_conflict_inbound_listener > 0
25+
for: 5m
26+
labels:
27+
severity: warning
28+
annotations:
29+
description: There are some conflict with inbound listener rules
30+
- alert: '[Istio-Pilot] Endpoint found in unready state'
31+
expr: |
32+
pilot_endpoint_not_ready > 0
33+
for: 5m
34+
labels:
35+
severity: warning
36+
annotations:
37+
description: Endpoint found in unready state
38+
- alert: '[Istio] Unstable requests for sidecar injections'
39+
expr: |
40+
rate(sidecar_injection_requests_total[5m]) - rate(sidecar_injection_success_total[5m]) > 0
41+
for: 5m
42+
labels:
43+
severity: warning
44+
annotations:
45+
description: Sidecar injections requests has no been successfully resolved
46+
- alert: '[Istio-Envoy] High 4xx RequestError Rate'
47+
expr: |
48+
sum (rate(istio_requests_total{ response_code=~"4..", reporter="source"}[5m]))/ sum (rate(istio_requests_total{ reporter="source"}[5m]))> 0.05
49+
for: 5m
50+
labels:
51+
severity: critical
52+
annotations:
53+
description: High 4xx RequestError Rate
54+
- alert: '[Istio-Envoy] High Request Latency'
55+
expr: |
56+
histogram_quantile(0.95,sum(rate(envoy_cluster_upstream_cx_connect_ms_bucket[5m])) by (le)) > 100
57+
for: 5m
58+
labels:
59+
severity: critical
60+
annotations:
61+
description: Envoy High Request Latency
62+

0 commit comments

Comments
 (0)