Top up version to 1.5.0
[dcaegen2/collectors/hv-ves.git] / tools / performance / cloud / grafana / dashboards / k8s-metrics.json
1     {
2       "annotations": {
3         "list": [
4           {
5             "builtIn": 1,
6             "datasource": "-- Grafana --",
7             "enable": true,
8             "hide": true,
9             "iconColor": "rgba(0, 211, 255, 1)",
10             "name": "Annotations & Alerts",
11             "type": "dashboard"
12           }
13         ]
14       },
15       "editable": true,
16       "gnetId": null,
17       "graphTooltip": 0,
18       "id": 5,
19       "links": [],
20       "panels": [
21         {
22           "datasource": null,
23           "gridPos": {
24             "h": 7,
25             "w": 8,
26             "x": 0,
27             "y": 0
28           },
29           "id": 8,
30           "options": {
31             "fieldOptions": {
32               "calcs": [
33                 "mean"
34               ],
35               "defaults": {
36                 "mappings": [],
37                 "max": 100,
38                 "min": 0,
39                 "thresholds": {
40                   "mode": "absolute",
41                   "steps": [
42                     {
43                       "color": "green",
44                       "value": null
45                     },
46                     {
47                       "color": "red",
48                       "value": 80
49                     }
50                   ]
51                 },
52                 "unit": "percent"
53               },
54               "overrides": [],
55               "values": false
56             },
57             "orientation": "auto",
58             "showThresholdLabels": false,
59             "showThresholdMarkers": true
60           },
61           "pluginVersion": "6.7.2",
62           "targets": [
63             {
64               "expr": "sum(container_memory_working_set_bytes{id=\"/\", instance=~\".*worker.*\"}) by(instance) / (sum(machine_memory_bytes{instance=~\".*worker.*\"}) by (instance))*100",
65               "interval": "",
66               "legendFormat": "{{instance}}",
67               "refId": "A"
68             }
69           ],
70           "timeFrom": null,
71           "timeShift": null,
72           "title": "Nodes RAM Usage",
73           "type": "gauge"
74         },
75         {
76           "datasource": null,
77           "gridPos": {
78             "h": 7,
79             "w": 8,
80             "x": 8,
81             "y": 0
82           },
83           "id": 6,
84           "options": {
85             "fieldOptions": {
86               "calcs": [
87                 "mean"
88               ],
89               "defaults": {
90                 "mappings": [],
91                 "max": 100,
92                 "min": 0,
93                 "thresholds": {
94                   "mode": "absolute",
95                   "steps": [
96                     {
97                       "color": "green",
98                       "value": null
99                     },
100                     {
101                       "color": "red",
102                       "value": 80
103                     }
104                   ]
105                 },
106                 "unit": "percent"
107               },
108               "overrides": [],
109               "values": false
110             },
111             "orientation": "auto",
112             "showThresholdLabels": false,
113             "showThresholdMarkers": true
114           },
115           "pluginVersion": "6.7.2",
116           "targets": [
117             {
118               "expr": "sum(rate(container_cpu_usage_seconds_total{id=\"/\", instance=~\".*worker.*\"}[1m])) by(instance) / (sum(machine_cpu_cores{instance=~\".*worker.*\"}) by (instance))*100",
119               "interval": "",
120               "legendFormat": "{{instance}}",
121               "refId": "A"
122             }
123           ],
124           "timeFrom": null,
125           "timeShift": null,
126           "title": "Nodes CPU Usage",
127           "type": "gauge"
128         },
129         {
130           "aliasColors": {},
131           "bars": false,
132           "dashLength": 10,
133           "dashes": false,
134           "datasource": null,
135           "fill": 0,
136           "fillGradient": 0,
137           "gridPos": {
138             "h": 12,
139             "w": 8,
140             "x": 16,
141             "y": 0
142           },
143           "hiddenSeries": false,
144           "id": 10,
145           "legend": {
146             "avg": false,
147             "current": false,
148             "max": false,
149             "min": false,
150             "show": true,
151             "total": false,
152             "values": false
153           },
154           "lines": true,
155           "linewidth": 1,
156           "nullPointMode": "null",
157           "options": {
158             "dataLinks": []
159           },
160           "percentage": false,
161           "pointradius": 2,
162           "points": false,
163           "renderer": "flot",
164           "seriesOverrides": [],
165           "spaceLength": 10,
166           "stack": false,
167           "steppedLine": false,
168           "targets": [
169             {
170               "expr": "sum(irate(container_network_receive_bytes_total{pod!=\"\", namespace=\"onap\", instance=~\".*worker.*\"}[1m])) by (instance)",
171               "hide": false,
172               "interval": "",
173               "legendFormat": "{{instance}}",
174               "refId": "C"
175             },
176             {
177               "expr": "sum(irate(container_network_receive_bytes_total{pod!=\"\", namespace=\"onap\", instance=~\".*worker.*\"}[1m]))",
178               "hide": false,
179               "interval": "",
180               "legendFormat": "Total Receive",
181               "refId": "D"
182             }
183           ],
184           "thresholds": [],
185           "timeFrom": "20m",
186           "timeRegions": [],
187           "timeShift": null,
188           "title": "Network Usage - Receive",
189           "tooltip": {
190             "shared": true,
191             "sort": 0,
192             "value_type": "individual"
193           },
194           "type": "graph",
195           "xaxis": {
196             "buckets": null,
197             "mode": "time",
198             "name": null,
199             "show": true,
200             "values": []
201           },
202           "yaxes": [
203             {
204               "format": "Bps",
205               "label": null,
206               "logBase": 1,
207               "max": null,
208               "min": null,
209               "show": true
210             },
211             {
212               "format": "short",
213               "label": null,
214               "logBase": 1,
215               "max": null,
216               "min": null,
217               "show": true
218             }
219           ],
220           "yaxis": {
221             "align": false,
222             "alignLevel": null
223           }
224         },
225         {
226           "aliasColors": {},
227           "bars": false,
228           "dashLength": 10,
229           "dashes": false,
230           "datasource": null,
231           "fill": 0,
232           "fillGradient": 0,
233           "gridPos": {
234             "h": 16,
235             "w": 8,
236             "x": 0,
237             "y": 7
238           },
239           "hiddenSeries": false,
240           "id": 4,
241           "legend": {
242             "avg": false,
243             "current": false,
244             "max": false,
245             "min": false,
246             "show": true,
247             "total": false,
248             "values": false
249           },
250           "lines": true,
251           "linewidth": 1,
252           "nullPointMode": "null",
253           "options": {
254             "dataLinks": []
255           },
256           "percentage": false,
257           "pointradius": 2,
258           "points": false,
259           "renderer": "flot",
260           "seriesOverrides": [],
261           "spaceLength": 10,
262           "stack": false,
263           "steppedLine": false,
264           "targets": [
265             {
266               "expr": "sum(container_memory_working_set_bytes{id=\"/\"}) by (instance) / (sum(machine_memory_bytes) by (instance))*100",
267               "interval": "",
268               "legendFormat": "{{instance}}",
269               "refId": "A"
270             }
271           ],
272           "thresholds": [],
273           "timeFrom": "20m",
274           "timeRegions": [],
275           "timeShift": null,
276           "title": "Nodes Total RAM Usage",
277           "tooltip": {
278             "shared": true,
279             "sort": 0,
280             "value_type": "individual"
281           },
282           "type": "graph",
283           "xaxis": {
284             "buckets": null,
285             "mode": "time",
286             "name": null,
287             "show": true,
288             "values": []
289           },
290           "yaxes": [
291             {
292               "format": "percent",
293               "label": null,
294               "logBase": 1,
295               "max": null,
296               "min": null,
297               "show": true
298             },
299             {
300               "format": "short",
301               "label": null,
302               "logBase": 1,
303               "max": null,
304               "min": null,
305               "show": true
306             }
307           ],
308           "yaxis": {
309             "align": false,
310             "alignLevel": null
311           }
312         },
313         {
314           "aliasColors": {},
315           "bars": false,
316           "dashLength": 10,
317           "dashes": false,
318           "datasource": null,
319           "fill": 0,
320           "fillGradient": 0,
321           "gridPos": {
322             "h": 16,
323             "w": 8,
324             "x": 8,
325             "y": 7
326           },
327           "hiddenSeries": false,
328           "id": 2,
329           "legend": {
330             "avg": false,
331             "current": false,
332             "max": false,
333             "min": false,
334             "show": true,
335             "total": false,
336             "values": false
337           },
338           "lines": true,
339           "linewidth": 1,
340           "nullPointMode": "null",
341           "options": {
342             "dataLinks": []
343           },
344           "percentage": false,
345           "pointradius": 2,
346           "points": false,
347           "renderer": "flot",
348           "seriesOverrides": [],
349           "spaceLength": 10,
350           "stack": false,
351           "steppedLine": false,
352           "targets": [
353             {
354               "expr": "sum(rate(container_cpu_usage_seconds_total{id=\"/\"}[1m])) by(instance) / (sum(machine_cpu_cores) by (instance))*100",
355               "interval": "",
356               "legendFormat": "{{instance}}",
357               "refId": "A"
358             }
359           ],
360           "thresholds": [],
361           "timeFrom": "20m",
362           "timeRegions": [],
363           "timeShift": null,
364           "title": "Nodes Total CPU usage",
365           "tooltip": {
366             "shared": true,
367             "sort": 0,
368             "value_type": "individual"
369           },
370           "type": "graph",
371           "xaxis": {
372             "buckets": null,
373             "mode": "time",
374             "name": null,
375             "show": true,
376             "values": []
377           },
378           "yaxes": [
379             {
380               "format": "percent",
381               "label": null,
382               "logBase": 1,
383               "max": null,
384               "min": null,
385               "show": true
386             },
387             {
388               "format": "short",
389               "label": null,
390               "logBase": 1,
391               "max": null,
392               "min": null,
393               "show": true
394             }
395           ],
396           "yaxis": {
397             "align": false,
398             "alignLevel": null
399           }
400         },
401         {
402           "aliasColors": {},
403           "bars": false,
404           "dashLength": 10,
405           "dashes": false,
406           "datasource": null,
407           "fill": 0,
408           "fillGradient": 0,
409           "gridPos": {
410             "h": 11,
411             "w": 8,
412             "x": 16,
413             "y": 12
414           },
415           "hiddenSeries": false,
416           "id": 11,
417           "legend": {
418             "avg": false,
419             "current": false,
420             "max": false,
421             "min": false,
422             "show": true,
423             "total": false,
424             "values": false
425           },
426           "lines": true,
427           "linewidth": 1,
428           "nullPointMode": "null",
429           "options": {
430             "dataLinks": []
431           },
432           "percentage": false,
433           "pointradius": 2,
434           "points": false,
435           "renderer": "flot",
436           "seriesOverrides": [],
437           "spaceLength": 10,
438           "stack": false,
439           "steppedLine": false,
440           "targets": [
441             {
442               "expr": "sum(irate(container_network_transmit_bytes_total{pod!=\"\", namespace=\"onap\", instance=~\".*worker.*\"}[1m])) by (instance)",
443               "hide": false,
444               "interval": "",
445               "legendFormat": "{{instance}}",
446               "refId": "A"
447             },
448             {
449               "expr": "sum(irate(container_network_transmit_bytes_total{pod!=\"\", namespace=\"onap\", instance=~\".*worker.*\"}[1m]))",
450               "hide": false,
451               "interval": "",
452               "legendFormat": "Total Transmit",
453               "refId": "B"
454             }
455           ],
456           "thresholds": [],
457           "timeFrom": "20m",
458           "timeRegions": [],
459           "timeShift": null,
460           "title": "Network Usage - Transmit",
461           "tooltip": {
462             "shared": true,
463             "sort": 0,
464             "value_type": "individual"
465           },
466           "type": "graph",
467           "xaxis": {
468             "buckets": null,
469             "mode": "time",
470             "name": null,
471             "show": true,
472             "values": []
473           },
474           "yaxes": [
475             {
476               "format": "Bps",
477               "label": null,
478               "logBase": 1,
479               "max": null,
480               "min": null,
481               "show": true
482             },
483             {
484               "format": "short",
485               "label": null,
486               "logBase": 1,
487               "max": null,
488               "min": null,
489               "show": true
490             }
491           ],
492           "yaxis": {
493             "align": false,
494             "alignLevel": null
495           }
496         }
497       ],
498       "refresh": "5s",
499       "schemaVersion": 22,
500       "style": "dark",
501       "tags": [],
502       "templating": {
503         "list": []
504       },
505       "time": {
506         "from": "now-6h",
507         "to": "now"
508       },
509       "timepicker": {
510         "refresh_intervals": [
511           "5s",
512           "10s",
513           "30s",
514           "1m",
515           "5m",
516           "15m",
517           "30m",
518           "1h",
519           "2h",
520           "1d"
521         ]
522       },
523       "timezone": "",
524       "title": "K8s metrics",
525       "uid": "RxjnWpjZk",
526       "variables": {
527         "list": []
528       },
529       "version": 1
530     }