Merge "docker.userguide: Add a note about bar-collectd run without DPDK/RDT"
[barometer.git] / docker / barometer-grafana / dashboards / hugepages_dashboard.json
1 {\r
2   "dashboard": {\r
3     "annotations": {\r
4       "list": [\r
5         {\r
6           "builtIn": 1,\r
7           "datasource": "-- Grafana --",\r
8           "enable": true,\r
9           "hide": true,\r
10           "iconColor": "rgba(0, 211, 255, 1)",\r
11           "name": "Annotations & Alerts",\r
12           "type": "dashboard"\r
13         }\r
14       ]\r
15     },\r
16     "editable": true,\r
17     "gnetId": null,\r
18     "graphTooltip": 0,\r
19     "hideControls": false,\r
20     "id": null,\r
21     "links": [],\r
22     "refresh": "10s",\r
23     "rows": [\r
24       {\r
25         "collapse": false,\r
26         "height": 250,\r
27         "panels": [\r
28           {\r
29             "cacheTimeout": null,\r
30             "colorBackground": false,\r
31             "colorValue": false,\r
32             "colors": [\r
33               "#d44a3a",\r
34               "rgba(237, 129, 40, 0.89)",\r
35               "#299c46"\r
36             ],\r
37             "datasource": "collectd",\r
38             "format": "none",\r
39             "gauge": {\r
40               "maxValue": null,\r
41               "minValue": 0,\r
42               "show": false,\r
43               "thresholdLabels": false,\r
44               "thresholdMarkers": false\r
45             },\r
46             "id": 3,\r
47             "interval": null,\r
48             "links": [],\r
49             "mappingType": 1,\r
50             "mappingTypes": [\r
51               {\r
52                 "name": "value to text",\r
53                 "value": 1\r
54               },\r
55               {\r
56                 "name": "range to text",\r
57                 "value": 2\r
58               }\r
59             ],\r
60             "maxDataPoints": 100,\r
61             "nullPointMode": "connected",\r
62             "nullText": null,\r
63             "postfix": "",\r
64             "postfixFontSize": "50%",\r
65             "prefix": "",\r
66             "prefixFontSize": "50%",\r
67             "rangeMaps": [\r
68               {\r
69                 "from": "null",\r
70                 "text": "N/A",\r
71                 "to": "null"\r
72               }\r
73             ],\r
74             "span": 3,\r
75             "sparkline": {\r
76               "fillColor": "rgba(31, 118, 189, 0.18)",\r
77               "full": false,\r
78               "lineColor": "rgb(31, 120, 193)",\r
79               "show": false\r
80             },\r
81             "tableColumn": "",\r
82             "targets": [\r
83               {\r
84                 "alias": "$tag_instance",\r
85                 "dsType": "influxdb",\r
86                 "groupBy": [\r
87                   {\r
88                     "params": [\r
89                       "$__interval"\r
90                     ],\r
91                     "type": "time"\r
92                   },\r
93                   {\r
94                     "params": [\r
95                       "null"\r
96                     ],\r
97                     "type": "fill"\r
98                   }\r
99                 ],\r
100                 "measurement": "hugepages_value",\r
101                 "orderByTime": "ASC",\r
102                 "policy": "default",\r
103                 "refId": "A",\r
104                 "resultFormat": "time_series",\r
105                 "select": [\r
106                   [\r
107                     {\r
108                       "params": [\r
109                         "value"\r
110                       ],\r
111                       "type": "field"\r
112                     },\r
113                     {\r
114                       "params": [],\r
115                       "type": "mean"\r
116                     }\r
117                   ]\r
118                 ],\r
119                 "tags": [\r
120                   {\r
121                     "key": "host",\r
122                     "operator": "=~",\r
123                     "value": "/^$Host$/"\r
124                   },\r
125                   {\r
126                     "condition": "AND",\r
127                     "key": "type",\r
128                     "operator": "=",\r
129                     "value": "vmpage_number"\r
130                   },\r
131                   {\r
132                     "condition": "AND",\r
133                     "key": "type_instance",\r
134                     "operator": "=",\r
135                     "value": "free"\r
136                   },\r
137                   {\r
138                     "condition": "AND",\r
139                     "key": "instance",\r
140                     "operator": "=~",\r
141                     "value": "/^$instance$/"\r
142                   }\r
143                 ]\r
144               }\r
145             ],\r
146             "thresholds": "",\r
147             "title": "Free hugepages on selected instance",\r
148             "transparent": true,\r
149             "type": "singlestat",\r
150             "valueFontSize": "80%",\r
151             "valueMaps": [\r
152               {\r
153                 "op": "=",\r
154                 "text": "N/A",\r
155                 "value": "null"\r
156               }\r
157             ],\r
158             "valueName": "current"\r
159           },\r
160           {\r
161             "cacheTimeout": null,\r
162             "colorBackground": false,\r
163             "colorValue": false,\r
164             "colors": [\r
165               "#299c46",\r
166               "rgba(237, 129, 40, 0.89)",\r
167               "#d44a3a"\r
168             ],\r
169             "datasource": "collectd",\r
170             "format": "none",\r
171             "gauge": {\r
172               "maxValue": 100,\r
173               "minValue": 0,\r
174               "show": false,\r
175               "thresholdLabels": false,\r
176               "thresholdMarkers": true\r
177             },\r
178             "id": 4,\r
179             "interval": null,\r
180             "links": [],\r
181             "mappingType": 1,\r
182             "mappingTypes": [\r
183               {\r
184                 "name": "value to text",\r
185                 "value": 1\r
186               },\r
187               {\r
188                 "name": "range to text",\r
189                 "value": 2\r
190               }\r
191             ],\r
192             "maxDataPoints": 100,\r
193             "nullPointMode": "connected",\r
194             "nullText": null,\r
195             "postfix": "",\r
196             "postfixFontSize": "50%",\r
197             "prefix": "",\r
198             "prefixFontSize": "50%",\r
199             "rangeMaps": [\r
200               {\r
201                 "from": "null",\r
202                 "text": "N/A",\r
203                 "to": "null"\r
204               }\r
205             ],\r
206             "span": 3,\r
207             "sparkline": {\r
208               "fillColor": "rgba(31, 118, 189, 0.18)",\r
209               "full": false,\r
210               "lineColor": "rgb(31, 120, 193)",\r
211               "show": false\r
212             },\r
213             "tableColumn": "",\r
214             "targets": [\r
215               {\r
216                 "alias": "$tag_instance",\r
217                 "dsType": "influxdb",\r
218                 "groupBy": [\r
219                   {\r
220                     "params": [\r
221                       "$__interval"\r
222                     ],\r
223                     "type": "time"\r
224                   },\r
225                   {\r
226                     "params": [\r
227                       "null"\r
228                     ],\r
229                     "type": "fill"\r
230                   }\r
231                 ],\r
232                 "measurement": "hugepages_value",\r
233                 "orderByTime": "ASC",\r
234                 "policy": "default",\r
235                 "refId": "A",\r
236                 "resultFormat": "time_series",\r
237                 "select": [\r
238                   [\r
239                     {\r
240                       "params": [\r
241                         "value"\r
242                       ],\r
243                       "type": "field"\r
244                     },\r
245                     {\r
246                       "params": [],\r
247                       "type": "mean"\r
248                     }\r
249                   ]\r
250                 ],\r
251                 "tags": [\r
252                   {\r
253                     "key": "host",\r
254                     "operator": "=~",\r
255                     "value": "/^$Host$/"\r
256                   },\r
257                   {\r
258                     "condition": "AND",\r
259                     "key": "type",\r
260                     "operator": "=",\r
261                     "value": "vmpage_number"\r
262                   },\r
263                   {\r
264                     "condition": "AND",\r
265                     "key": "instance",\r
266                     "operator": "=~",\r
267                     "value": "/^$instance$/"\r
268                   },\r
269                   {\r
270                     "condition": "AND",\r
271                     "key": "type_instance",\r
272                     "operator": "=",\r
273                     "value": "used"\r
274                   }\r
275                 ]\r
276               }\r
277             ],\r
278             "thresholds": "",\r
279             "title": "Used hugepages on selected instance",\r
280             "transparent": true,\r
281             "type": "singlestat",\r
282             "valueFontSize": "80%",\r
283             "valueMaps": [\r
284               {\r
285                 "op": "=",\r
286                 "text": "N/A",\r
287                 "value": "null"\r
288               }\r
289             ],\r
290             "valueName": "current"\r
291           }\r
292         ],\r
293         "repeat": null,\r
294         "repeatIteration": null,\r
295         "repeatRowId": null,\r
296         "showTitle": true,\r
297         "title": "VM Page Number",\r
298         "titleSize": "h6"\r
299       },\r
300       {\r
301         "collapse": false,\r
302         "height": 250,\r
303         "panels": [\r
304           {\r
305             "cacheTimeout": null,\r
306             "colorBackground": false,\r
307             "colorValue": false,\r
308             "colors": [\r
309               "#299c46",\r
310               "rgba(237, 129, 40, 0.89)",\r
311               "#d44a3a"\r
312             ],\r
313             "datasource": "collectd",\r
314             "format": "none",\r
315             "gauge": {\r
316               "maxValue": 100,\r
317               "minValue": 0,\r
318               "show": false,\r
319               "thresholdLabels": false,\r
320               "thresholdMarkers": true\r
321             },\r
322             "id": 1,\r
323             "interval": null,\r
324             "links": [],\r
325             "mappingType": 1,\r
326             "mappingTypes": [\r
327               {\r
328                 "name": "value to text",\r
329                 "value": 1\r
330               },\r
331               {\r
332                 "name": "range to text",\r
333                 "value": 2\r
334               }\r
335             ],\r
336             "maxDataPoints": 100,\r
337             "nullPointMode": "connected",\r
338             "nullText": null,\r
339             "postfix": "",\r
340             "postfixFontSize": "50%",\r
341             "prefix": "",\r
342             "prefixFontSize": "50%",\r
343             "rangeMaps": [\r
344               {\r
345                 "from": "null",\r
346                 "text": "N/A",\r
347                 "to": "null"\r
348               }\r
349             ],\r
350             "span": 3,\r
351             "sparkline": {\r
352               "fillColor": "rgba(31, 118, 189, 0.18)",\r
353               "full": false,\r
354               "lineColor": "rgb(31, 120, 193)",\r
355               "show": false\r
356             },\r
357             "tableColumn": "",\r
358             "targets": [\r
359               {\r
360                 "dsType": "influxdb",\r
361                 "groupBy": [\r
362                   {\r
363                     "params": [\r
364                       "$__interval"\r
365                     ],\r
366                     "type": "time"\r
367                   },\r
368                   {\r
369                     "params": [\r
370                       "null"\r
371                     ],\r
372                     "type": "fill"\r
373                   }\r
374                 ],\r
375                 "measurement": "hugepages_value",\r
376                 "orderByTime": "ASC",\r
377                 "policy": "default",\r
378                 "refId": "A",\r
379                 "resultFormat": "time_series",\r
380                 "select": [\r
381                   [\r
382                     {\r
383                       "params": [\r
384                         "value"\r
385                       ],\r
386                       "type": "field"\r
387                     },\r
388                     {\r
389                       "params": [],\r
390                       "type": "mean"\r
391                     }\r
392                   ]\r
393                 ],\r
394                 "tags": [\r
395                   {\r
396                     "key": "host",\r
397                     "operator": "=~",\r
398                     "value": "/^$Host$/"\r
399                   },\r
400                   {\r
401                     "condition": "AND",\r
402                     "key": "type",\r
403                     "operator": "=",\r
404                     "value": "memory"\r
405                   },\r
406                   {\r
407                     "condition": "AND",\r
408                     "key": "instance",\r
409                     "operator": "=~",\r
410                     "value": "/^$instance$/"\r
411                   },\r
412                   {\r
413                     "condition": "AND",\r
414                     "key": "type_instance",\r
415                     "operator": "=",\r
416                     "value": "free"\r
417                   }\r
418                 ]\r
419               }\r
420             ],\r
421             "thresholds": "",\r
422             "title": "Free hugepages on the system",\r
423             "transparent": true,\r
424             "type": "singlestat",\r
425             "valueFontSize": "80%",\r
426             "valueMaps": [\r
427               {\r
428                 "op": "=",\r
429                 "text": "N/A",\r
430                 "value": "null"\r
431               }\r
432             ],\r
433             "valueName": "current"\r
434           },\r
435           {\r
436             "cacheTimeout": null,\r
437             "colorBackground": false,\r
438             "colorValue": false,\r
439             "colors": [\r
440               "#299c46",\r
441               "rgba(237, 129, 40, 0.89)",\r
442               "#d44a3a"\r
443             ],\r
444             "datasource": "collectd",\r
445             "format": "none",\r
446             "gauge": {\r
447               "maxValue": 100,\r
448               "minValue": 0,\r
449               "show": false,\r
450               "thresholdLabels": false,\r
451               "thresholdMarkers": true\r
452             },\r
453             "id": 2,\r
454             "interval": null,\r
455             "links": [],\r
456             "mappingType": 1,\r
457             "mappingTypes": [\r
458               {\r
459                 "name": "value to text",\r
460                 "value": 1\r
461               },\r
462               {\r
463                 "name": "range to text",\r
464                 "value": 2\r
465               }\r
466             ],\r
467             "maxDataPoints": 100,\r
468             "nullPointMode": "connected",\r
469             "nullText": null,\r
470             "postfix": "",\r
471             "postfixFontSize": "50%",\r
472             "prefix": "",\r
473             "prefixFontSize": "50%",\r
474             "rangeMaps": [\r
475               {\r
476                 "from": "null",\r
477                 "text": "N/A",\r
478                 "to": "null"\r
479               }\r
480             ],\r
481             "span": 3,\r
482             "sparkline": {\r
483               "fillColor": "rgba(31, 118, 189, 0.18)",\r
484               "full": false,\r
485               "lineColor": "rgb(31, 120, 193)",\r
486               "show": false\r
487             },\r
488             "tableColumn": "",\r
489             "targets": [\r
490               {\r
491                 "dsType": "influxdb",\r
492                 "groupBy": [\r
493                   {\r
494                     "params": [\r
495                       "$__interval"\r
496                     ],\r
497                     "type": "time"\r
498                   },\r
499                   {\r
500                     "params": [\r
501                       "null"\r
502                     ],\r
503                     "type": "fill"\r
504                   }\r
505                 ],\r
506                 "measurement": "hugepages_value",\r
507                 "orderByTime": "ASC",\r
508                 "policy": "default",\r
509                 "refId": "A",\r
510                 "resultFormat": "time_series",\r
511                 "select": [\r
512                   [\r
513                     {\r
514                       "params": [\r
515                         "value"\r
516                       ],\r
517                       "type": "field"\r
518                     },\r
519                     {\r
520                       "params": [],\r
521                       "type": "mean"\r
522                     }\r
523                   ]\r
524                 ],\r
525                 "tags": [\r
526                   {\r
527                     "key": "host",\r
528                     "operator": "=~",\r
529                     "value": "/^$Host$/"\r
530                   },\r
531                   {\r
532                     "condition": "AND",\r
533                     "key": "type",\r
534                     "operator": "=",\r
535                     "value": "memory"\r
536                   },\r
537                   {\r
538                     "condition": "AND",\r
539                     "key": "instance",\r
540                     "operator": "=~",\r
541                     "value": "/^$instance$/"\r
542                   },\r
543                   {\r
544                     "condition": "AND",\r
545                     "key": "type_instance",\r
546                     "operator": "=",\r
547                     "value": "used"\r
548                   }\r
549                 ]\r
550               }\r
551             ],\r
552             "thresholds": "",\r
553             "title": "Used hugepages on the system",\r
554             "transparent": true,\r
555             "type": "singlestat",\r
556             "valueFontSize": "80%",\r
557             "valueMaps": [\r
558               {\r
559                 "op": "=",\r
560                 "text": "N/A",\r
561                 "value": "null"\r
562               }\r
563             ],\r
564             "valueName": "current"\r
565           }\r
566         ],\r
567         "repeat": null,\r
568         "repeatIteration": null,\r
569         "repeatRowId": null,\r
570         "showTitle": true,\r
571         "title": "Bytes",\r
572         "titleSize": "h6"\r
573       }\r
574     ],\r
575     "schemaVersion": 14,\r
576     "style": "dark",\r
577     "tags": [\r
578       "barometer"\r
579     ],\r
580     "templating": {\r
581       "list": [\r
582         {\r
583           "current": {\r
584             "text": "collectd",\r
585             "value": "collectd"\r
586           },\r
587           "hide": 0,\r
588           "label": null,\r
589           "name": "datasource",\r
590           "options": [],\r
591           "query": "influxdb",\r
592           "refresh": 1,\r
593           "regex": "",\r
594           "type": "datasource"\r
595         },\r
596         {\r
597           "allValue": null,\r
598           "current": {\r
599             "tags": [],\r
600             "text": "silpixa00390827.ir.intel.com",\r
601             "value": "silpixa00390827.ir.intel.com"\r
602           },\r
603           "datasource": "collectd",\r
604           "hide": 0,\r
605           "includeAll": false,\r
606           "label": null,\r
607           "multi": false,\r
608           "name": "Host",\r
609           "options": [],\r
610           "query": "SHOW TAG VALUES FROM hugepages_value WITH KEY=host",\r
611           "refresh": 1,\r
612           "regex": "",\r
613           "sort": 0,\r
614           "tagValuesQuery": "",\r
615           "tags": [],\r
616           "tagsQuery": "SHOW TAG VALUES FROM hugepages_value with key = instance WHERE (\"host\" =~ /^$host$/)",\r
617           "type": "query",\r
618           "useTags": true\r
619         },\r
620         {\r
621           "allValue": null,\r
622           "current": {\r
623             "tags": [],\r
624             "text": "mm-2048Kb",\r
625             "value": "mm-2048Kb"\r
626           },\r
627           "datasource": "collectd",\r
628           "hide": 0,\r
629           "includeAll": false,\r
630           "label": null,\r
631           "multi": false,\r
632           "name": "instance",\r
633           "options": [],\r
634           "query": "SHOW TAG VALUES FROM hugepages_value WITH KEY=instance",\r
635           "refresh": 1,\r
636           "regex": "",\r
637           "sort": 0,\r
638           "tagValuesQuery": "",\r
639           "tags": [],\r
640           "tagsQuery": "",\r
641           "type": "query",\r
642           "useTags": false\r
643         }\r
644       ]\r
645     },\r
646     "time": {\r
647       "from": "now-15m",\r
648       "to": "now"\r
649     },\r
650     "timepicker": {\r
651       "refresh_intervals": [\r
652         "5s",\r
653         "10s",\r
654         "30s",\r
655         "1m",\r
656         "5m",\r
657         "15m",\r
658         "30m",\r
659         "1h",\r
660         "2h",\r
661         "1d"\r
662       ],\r
663       "time_options": [\r
664         "5m",\r
665         "15m",\r
666         "1h",\r
667         "6h",\r
668         "12h",\r
669         "24h",\r
670         "2d",\r
671         "7d",\r
672         "30d"\r
673       ]\r
674     },\r
675     "timezone": "",\r
676     "title": "Hugepages",\r
677     "version": 2\r
678   },\r
679   "overwrite": false\r
680 }\r