Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/cross-teams/dashboards/gitpod-applications.json
2500 views
1
{
2
"annotations": {
3
"list": [
4
{
5
"builtIn": 1,
6
"datasource": {
7
"type": "grafana",
8
"uid": "-- Grafana --"
9
},
10
"enable": true,
11
"hide": true,
12
"iconColor": "rgba(0, 211, 255, 1)",
13
"name": "Annotations & Alerts",
14
"target": {
15
"limit": 100,
16
"matchAny": false,
17
"tags": [],
18
"type": "dashboard"
19
},
20
"type": "dashboard"
21
}
22
]
23
},
24
"description": "Aggregate information about applications in k8s",
25
"editable": true,
26
"fiscalYearStartMonth": 0,
27
"graphTooltip": 1,
28
"id": 87,
29
"links": [],
30
"liveNow": false,
31
"panels": [
32
{
33
"collapsed": false,
34
"gridPos": {
35
"h": 1,
36
"w": 24,
37
"x": 0,
38
"y": 0
39
},
40
"id": 2,
41
"panels": [],
42
"title": "Application resources",
43
"type": "row"
44
},
45
{
46
"datasource": {
47
"type": "prometheus",
48
"uid": "P4169E866C3094E38"
49
},
50
"fieldConfig": {
51
"defaults": {
52
"color": {
53
"mode": "palette-classic"
54
},
55
"custom": {
56
"axisCenteredZero": false,
57
"axisColorMode": "text",
58
"axisLabel": "",
59
"axisPlacement": "auto",
60
"barAlignment": 0,
61
"drawStyle": "line",
62
"fillOpacity": 0,
63
"gradientMode": "none",
64
"hideFrom": {
65
"legend": false,
66
"tooltip": false,
67
"viz": false
68
},
69
"lineInterpolation": "linear",
70
"lineWidth": 1,
71
"pointSize": 5,
72
"scaleDistribution": {
73
"type": "linear"
74
},
75
"showPoints": "auto",
76
"spanNulls": false,
77
"stacking": {
78
"group": "A",
79
"mode": "none"
80
},
81
"thresholdsStyle": {
82
"mode": "off"
83
}
84
},
85
"mappings": [],
86
"thresholds": {
87
"mode": "absolute",
88
"steps": [
89
{
90
"color": "green",
91
"value": null
92
},
93
{
94
"color": "red",
95
"value": 80
96
}
97
]
98
},
99
"unit": "decbytes"
100
},
101
"overrides": []
102
},
103
"gridPos": {
104
"h": 9,
105
"w": 24,
106
"x": 0,
107
"y": 1
108
},
109
"id": 4,
110
"options": {
111
"legend": {
112
"calcs": [],
113
"displayMode": "list",
114
"placement": "bottom",
115
"showLegend": true
116
},
117
"tooltip": {
118
"mode": "single",
119
"sort": "none"
120
}
121
},
122
"targets": [
123
{
124
"datasource": {
125
"type": "prometheus",
126
"uid": "P4169E866C3094E38"
127
},
128
"editorMode": "code",
129
"expr": "sum(process_resident_memory_bytes{cluster=~\"$cluster\", job=~\"$job\", pod=~\"$pod\"}) by (job)",
130
"legendFormat": "__auto",
131
"range": true,
132
"refId": "A"
133
}
134
],
135
"title": "Total memory usage",
136
"type": "timeseries"
137
},
138
{
139
"datasource": {
140
"type": "prometheus",
141
"uid": "P4169E866C3094E38"
142
},
143
"fieldConfig": {
144
"defaults": {
145
"color": {
146
"mode": "palette-classic"
147
},
148
"custom": {
149
"axisCenteredZero": false,
150
"axisColorMode": "text",
151
"axisLabel": "",
152
"axisPlacement": "auto",
153
"barAlignment": 0,
154
"drawStyle": "line",
155
"fillOpacity": 0,
156
"gradientMode": "none",
157
"hideFrom": {
158
"legend": false,
159
"tooltip": false,
160
"viz": false
161
},
162
"lineInterpolation": "linear",
163
"lineWidth": 1,
164
"pointSize": 5,
165
"scaleDistribution": {
166
"type": "linear"
167
},
168
"showPoints": "auto",
169
"spanNulls": false,
170
"stacking": {
171
"group": "A",
172
"mode": "none"
173
},
174
"thresholdsStyle": {
175
"mode": "off"
176
}
177
},
178
"mappings": [],
179
"thresholds": {
180
"mode": "absolute",
181
"steps": [
182
{
183
"color": "green",
184
"value": null
185
},
186
{
187
"color": "red",
188
"value": 80
189
}
190
]
191
},
192
"unit": "none"
193
},
194
"overrides": []
195
},
196
"gridPos": {
197
"h": 9,
198
"w": 24,
199
"x": 0,
200
"y": 10
201
},
202
"id": 5,
203
"options": {
204
"legend": {
205
"calcs": [],
206
"displayMode": "list",
207
"placement": "bottom",
208
"showLegend": true
209
},
210
"tooltip": {
211
"mode": "single",
212
"sort": "none"
213
}
214
},
215
"targets": [
216
{
217
"datasource": {
218
"type": "prometheus",
219
"uid": "P4169E866C3094E38"
220
},
221
"editorMode": "code",
222
"expr": "sum(rate(process_cpu_seconds_total{cluster=~\"$cluster\", job=~\"$job\", pod=~\"$pod\"}[5m])) by (job)",
223
"hide": false,
224
"legendFormat": "__auto",
225
"range": true,
226
"refId": "B"
227
}
228
],
229
"title": "Total CPU usage (vCPUs) [5m]",
230
"type": "timeseries"
231
},
232
{
233
"collapsed": false,
234
"gridPos": {
235
"h": 1,
236
"w": 24,
237
"x": 0,
238
"y": 19
239
},
240
"id": 7,
241
"panels": [],
242
"title": "Horizontal Scaling",
243
"type": "row"
244
},
245
{
246
"datasource": {
247
"type": "prometheus",
248
"uid": "P4169E866C3094E38"
249
},
250
"fieldConfig": {
251
"defaults": {
252
"color": {
253
"mode": "palette-classic"
254
},
255
"custom": {
256
"axisCenteredZero": false,
257
"axisColorMode": "text",
258
"axisLabel": "",
259
"axisPlacement": "auto",
260
"barAlignment": 0,
261
"drawStyle": "line",
262
"fillOpacity": 0,
263
"gradientMode": "none",
264
"hideFrom": {
265
"legend": false,
266
"tooltip": false,
267
"viz": false
268
},
269
"lineInterpolation": "linear",
270
"lineWidth": 1,
271
"pointSize": 5,
272
"scaleDistribution": {
273
"type": "linear"
274
},
275
"showPoints": "auto",
276
"spanNulls": false,
277
"stacking": {
278
"group": "A",
279
"mode": "none"
280
},
281
"thresholdsStyle": {
282
"mode": "off"
283
}
284
},
285
"mappings": [],
286
"thresholds": {
287
"mode": "absolute",
288
"steps": [
289
{
290
"color": "green",
291
"value": null
292
},
293
{
294
"color": "red",
295
"value": 80
296
}
297
]
298
},
299
"unit": "none"
300
},
301
"overrides": []
302
},
303
"gridPos": {
304
"h": 9,
305
"w": 24,
306
"x": 0,
307
"y": 20
308
},
309
"id": 8,
310
"options": {
311
"legend": {
312
"calcs": [],
313
"displayMode": "list",
314
"placement": "bottom",
315
"showLegend": true
316
},
317
"tooltip": {
318
"mode": "single",
319
"sort": "none"
320
}
321
},
322
"targets": [
323
{
324
"datasource": {
325
"type": "prometheus",
326
"uid": "P4169E866C3094E38"
327
},
328
"editorMode": "code",
329
"expr": "count(up{cluster=~\"$cluster\", job=~\"$job\", pod=~\"$pod\"}[1m]) by (job)",
330
"hide": false,
331
"legendFormat": "__auto",
332
"range": true,
333
"refId": "B"
334
}
335
],
336
"title": "Replica count [1m]",
337
"type": "timeseries"
338
}
339
],
340
"schemaVersion": 37,
341
"style": "dark",
342
"tags": [
343
"kubernetes",
344
"application"
345
],
346
"templating": {
347
"list": [
348
{
349
"allValue": ".*",
350
"current": {
351
"selected": true,
352
"text": [
353
"All"
354
],
355
"value": [
356
"$__all"
357
]
358
},
359
"datasource": {
360
"type": "prometheus",
361
"uid": "P4169E866C3094E38"
362
},
363
"definition": "label_values(up, cluster)",
364
"hide": 0,
365
"includeAll": true,
366
"multi": true,
367
"name": "cluster",
368
"options": [],
369
"query": {
370
"query": "label_values(up, cluster)",
371
"refId": "StandardVariableQuery"
372
},
373
"refresh": 1,
374
"regex": "",
375
"skipUrlSync": false,
376
"sort": 0,
377
"type": "query"
378
},
379
{
380
"allValue": ".*",
381
"current": {
382
"selected": true,
383
"text": [
384
"All"
385
],
386
"value": [
387
"$__all"
388
]
389
},
390
"datasource": {
391
"type": "prometheus",
392
"uid": "P4169E866C3094E38"
393
},
394
"definition": "label_values(up, job)",
395
"hide": 0,
396
"includeAll": true,
397
"multi": true,
398
"name": "job",
399
"options": [],
400
"query": {
401
"query": "label_values(up, job)",
402
"refId": "StandardVariableQuery"
403
},
404
"refresh": 1,
405
"regex": "",
406
"skipUrlSync": false,
407
"sort": 0,
408
"type": "query"
409
},
410
{
411
"allValue": ".*",
412
"current": {
413
"selected": false,
414
"text": [
415
"All"
416
],
417
"value": [
418
"$__all"
419
]
420
},
421
"datasource": {
422
"type": "prometheus",
423
"uid": "P4169E866C3094E38"
424
},
425
"definition": "label_values(up, pod)",
426
"hide": 0,
427
"includeAll": true,
428
"multi": true,
429
"name": "pod",
430
"options": [],
431
"query": {
432
"query": "label_values(up, pod)",
433
"refId": "StandardVariableQuery"
434
},
435
"refresh": 1,
436
"regex": "",
437
"skipUrlSync": false,
438
"sort": 0,
439
"type": "query"
440
}
441
]
442
},
443
"time": {
444
"from": "now-6h",
445
"to": "now"
446
},
447
"timepicker": {
448
"refresh_intervals": [
449
"30s",
450
"1m",
451
"5m",
452
"15m",
453
"30m",
454
"1h",
455
"2h",
456
"1d"
457
]
458
},
459
"timezone": "utc",
460
"title": "Kubernetes / Applications",
461
"uid": "AJKH-pJ4k",
462
"version": 8,
463
"weekStart": "monday"
464
}
465
466