Skip to content

Commit cb968ba

Browse files
committed
Fix a bug in alertmanager 0.9.0. Fix a query in grafana dashboard.
1 parent f413d01 commit cb968ba

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

operator/assets/grafana/kubernetes-cluster-health-dashboard.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "grafana",
1515
"id": "grafana",
1616
"name": "Grafana",
17-
"version": "4.4.1"
17+
"version": "4.5.2"
1818
},
1919
{
2020
"type": "datasource",
@@ -428,7 +428,7 @@
428428
"tableColumn": "",
429429
"targets": [
430430
{
431-
"expr": "sum(kube_node_status_ready{condition!=\"true\"})",
431+
"expr": "sum(kube_node_status_condition{condition!=\"Ready\", status=\"true\"})",
432432
"format": "time_series",
433433
"intervalFactor": 2,
434434
"legendFormat": "",
@@ -730,4 +730,4 @@
730730
"timezone": "",
731731
"title": "Kubernetes Cluster Health",
732732
"version": 12
733-
}
733+
}

operator/deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
GRAFANA_DEFAULT_VERSION=4.5.2
77
PROMETHEUS_DEFAULT_VERSION=v2.0.0-beta.5
88
PROMETHEUS_OPERATOR_DEFAULT_VERSION=v0.13.0
9-
ALERT_MANAGER_DEFAULT_VERSION=v0.9.0
9+
ALERT_MANAGER_DEFAULT_VERSION=v0.9.1
1010
NODE_EXPORTER_DEFAULT_VERSION=v0.14.0
1111
KUBE_STATE_METRICS_DEFAULT_VERSION=v1.0.1
1212

operator/manifests/grafana/grafana-dashboards.cm.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,7 @@ data:
19121912
"type": "grafana",
19131913
"id": "grafana",
19141914
"name": "Grafana",
1915-
"version": "4.4.1"
1915+
"version": "4.5.2"
19161916
},
19171917
{
19181918
"type": "datasource",
@@ -2326,7 +2326,7 @@ data:
23262326
"tableColumn": "",
23272327
"targets": [
23282328
{
2329-
"expr": "sum(kube_node_status_ready{condition!=\"true\"})",
2329+
"expr": "sum(kube_node_status_condition{condition!=\"Ready\", status=\"true\"})",
23302330
"format": "time_series",
23312331
"intervalFactor": 2,
23322332
"legendFormat": "",
@@ -2628,7 +2628,8 @@ data:
26282628
"timezone": "",
26292629
"title": "Kubernetes Cluster Health",
26302630
"version": 12
2631-
},
2631+
}
2632+
,
26322633
"inputs": [
26332634
{
26342635
"name": "DS_PROMETHEUS",

0 commit comments

Comments
 (0)