contrib/kube-prometheus: Generate new rules based on latest jsonnet changes

This commit is contained in:
Matthias Loibl
2018-09-14 11:29:45 +02:00
parent 407aaa5e2f
commit b308b25acc
2 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@
"subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus" "subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus"
} }
}, },
"version": "00c64bc438d2acf9c808388fe1e5d733e92b0c3b" "version": "34035de0f6c20ed3d84ba9a28e23765f11cb0b9f"
}, },
{ {
"name": "ksonnet", "name": "ksonnet",
@@ -78,7 +78,7 @@
"subdir": "Documentation/etcd-mixin" "subdir": "Documentation/etcd-mixin"
} }
}, },
"version": "a7b1306ecfefeabe48286403b260513786289922" "version": "001bbb97ccea05cb0d5f6e97c3939654244e8998"
} }
] ]
} }

View File

@@ -1077,7 +1077,7 @@ spec:
annotations: annotations:
message: Errors while reconciling Alertmanager in {{$labels.namespace}} namespace. message: Errors while reconciling Alertmanager in {{$labels.namespace}} namespace.
expr: | expr: |
rate(prometheus_operator_alertmanager_reconcile_errors_total{job="prometheus-operator"}[5m]) > 0.01 rate(prometheus_operator_alertmanager_reconcile_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m for: 10m
labels: labels:
severity: warning severity: warning
@@ -1085,7 +1085,7 @@ spec:
annotations: annotations:
message: Errors while reconciling Prometheus in {{$labels.namespace}} namespace. message: Errors while reconciling Prometheus in {{$labels.namespace}} namespace.
expr: | expr: |
rate(prometheus_operator_prometheus_reconcile_errors_total{job="prometheus-operator"}[5m]) > 0.01 rate(prometheus_operator_prometheus_reconcile_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m for: 10m
labels: labels:
severity: warning severity: warning
@@ -1093,7 +1093,7 @@ spec:
annotations: annotations:
message: Errors while reconciling Prometheus in {{$labels.namespace}} namespace. message: Errors while reconciling Prometheus in {{$labels.namespace}} namespace.
expr: | expr: |
rate(prometheus_operator_node_address_lookup_errors_total{job="prometheus-operator"}[5m]) > 0.01 rate(prometheus_operator_node_address_lookup_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m for: 10m
labels: labels:
severity: warning severity: warning