You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: influx-grafana/grafana/kubernetes-dashboard.json
+72-56
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
"timezone": "browser",
8
8
"editable": true,
9
9
"hideControls": false,
10
+
"sharedCrosshair": false,
10
11
"rows": [
11
12
{
12
13
"title": "test",
@@ -66,7 +67,8 @@
66
67
"steppedLine": false,
67
68
"tooltip": {
68
69
"value_type": "cumulative",
69
-
"query_as_alias": true
70
+
"query_as_alias": true,
71
+
"shared": false
70
72
},
71
73
"targets": [
72
74
{
@@ -86,14 +88,15 @@
86
88
}
87
89
],
88
90
"aliasColors": {},
89
-
"title": "All 'containers' CPU usage",
91
+
"title": "All 'containers' CPU usage - Stacked",
90
92
"datasource": null,
91
93
"renderer": "png",
92
94
"annotate": {
93
95
"enable": false
94
96
},
95
97
"id": 1,
96
-
"seriesOverrides": []
98
+
"seriesOverrides": [],
99
+
"links": []
97
100
},
98
101
{
99
102
"span": 6,
@@ -145,8 +148,9 @@
145
148
"nullPointMode": "connected",
146
149
"steppedLine": false,
147
150
"tooltip": {
148
-
"value_type": "individual",
149
-
"query_as_alias": true
151
+
"value_type": "cumulative",
152
+
"query_as_alias": true,
153
+
"shared": false
150
154
},
151
155
"targets": [
152
156
{
@@ -166,14 +170,15 @@
166
170
}
167
171
],
168
172
"aliasColors": {},
169
-
"title": "All 'containers' Memory usage",
173
+
"title": "All 'containers' Memory usage - Stacked",
170
174
"datasource": null,
171
175
"renderer": "png",
172
176
"annotate": {
173
177
"enable": false
174
178
},
175
179
"id": 2,
176
-
"seriesOverrides": []
180
+
"seriesOverrides": [],
181
+
"links": []
177
182
}
178
183
],
179
184
"notice": false
@@ -194,7 +199,7 @@
194
199
"scale": 1,
195
200
"y_formats": [
196
201
"ns",
197
-
"bytes"
202
+
"ns"
198
203
],
199
204
"grid": {
200
205
"max": null,
@@ -236,34 +241,37 @@
236
241
"steppedLine": false,
237
242
"tooltip": {
238
243
"value_type": "cumulative",
239
-
"query_as_alias": true
244
+
"query_as_alias": true,
245
+
"shared": false
240
246
},
241
247
"targets": [
242
248
{
243
249
"target": "randomWalk('random walk')",
244
250
"function": "derivative",
245
251
"column": "cpu_cumulative_usage",
246
252
"series": "stats",
247
-
"query": "select container_name, derivative(cpu_cumulative_usage) from \"stats\" where $timeFilter group by time($interval), container_name order asc",
253
+
"query": "select container_name, derivative(cpu_cumulative_usage) from \"stats\" where $timeFilter and labels =~ /name:heapster/ group by time($interval), container_name order asc",
248
254
"condition_filter": true,
249
-
"condition_key": "pod",
250
-
"condition_op": "=",
251
-
"condition_value": "'heapster'",
252
-
"interval": "2s",
255
+
"interval": "5s",
253
256
"groupby_field_add": true,
254
257
"groupby_field": "container_name",
255
-
"alias": ""
258
+
"alias": "",
259
+
"condition": "labels =~ /name:heapster/",
260
+
"rawQuery": false,
261
+
"fill": ""
256
262
}
257
263
],
258
264
"aliasColors": {},
259
-
"title": "Pod 'heapster' CPU usage",
265
+
"title": "Label 'name:heapster' CPU usage",
260
266
"datasource": null,
261
267
"renderer": "png",
262
268
"annotate": {
263
269
"enable": false
264
270
},
265
271
"id": 3,
266
-
"seriesOverrides": []
272
+
"seriesOverrides": [],
273
+
"links": [],
274
+
"interval": ""
267
275
},
268
276
{
269
277
"span": 6,
@@ -310,55 +318,54 @@
310
318
"interactive": true,
311
319
"legend_counts": true,
312
320
"timezone": "browser",
313
-
"percentage": true,
321
+
"percentage": false,
314
322
"zerofill": true,
315
323
"nullPointMode": "connected",
316
324
"steppedLine": false,
317
325
"tooltip": {
318
-
"value_type": "cumulative",
319
-
"query_as_alias": true
326
+
"value_type": "individual",
327
+
"query_as_alias": true,
328
+
"shared": false
320
329
},
321
330
"targets": [
322
331
{
323
332
"target": "randomWalk('random walk')",
324
333
"function": "mean",
325
334
"column": "memory_usage",
326
335
"series": "stats",
327
-
"query": "select container_name, mean(memory_usage) from \"stats\" where $timeFilter group by time($interval), container_name order asc",
336
+
"query": "select mean(memory_usage) from \"stats\" where $timeFilter and labels =~ /name:heapster/ group by time($interval) order asc",
328
337
"condition_filter": true,
329
-
"condition_key": "pod",
330
-
"condition_op": "=",
331
-
"condition_value": "'heapster'",
332
338
"interval": "2s",
333
339
"groupby_field_add": true,
334
-
"groupby_field": "container_name",
335
-
"alias": "total"
340
+
"groupby_field": "",
341
+
"alias": "total",
342
+
"condition": "labels =~ /name:heapster/"
336
343
},
337
344
{
338
345
"target": "randomWalk('random walk2')",
339
346
"function": "mean",
340
347
"column": "memory_working_set",
341
348
"series": "stats",
342
-
"query": "select container_name, mean(memory_working_set) from \"stats\" where $timeFilter group by time($interval), container_name order asc",
349
+
"query": "select mean(memory_working_set) from \"stats\" where $timeFilter and labels =~ /name:heapster/ group by time($interval) order asc",
343
350
"condition_filter": true,
344
-
"condition_key": "pod",
345
-
"condition_op": "=",
346
-
"condition_value": "'heapster'",
347
351
"interval": "2s",
348
352
"groupby_field_add": true,
349
-
"groupby_field": "container_name",
350
-
"alias": "hot"
353
+
"groupby_field": "",
354
+
"alias": "hot",
355
+
"condition": "labels =~ /name:heapster/"
351
356
}
352
357
],
353
358
"aliasColors": {},
354
-
"title": "Pod 'heapster' memory usage",
359
+
"title": "Labels 'name:heapster' memory usage",
355
360
"datasource": null,
356
361
"renderer": "png",
357
362
"annotate": {
358
363
"enable": false
359
364
},
360
365
"id": 4,
361
-
"seriesOverrides": []
366
+
"seriesOverrides": [],
367
+
"links": [],
368
+
"interval": "2s"
362
369
}
363
370
],
364
371
"notice": false
@@ -420,35 +427,36 @@
420
427
"nullPointMode": "connected",
421
428
"steppedLine": false,
422
429
"tooltip": {
423
-
"value_type": "individual",
424
-
"query_as_alias": true
430
+
"value_type": "cumulative",
431
+
"query_as_alias": true,
432
+
"shared": false
425
433
},
426
434
"targets": [
427
435
{
428
436
"target": "randomWalk('random walk')",
429
437
"function": "derivative",
430
438
"column": "cpu_cumulative_usage",
431
439
"series": "stats",
432
-
"query": "select container_name, derivative(cpu_cumulative_usage) from \"stats\" where $timeFilter group by time($interval), container_name order asc",
440
+
"query": "select container_name, derivative(cpu_cumulative_usage) from \"stats\" where $timeFilter and labels =~ /name:influxGrafana/ group by time($interval), container_name order asc",
433
441
"condition_filter": true,
434
-
"condition_key": "labels",
435
-
"condition_op": "=",
436
-
"condition_value": "'name:influxGrafana'",
437
442
"interval": "2s",
438
443
"groupby_field_add": true,
439
444
"groupby_field": "container_name",
440
-
"alias": ""
445
+
"alias": "",
446
+
"condition": "labels =~ /name:influxGrafana/"
441
447
}
442
448
],
443
449
"aliasColors": {},
444
-
"title": "Labels 'influx-grafana' CPU usage",
450
+
"title": "Labels 'name:influx-grafana' CPU usage",
0 commit comments