Skip to content

Commit a397ae5

Browse files
committed
feat: added terraform and oncall annotations
Signed-off-by: David Calvert <[email protected]>
1 parent a3be7bd commit a397ae5

8 files changed

+296
-8
lines changed

dashboards/k8s-addons-prometheus.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,42 @@
6161
"type": "dashboard"
6262
},
6363
"type": "dashboard"
64+
},
65+
{
66+
"datasource": {
67+
"type": "datasource",
68+
"uid": "grafana"
69+
},
70+
"enable": true,
71+
"hide": false,
72+
"iconColor": "#5c4ee5",
73+
"name": "terraform",
74+
"target": {
75+
"limit": 100,
76+
"matchAny": false,
77+
"tags": [
78+
"terraform"
79+
],
80+
"type": "tags"
81+
}
82+
},
83+
{
84+
"datasource": {
85+
"type": "datasource",
86+
"uid": "grafana"
87+
},
88+
"enable": true,
89+
"hide": false,
90+
"iconColor": "red",
91+
"name": "oncall",
92+
"target": {
93+
"limit": 100,
94+
"matchAny": false,
95+
"tags": [
96+
"oncall"
97+
],
98+
"type": "tags"
99+
}
64100
}
65101
]
66102
},
@@ -3146,6 +3182,6 @@
31463182
"timezone": "",
31473183
"title": "Prometheus",
31483184
"uid": "k8s_addons_prometheus",
3149-
"version": 6,
3185+
"version": 7,
31503186
"weekStart": ""
31513187
}

dashboards/k8s-addons-trivy-operator.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,42 @@
6161
"type": "dashboard"
6262
},
6363
"type": "dashboard"
64+
},
65+
{
66+
"datasource": {
67+
"type": "datasource",
68+
"uid": "grafana"
69+
},
70+
"enable": true,
71+
"hide": false,
72+
"iconColor": "#5c4ee5",
73+
"name": "terraform",
74+
"target": {
75+
"limit": 100,
76+
"matchAny": false,
77+
"tags": [
78+
"terraform"
79+
],
80+
"type": "tags"
81+
}
82+
},
83+
{
84+
"datasource": {
85+
"type": "datasource",
86+
"uid": "grafana"
87+
},
88+
"enable": true,
89+
"hide": false,
90+
"iconColor": "red",
91+
"name": "oncall",
92+
"target": {
93+
"limit": 100,
94+
"matchAny": false,
95+
"tags": [
96+
"oncall"
97+
],
98+
"type": "tags"
99+
}
64100
}
65101
]
66102
},
@@ -2692,6 +2728,6 @@
26922728
"timezone": "",
26932729
"title": "Trivy Operator - Vulnerabilities",
26942730
"uid": "security_trivy_operator",
2695-
"version": 13,
2731+
"version": 14,
26962732
"weekStart": ""
26972733
}

dashboards/k8s-system-api-server.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,42 @@
5555
"type": "dashboard"
5656
},
5757
"type": "dashboard"
58+
},
59+
{
60+
"datasource": {
61+
"type": "datasource",
62+
"uid": "grafana"
63+
},
64+
"enable": true,
65+
"hide": false,
66+
"iconColor": "#5c4ee5",
67+
"name": "terraform",
68+
"target": {
69+
"limit": 100,
70+
"matchAny": false,
71+
"tags": [
72+
"terraform"
73+
],
74+
"type": "tags"
75+
}
76+
},
77+
{
78+
"datasource": {
79+
"type": "datasource",
80+
"uid": "grafana"
81+
},
82+
"enable": true,
83+
"hide": false,
84+
"iconColor": "red",
85+
"name": "oncall",
86+
"target": {
87+
"limit": 100,
88+
"matchAny": false,
89+
"tags": [
90+
"oncall"
91+
],
92+
"type": "tags"
93+
}
5894
}
5995
]
6096
},
@@ -1358,6 +1394,6 @@
13581394
"timezone": "",
13591395
"title": "Kubernetes / System / API Server",
13601396
"uid": "k8s_system_apisrv",
1361-
"version": 18,
1397+
"version": 19,
13621398
"weekStart": ""
13631399
}

