Skip to content

Commit

Permalink
fix(dashboards): templating default values (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtief authored Nov 26, 2024
1 parent dbe10a0 commit 017e014
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 38 deletions.
2 changes: 1 addition & 1 deletion charts/kubernetes-operations/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

apiVersion: v2
name: kubernetes-operations
version: 1.1.4
version: 1.1.5
description: A set of Plutono dashboards and Prometheus alerting rules combined with playbooks to ensure effective operations of Kubernetes.
maintainers:
- name: Richard Tief (I520251)
Expand Down
4 changes: 2 additions & 2 deletions charts/kubernetes-operations/dashboards/apiserver.json
Original file line number Diff line number Diff line change
Expand Up @@ -986,8 +986,8 @@
{
"current": {
"selected": false,
"text": "kube-monitoring-obs-eu-de-1-prometheus",
"value": "kube-monitoring-obs-eu-de-1-prometheus"
"text": "kube-monitoring-prometheus",
"value": "kube-monitoring-prometheus"
},
"description": null,
"error": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1287,8 +1287,8 @@
{
"current": {
"selected": false,
"text": "kube-monitoring-obs-eu-nl-1-prometheus",
"value": "kube-monitoring-obs-eu-nl-1-prometheus"
"text": "kube-monitoring-prometheus",
"value": "kube-monitoring-prometheus"
},
"description": null,
"error": null,
Expand Down
6 changes: 3 additions & 3 deletions charts/kubernetes-operations/dashboards/core-dns.json
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Forwarded respones by rcode",
"title": "Forwarded responses by rcode",
"tooltip": {
"shared": true,
"sort": 0,
Expand Down Expand Up @@ -1088,8 +1088,8 @@
{
"current": {
"selected": false,
"text": "kube-monitoring-obs-eu-nl-1-prometheus",
"value": "kube-monitoring-obs-eu-nl-1-prometheus"
"text": "kube-monitoring-prometheus",
"value": "kube-monitoring-prometheus"
},
"description": null,
"error": null,
Expand Down
56 changes: 26 additions & 30 deletions charts/kubernetes-operations/dashboards/nodes.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,15 @@
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
},
{
"datasource": "$datasource",
"enable": false,
"expr": "ALERTS{alertname=\"KubernetesNodeNotReady\"}",
"iconColor": "rgba(255, 96, 96, 1)",
"limit": 100,
"name": "node-down",
"textFormat": "{{node}}",
"titleFormat": "{{alertname}}",
"type": "alert"
}
]
},
"description": "",
"editable": true,
"gnetId": 704,
"graphTooltip": 0,
"id": 4,
"iteration": 1730903325934,
"id": 16,
"iteration": 1732622485987,
"links": [
{
"icon": "external link",
Expand Down Expand Up @@ -95,13 +84,12 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"targets": [
{
"exemplar": true,
"expr": "count without(cpu, mode) (node_cpu_seconds_total{mode=\"idle\", node=~\"$server.*\"})",
"format": "time_series",
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
Expand Down Expand Up @@ -692,7 +680,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -829,7 +817,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -1030,7 +1018,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -1136,7 +1124,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -1244,7 +1232,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -1358,7 +1346,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -1500,7 +1488,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -1597,7 +1585,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -1694,7 +1682,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.33",
"pluginVersion": "7.5.34",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -1763,7 +1751,11 @@
"templating": {
"list": [
{
"current": {},
"current": {
"selected": false,
"text": "kube-monitoring-prometheus",
"value": "kube-monitoring-prometheus"
},
"description": null,
"error": null,
"hide": 0,
Expand All @@ -1781,9 +1773,13 @@
},
{
"allValue": null,
"current": {},
"current": {
"selected": false,
"text": "node-1",
"value": "node-1"
},
"datasource": "$datasource",
"definition": "",
"definition": "label_values(kube_node_info, node)",
"description": null,
"error": null,
"hide": 1,
Expand All @@ -1793,7 +1789,8 @@
"name": "server",
"options": [],
"query": {
"query": "label_values(kube_node_info, node)"
"query": "label_values(kube_node_info, node)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
Expand Down Expand Up @@ -1838,6 +1835,5 @@
},
"timezone": "browser",
"title": "Kubernetes Node",
"uid": "6f227e1eK",
"version": 1
"version": 4
}

0 comments on commit 017e014

Please sign in to comment.