contrib/kube-prometheus: Generate new manifests after fixing tyops in rules

This commit is contained in:
Matthias Loibl
2018-09-14 13:46:18 +02:00
parent 24141c464f
commit df65f57fb4
2 changed files with 5 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
"subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus" "subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus"
} }
}, },
"version": "34035de0f6c20ed3d84ba9a28e23765f11cb0b9f" "version": "bffc85d6e76f6341d5370af68ea980030ab402e8"
}, },
{ {
"name": "ksonnet", "name": "ksonnet",

View File

@@ -1075,7 +1075,8 @@ spec:
rules: rules:
- alert: PrometheusOperatorAlertmanagerReconcileErrors - alert: PrometheusOperatorAlertmanagerReconcileErrors
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.1 rate(prometheus_operator_alertmanager_reconcile_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m for: 10m
@@ -1083,7 +1084,7 @@ spec:
severity: warning severity: warning
- alert: PrometheusOperatorPrometheusReconcileErrors - alert: PrometheusOperatorPrometheusReconcileErrors
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.1 rate(prometheus_operator_prometheus_reconcile_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m for: 10m
@@ -1091,7 +1092,7 @@ spec:
severity: warning severity: warning
- alert: PrometheusOperatorNodeLookupErrors - alert: PrometheusOperatorNodeLookupErrors
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.1 rate(prometheus_operator_node_address_lookup_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m for: 10m