dashboards/k8s-system-coredns.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,42 @@
5555
"type": "dashboard"
5656
},
5757
"type": "dashboard"
58+
},
59+
{
60+
"datasource": {
61+
"type": "datasource",
62+
"uid": "grafana"
63+
},
64+
"enable": true,
65+
"hide": false,
66+
"iconColor": "#5c4ee5",
67+
"name": "terraform",
68+
"target": {
69+
"limit": 100,
70+
"matchAny": false,
71+
"tags": [
72+
"terraform"
73+
],
74+
"type": "tags"
75+
}
76+
},
77+
{
78+
"datasource": {
79+
"type": "datasource",
80+
"uid": "grafana"
81+
},
82+
"enable": true,
83+
"hide": false,
84+
"iconColor": "red",
85+
"name": "oncall",
86+
"target": {
87+
"limit": 100,
88+
"matchAny": false,
89+
"tags": [
90+
"oncall"
91+
],
92+
"type": "tags"
93+
}
5894
}
5995
]
6096
},
@@ -1559,6 +1595,6 @@
15591595
"timezone": "",
15601596
"title": "Kubernetes / System / CoreDNS",
15611597
"uid": "k8s_system_coredns",
1562-
"version": 19,
1598+
"version": 20,
15631599
"weekStart": ""
15641600
}

dashboards/k8s-views-global.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,42 @@
6161
"type": "dashboard"
6262
},
6363
"type": "dashboard"
64+
},
65+
{
66+
"datasource": {
67+
"type": "datasource",
68+
"uid": "grafana"
69+
},
70+
"enable": true,
71+
"hide": false,
72+
"iconColor": "#5c4ee5",
73+
"name": "terraform",
74+
"target": {
75+
"limit": 100,
76+
"matchAny": false,
77+
"tags": [
78+
"terraform"
79+
],
80+
"type": "tags"
81+
}
82+
},
83+
{
84+
"datasource": {
85+
"type": "datasource",
86+
"uid": "grafana"
87+
},
88+
"enable": true,
89+
"hide": false,
90+
"iconColor": "red",
91+
"name": "oncall",
92+
"target": {
93+
"limit": 100,
94+
"matchAny": false,
95+
"tags": [
96+
"oncall"
97+
],
98+
"type": "tags"
99+
}
64100
}
65101
]
66102
},
@@ -3520,6 +3556,6 @@
35203556
"timezone": "",
35213557
"title": "Kubernetes / Views / Global",
35223558
"uid": "k8s_views_global",
3523-
"version": 42,
3559+
"version": 43,
35243560
"weekStart": ""
35253561
}

dashboards/k8s-views-namespaces.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,42 @@
6161
"type": "dashboard"
6262
},
6363
"type": "dashboard"
64+
},
65+
{
66+
"datasource": {
67+
"type": "datasource",
68+
"uid": "grafana"
69+
},
70+
"enable": true,
71+
"hide": false,
72+
"iconColor": "#5c4ee5",
73+
"name": "terraform",
74+
"target": {
75+
"limit": 100,
76+
"matchAny": false,
77+
"tags": [
78+
"terraform"
79+
],
80+
"type": "tags"
81+
}
82+
},
83+
{
84+
"datasource": {
85+
"type": "datasource",
86+
"uid": "grafana"
87+
},
88+
"enable": true,
89+
"hide": false,
90+
"iconColor": "red",
91+
"name": "oncall",
92+
"target": {
93+
"limit": 100,
94+
"matchAny": false,
95+
"tags": [
96+
"oncall"
97+
],
98+
"type": "tags"
99+
}
64100
}
65101
]
66102
},
@@ -2993,6 +3029,6 @@
29933029
"timezone": "",
29943030
"title": "Kubernetes / Views / Namespaces",
29953031
"uid": "k8s_views_ns",
2996-
"version": 41,
3032+
"version": 42,
29973033
"weekStart": ""
29983034
}

dashboards/k8s-views-nodes.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,42 @@
6767
"type": "dashboard"
6868
},
6969
"type": "dashboard"
70+
},
71+
{
72+
"datasource": {
73+
"type": "datasource",
74+
"uid": "grafana"
75+
},
76+
"enable": true,
77+
"hide": false,
78+
"iconColor": "#5c4ee5",
79+
"name": "terraform",
80+
"target": {
81+
"limit": 100,
82+
"matchAny": false,
83+
"tags": [
84+
"terraform"
85+
],
86+
"type": "tags"
87+
}
88+
},
89+
{
90+
"datasource": {
91+
"type": "datasource",
92+
"uid": "grafana"
93+
},
94+
"enable": true,
95+
"hide": false,
96+
"iconColor": "red",
97+
"name": "oncall",
98+
"target": {
99+
"limit": 100,
100+
"matchAny": false,
101+
"tags": [
102+
"oncall"
103+
],
104+
"type": "tags"
105+
}
70106
}
71107
]
72108
},
@@ -3978,6 +4014,6 @@
39784014
"timezone": "",
39794015
"title": "Kubernetes / Views / Nodes",
39804016
"uid": "k8s_views_nodes",
3981-
"version": 32,
4017+
"version": 33,
39824018
"weekStart": ""
39834019
}

0 commit comments

Comments
 (0)