1
+ apiVersion : v1
2
+ data :
3
+ gabi-grafana-json2.json : |
4
+ {
5
+ "annotations": {
6
+ "list": [
7
+ {
8
+ "builtIn": 1,
9
+ "datasource": {
10
+ "type": "grafana",
11
+ "uid": "-- Grafana --"
12
+ },
13
+ "enable": true,
14
+ "hide": true,
15
+ "iconColor": "rgba(0, 211, 255, 1)",
16
+ "name": "Annotations & Alerts",
17
+ "target": {
18
+ "limit": 100,
19
+ "matchAny": false,
20
+ "tags": [],
21
+ "type": "dashboard"
22
+ },
23
+ "type": "dashboard"
24
+ }
25
+ ]
26
+ },
27
+ "editable": true,
28
+ "fiscalYearStartMonth": 0,
29
+ "graphTooltip": 0,
30
+ "id": 521,
31
+ "iteration": 1661967657577,
32
+ "links": [],
33
+ "liveNow": false,
34
+ "panels": [
35
+ {
36
+ "datasource": {
37
+ "type": "prometheus",
38
+ "uid": "${datasource}"
39
+ },
40
+ "fieldConfig": {
41
+ "defaults": {
42
+ "color": {
43
+ "mode": "thresholds"
44
+ },
45
+ "mappings": [],
46
+ "thresholds": {
47
+ "mode": "absolute",
48
+ "steps": [
49
+ {
50
+ "color": "green",
51
+ "value": null
52
+ },
53
+ {
54
+ "color": "red",
55
+ "value": 80
56
+ }
57
+ ]
58
+ }
59
+ },
60
+ "overrides": []
61
+ },
62
+ "gridPos": {
63
+ "h": 8,
64
+ "w": 12,
65
+ "x": 0,
66
+ "y": 0
67
+ },
68
+ "id": 12,
69
+ "options": {
70
+ "colorMode": "value",
71
+ "graphMode": "area",
72
+ "justifyMode": "auto",
73
+ "orientation": "auto",
74
+ "reduceOptions": {
75
+ "calcs": [
76
+ "lastNotNull"
77
+ ],
78
+ "fields": "",
79
+ "values": false
80
+ },
81
+ "textMode": "auto"
82
+ },
83
+ "pluginVersion": "9.0.3",
84
+ "targets": [
85
+ {
86
+ "datasource": {
87
+ "type": "prometheus",
88
+ "uid": "${datasource}"
89
+ },
90
+ "editorMode": "code",
91
+ "expr": "count(kube_pod_status_ready{namespace=~\".+\", pod=~\"gabi-.+\", condition=~\"false|unknown\"} == 1)",
92
+ "legendFormat": "{{namespace}},{{pod}}",
93
+ "range": true,
94
+ "refId": "A"
95
+ }
96
+ ],
97
+ "title": "Gabi pods not working",
98
+ "type": "stat"
99
+ },
100
+ {
101
+ "datasource": {
102
+ "type": "prometheus",
103
+ "uid": "${datasource}"
104
+ },
105
+ "fieldConfig": {
106
+ "defaults": {
107
+ "color": {
108
+ "mode": "thresholds"
109
+ },
110
+ "custom": {
111
+ "align": "auto",
112
+ "displayMode": "auto",
113
+ "inspect": false
114
+ },
115
+ "mappings": [],
116
+ "thresholds": {
117
+ "mode": "absolute",
118
+ "steps": [
119
+ {
120
+ "color": "green",
121
+ "value": null
122
+ },
123
+ {
124
+ "color": "red",
125
+ "value": 80
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ "overrides": []
131
+ },
132
+ "gridPos": {
133
+ "h": 8,
134
+ "w": 12,
135
+ "x": 12,
136
+ "y": 0
137
+ },
138
+ "id": 6,
139
+ "options": {
140
+ "footer": {
141
+ "enablePagination": true,
142
+ "fields": "",
143
+ "reducer": [
144
+ "sum"
145
+ ],
146
+ "show": false
147
+ },
148
+ "showHeader": true
149
+ },
150
+ "pluginVersion": "9.0.3",
151
+ "targets": [
152
+ {
153
+ "datasource": {
154
+ "type": "prometheus",
155
+ "uid": "${datasource}"
156
+ },
157
+ "editorMode": "code",
158
+ "exemplar": false,
159
+ "expr": "kube_pod_status_ready{namespace=~\".+\", pod=~\"gabi-.+\",condition=~\"false|unknown\"} == 1",
160
+ "format": "table",
161
+ "instant": true,
162
+ "legendFormat": "{{label_name}}",
163
+ "range": false,
164
+ "refId": "A"
165
+ }
166
+ ],
167
+ "title": "Gabi instances overview",
168
+ "type": "table"
169
+ }
170
+ ],
171
+ "schemaVersion": 36,
172
+ "style": "dark",
173
+ "tags": [],
174
+ "templating": {
175
+ "list": [
176
+ {
177
+ "current": {
178
+ "selected": true,
179
+ "text": "crcs02ue1-prometheus",
180
+ "value": "crcs02ue1-prometheus"
181
+ },
182
+ "hide": 0,
183
+ "includeAll": false,
184
+ "multi": false,
185
+ "name": "datasource",
186
+ "options": [],
187
+ "query": "prometheus",
188
+ "queryValue": "",
189
+ "refresh": 1,
190
+ "regex": ".*-prometheus",
191
+ "skipUrlSync": false,
192
+ "type": "datasource"
193
+ }
194
+ ]
195
+ },
196
+ "time": {
197
+ "from": "now-5m",
198
+ "to": "now"
199
+ },
200
+ "timepicker": {},
201
+ "timezone": "",
202
+ "title": "Gabi Performance Overview",
203
+ "uid": "rdYb2UZkZ",
204
+ "version": 12,
205
+ "weekStart": ""
206
+ }
207
+ kind : ConfigMap
208
+ metadata :
209
+ name : grafana-dashboard-gabi-performance-overview
210
+ labels :
211
+ grafana_dashboard : " true"
212
+ annotations :
213
+ grafana-folder : /grafana-dashboard-definitions/AppSRE
0 commit comments