Skip to content

Commit a734047

Browse files
committed
chore: correct gorelease config
Signed-off-by: Oliver Bähler <[email protected]>
1 parent a0120ac commit a734047

File tree

3 files changed

+18
-51
lines changed

3 files changed

+18
-51
lines changed

charts/cortex-proxy/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The following Values are available for this chart.
107107
| monitoring.enabled | bool | `false` | Enable Monitoring of the Operator |
108108
| monitoring.rules.annotations | object | `{}` | Assign additional Annotations |
109109
| monitoring.rules.enabled | bool | `true` | Enable deployment of PrometheusRules |
110-
| monitoring.rules.groups | list | `[{"alert":"CortexProxyTooMany500s","annotations":{"description":"Too many 5XXs","summary":"More than 5% of all requests returned 5XX, this requires your attention"},"expr":"100 * ( sum( timeseries_request_duration_seconds{code=~\"5.+\"} ) / sum(timeseries_request_duration_seconds) ) > 5","for":"5m","labels":{"severity":"warning"}},{"alert":"CortexProxyTooMany400s","annotations":{"description":"Too many 4XXs","summary":"More than 5% of all requests returned 4XX, this requires your attention"},"expr":"100 * ( sum( timeseries_request_duration_seconds{status=~\"4.+\"} ) / sum(timeseries_request_duration_seconds) ) > 5","for":"5m","labels":{"severity":"warning"}}]` | Prometheus Groups for the rule |
110+
| monitoring.rules.groups | list | `[]` | Prometheus Groups for the rule |
111111
| monitoring.rules.labels | object | `{}` | Assign additional labels |
112112
| monitoring.rules.namespace | string | `""` | Install the rules into a different Namespace, as the monitoring stack one (default: the release one) |
113113
| monitoring.serviceMonitor.annotations | object | `{}` | Assign additional Annotations |

charts/cortex-proxy/values.schema.json

-33
Original file line numberDiff line numberDiff line change
@@ -183,39 +183,6 @@
183183
"type": "boolean"
184184
},
185185
"groups": {
186-
"items": {
187-
"properties": {
188-
"alert": {
189-
"type": "string"
190-
},
191-
"annotations": {
192-
"properties": {
193-
"description": {
194-
"type": "string"
195-
},
196-
"summary": {
197-
"type": "string"
198-
}
199-
},
200-
"type": "object"
201-
},
202-
"expr": {
203-
"type": "string"
204-
},
205-
"for": {
206-
"type": "string"
207-
},
208-
"labels": {
209-
"properties": {
210-
"severity": {
211-
"type": "string"
212-
}
213-
},
214-
"type": "object"
215-
}
216-
},
217-
"type": "object"
218-
},
219186
"type": "array"
220187
},
221188
"labels": {

charts/cortex-proxy/values.yaml

+17-17
Original file line numberDiff line numberDiff line change
@@ -219,23 +219,23 @@ monitoring:
219219
# -- Assign additional Annotations
220220
annotations: {}
221221
# -- Prometheus Groups for the rule
222-
groups:
223-
- alert: CortexProxyTooMany500s
224-
expr: 100 * ( sum( timeseries_request_duration_seconds{code=~"5.+"} ) / sum(timeseries_request_duration_seconds) ) > 5
225-
for: 5m
226-
labels:
227-
severity: warning
228-
annotations:
229-
description: Too many 5XXs
230-
summary: More than 5% of all requests returned 5XX, this requires your attention
231-
- alert: CortexProxyTooMany400s
232-
expr: 100 * ( sum( timeseries_request_duration_seconds{status=~"4.+"} ) / sum(timeseries_request_duration_seconds) ) > 5
233-
for: 5m
234-
labels:
235-
severity: warning
236-
annotations:
237-
description: Too many 4XXs
238-
summary: More than 5% of all requests returned 4XX, this requires your attention
222+
groups: []
223+
# - alert: CortexProxyTooMany500s
224+
# expr: 100 * ( sum( timeseries_request_duration_seconds{code=~"5.+"} ) / sum(timeseries_request_duration_seconds) ) > 5
225+
# for: 5m
226+
# labels:
227+
# severity: warning
228+
# annotations:
229+
# description: Too many 5XXs
230+
# summary: More than 5% of all requests returned 5XX, this requires your attention
231+
# - alert: CortexProxyTooMany400s
232+
# expr: 100 * ( sum( timeseries_request_duration_seconds{status=~"4.+"} ) / sum(timeseries_request_duration_seconds) ) > 5
233+
# for: 5m
234+
# labels:
235+
# severity: warning
236+
# annotations:
237+
# description: Too many 4XXs
238+
# summary: More than 5% of all requests returned 4XX, this requires your attention
239239
# ServiceMonitor
240240
serviceMonitor:
241241
# -- Enable ServiceMonitor

0 commit comments

Comments
 (0)