@@ -5,6 +5,289 @@ kind: ConfigMap
55metadata :
66 name : stackable-grafana-dashboards
77data :
8+ metric-collection-overview.json : |
9+ {
10+ "annotations": {
11+ "list": [
12+ {
13+ "builtIn": 1,
14+ "datasource": {
15+ "type": "grafana",
16+ "uid": "-- Grafana --"
17+ },
18+ "enable": true,
19+ "hide": true,
20+ "iconColor": "rgba(0, 211, 255, 1)",
21+ "name": "Annotations & Alerts",
22+ "type": "dashboard"
23+ }
24+ ]
25+ },
26+ "editable": true,
27+ "fiscalYearStartMonth": 0,
28+ "graphTooltip": 0,
29+ "id": 35,
30+ "links": [],
31+ "panels": [
32+ {
33+ "collapsed": false,
34+ "gridPos": {
35+ "h": 1,
36+ "w": 24,
37+ "x": 0,
38+ "y": 0
39+ },
40+ "id": 6,
41+ "panels": [],
42+ "title": "Stacklets",
43+ "type": "row"
44+ },
45+ {
46+ "datasource": {
47+ "type": "prometheus",
48+ "uid": "prometheus"
49+ },
50+ "fieldConfig": {
51+ "defaults": {
52+ "color": {
53+ "mode": "thresholds"
54+ },
55+ "mappings": [],
56+ "thresholds": {
57+ "mode": "absolute",
58+ "steps": [
59+ {
60+ "color": "green"
61+ },
62+ {
63+ "color": "red",
64+ "value": 80
65+ }
66+ ]
67+ }
68+ },
69+ "overrides": []
70+ },
71+ "gridPos": {
72+ "h": 4,
73+ "w": 24,
74+ "x": 0,
75+ "y": 1
76+ },
77+ "id": 4,
78+ "maxPerRow": 6,
79+ "options": {
80+ "colorMode": "value",
81+ "graphMode": "none",
82+ "justifyMode": "auto",
83+ "orientation": "auto",
84+ "percentChangeColorMode": "standard",
85+ "reduceOptions": {
86+ "calcs": [
87+ "lastNotNull"
88+ ],
89+ "fields": "",
90+ "values": false
91+ },
92+ "showPercentChange": false,
93+ "textMode": "auto",
94+ "wideLayout": true
95+ },
96+ "pluginVersion": "12.0.2",
97+ "repeat": "product",
98+ "repeatDirection": "h",
99+ "targets": [
100+ {
101+ "datasource": {
102+ "type": "prometheus",
103+ "uid": "prometheus"
104+ },
105+ "editorMode": "code",
106+ "expr": "count(count by (app_kubernetes_io_instance) ({app_kubernetes_io_name=\"${product}\"}))",
107+ "legendFormat": "__auto",
108+ "range": true,
109+ "refId": "A"
110+ }
111+ ],
112+ "title": "${product}",
113+ "type": "stat"
114+ },
115+ {
116+ "collapsed": false,
117+ "gridPos": {
118+ "h": 1,
119+ "w": 24,
120+ "x": 0,
121+ "y": 9
122+ },
123+ "id": 5,
124+ "panels": [],
125+ "title": "Pods",
126+ "type": "row"
127+ },
128+ {
129+ "datasource": {
130+ "type": "prometheus",
131+ "uid": "prometheus"
132+ },
133+ "fieldConfig": {
134+ "defaults": {
135+ "color": {
136+ "mode": "thresholds"
137+ },
138+ "mappings": [],
139+ "thresholds": {
140+ "mode": "absolute",
141+ "steps": [
142+ {
143+ "color": "green"
144+ },
145+ {
146+ "color": "red",
147+ "value": 80
148+ }
149+ ]
150+ }
151+ },
152+ "overrides": []
153+ },
154+ "gridPos": {
155+ "h": 4,
156+ "w": 24,
157+ "x": 0,
158+ "y": 10
159+ },
160+ "id": 7,
161+ "maxPerRow": 6,
162+ "options": {
163+ "colorMode": "value",
164+ "graphMode": "none",
165+ "justifyMode": "auto",
166+ "orientation": "auto",
167+ "percentChangeColorMode": "standard",
168+ "reduceOptions": {
169+ "calcs": [
170+ "lastNotNull"
171+ ],
172+ "fields": "",
173+ "values": false
174+ },
175+ "showPercentChange": false,
176+ "textMode": "auto",
177+ "wideLayout": true
178+ },
179+ "pluginVersion": "12.0.2",
180+ "repeat": "product",
181+ "repeatDirection": "h",
182+ "targets": [
183+ {
184+ "datasource": {
185+ "type": "prometheus",
186+ "uid": "prometheus"
187+ },
188+ "editorMode": "code",
189+ "expr": "count(count by (pod) ({app_kubernetes_io_name=\"${product}\",pod!=\"\"}))",
190+ "legendFormat": "__auto",
191+ "range": true,
192+ "refId": "A"
193+ }
194+ ],
195+ "title": "${product}",
196+ "type": "stat"
197+ }
198+ ],
199+ "preload": false,
200+ "schemaVersion": 41,
201+ "tags": [],
202+ "templating": {
203+ "list": [
204+ {
205+ "allowCustomValue": true,
206+ "current": {
207+ "text": "$__all",
208+ "value": "$__all"
209+ },
210+ "description": "",
211+ "includeAll": true,
212+ "multi": true,
213+ "name": "product",
214+ "options": [
215+ {
216+ "selected": false,
217+ "text": "airflow",
218+ "value": "airflow"
219+ },
220+ {
221+ "selected": false,
222+ "text": "druid",
223+ "value": "druid"
224+ },
225+ {
226+ "selected": false,
227+ "text": "hbase",
228+ "value": "hbase"
229+ },
230+ {
231+ "selected": false,
232+ "text": "hdfs",
233+ "value": "hdfs"
234+ },
235+ {
236+ "selected": false,
237+ "text": "hive",
238+ "value": "hive"
239+ },
240+ {
241+ "selected": false,
242+ "text": "nifi",
243+ "value": "nifi"
244+ },
245+ {
246+ "selected": false,
247+ "text": "opensearch",
248+ "value": "opensearch"
249+ },
250+ {
251+ "selected": false,
252+ "text": "spark",
253+ "value": "spark"
254+ },
255+ {
256+ "selected": false,
257+ "text": "superset",
258+ "value": "superset"
259+ },
260+ {
261+ "selected": false,
262+ "text": "trino",
263+ "value": "trino"
264+ },
265+ {
266+ "selected": false,
267+ "text": "zookeeper",
268+ "value": "zookeeper"
269+ },
270+ {
271+ "selected": false,
272+ "text": "opa",
273+ "value": "opa"
274+ }
275+ ],
276+ "query": "airflow,druid,hbase,hdfs,hive,nifi,opensearch,spark-k8s,superset,trino,zookeeper,opa",
277+ "type": "custom"
278+ }
279+ ]
280+ },
281+ "time": {
282+ "from": "now-1h",
283+ "to": "now"
284+ },
285+ "timepicker": {},
286+ "timezone": "browser",
287+ "title": "Metric collection overview",
288+ "uid": "289ad709-e51e-4b91-86a1-6e426300d0eb",
289+ "version": 1
290+ }
8291 trino.json : |
9292 {
10293 "annotations": {
@@ -3275,9 +3558,7 @@ data:
32753558 "icon": "external link",
32763559 "includeVars": true,
32773560 "keepTime": true,
3278- "tags": [
3279- "minio"
3280- ],
3561+ "tags": [],
32813562 "type": "dashboards"
32823563 }
32833564 ],
@@ -7078,9 +7359,7 @@ data:
70787359 "preload": false,
70797360 "refresh": "",
70807361 "schemaVersion": 41,
7081- "tags": [
7082- "minio"
7083- ],
7362+ "tags": [],
70847363 "templating": {
70857364 "list": [
70867365 {
0 commit comments