docs: update docker userguide to use grafana and influxdb images from barometer
[barometer.git] / docker / grafana / dashboards / average_load_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     "description": "Side by side comparison server load. Dynamic templating to select multiple hosts",\r
17     "editable": true,\r
18     "gnetId": 1406,\r
19     "graphTooltip": 0,\r
20     "hideControls": false,\r
21     "id": null,\r
22     "links": [],\r
23     "rows": [\r
24       {\r
25         "collapse": false,\r
26         "height": "250px",\r
27         "panels": [\r
28           {\r
29             "cacheTimeout": null,\r
30             "colorBackground": false,\r
31             "colorValue": true,\r
32             "colors": [\r
33               "rgba(50, 172, 45, 0.97)",\r
34               "rgba(237, 129, 40, 0.89)",\r
35               "rgba(245, 54, 54, 0.9)"\r
36             ],\r
37             "datasource": "collectd",\r
38             "editable": true,\r
39             "error": false,\r
40             "format": "none",\r
41             "gauge": {\r
42               "maxValue": 30,\r
43               "minValue": 0,\r
44               "show": true,\r
45               "thresholdLabels": false,\r
46               "thresholdMarkers": true\r
47             },\r
48             "id": 1,\r
49             "interval": null,\r
50             "links": [],\r
51             "mappingType": 1,\r
52             "mappingTypes": [\r
53               {\r
54                 "name": "value to text",\r
55                 "value": 1\r
56               },\r
57               {\r
58                 "name": "range to text",\r
59                 "value": 2\r
60               }\r
61             ],\r
62             "maxDataPoints": 100,\r
63             "minSpan": 2,\r
64             "nullPointMode": "connected",\r
65             "nullText": null,\r
66             "postfix": "",\r
67             "postfixFontSize": "50%",\r
68             "prefix": "",\r
69             "prefixFontSize": "50%",\r
70             "rangeMaps": [\r
71               {\r
72                 "from": "null",\r
73                 "text": "N/A",\r
74                 "to": "null"\r
75               }\r
76             ],\r
77             "repeat": "host",\r
78             "scopedVars": {\r
79               "host": {\r
80                 "selected": true,\r
81                 "text": "localhost",\r
82                 "value": "localhost"\r
83               }\r
84             },\r
85             "span": 12,\r
86             "sparkline": {\r
87               "fillColor": "rgba(31, 118, 189, 0.18)",\r
88               "full": false,\r
89               "lineColor": "rgb(31, 120, 193)",\r
90               "show": true\r
91             },\r
92             "tableColumn": "",\r
93             "targets": [\r
94               {\r
95                 "dsType": "influxdb",\r
96                 "groupBy": [\r
97                   {\r
98                     "params": [\r
99                       "$interval"\r
100                     ],\r
101                     "type": "time"\r
102                   },\r
103                   {\r
104                     "params": [\r
105                       "null"\r
106                     ],\r
107                     "type": "fill"\r
108                   }\r
109                 ],\r
110                 "measurement": "load_longterm",\r
111                 "orderByTime": "ASC",\r
112                 "policy": "default",\r
113                 "refId": "A",\r
114                 "resultFormat": "time_series",\r
115                 "select": [\r
116                   [\r
117                     {\r
118                       "params": [\r
119                         "value"\r
120                       ],\r
121                       "type": "field"\r
122                     },\r
123                     {\r
124                       "params": [],\r
125                       "type": "last"\r
126                     }\r
127                   ]\r
128                 ],\r
129                 "tags": [\r
130                   {\r
131                     "key": "host",\r
132                     "operator": "=",\r
133                     "value": "silv-mtahhan-ubuntu.ir.intel.com"\r
134                   },\r
135                   {\r
136                     "condition": "AND",\r
137                     "key": "type",\r
138                     "operator": "=",\r
139                     "value": "load"\r
140                   }\r
141                 ]\r
142               }\r
143             ],\r
144             "thresholds": "25,28",\r
145             "title": "$host load 15m",\r
146             "type": "singlestat",\r
147             "valueFontSize": "80%",\r
148             "valueMaps": [\r
149               {\r
150                 "op": "=",\r
151                 "text": "N/A",\r
152                 "value": "null"\r
153               }\r
154             ],\r
155             "valueName": "avg"\r
156           }\r
157         ],\r
158         "repeat": null,\r
159         "repeatIteration": null,\r
160         "repeatRowId": null,\r
161         "showTitle": false,\r
162         "title": "Row",\r
163         "titleSize": "h6"\r
164       }\r
165     ],\r
166     "schemaVersion": 14,\r
167     "style": "dark",\r
168     "tags": [\r
169       "barometer"\r
170     ],\r
171     "templating": {\r
172       "list": [\r
173         {\r
174           "current": {\r
175             "text": "collectd",\r
176             "value": "collectd"\r
177           },\r
178           "hide": 0,\r
179           "label": null,\r
180           "name": "datasource",\r
181           "options": [],\r
182           "query": "influxdb",\r
183           "refresh": 1,\r
184           "regex": "",\r
185           "type": "datasource"\r
186         },\r
187         {\r
188           "allValue": null,\r
189           "current": {\r
190             "text": "localhost",\r
191             "value": "localhost"\r
192           },\r
193           "datasource": "collectd",\r
194           "hide": 0,\r
195           "includeAll": false,\r
196           "label": "Host",\r
197           "multi": false,\r
198           "name": "host",\r
199           "options": [],\r
200           "query": "SHOW TAG VALUES FROM load_midterm WITH KEY=host",\r
201           "refresh": 1,\r
202           "regex": "",\r
203           "sort": 0,\r
204           "tagValuesQuery": "",\r
205           "tags": [],\r
206           "tagsQuery": "",\r
207           "type": "query",\r
208           "useTags": false\r
209         }\r
210       ]\r
211     },\r
212     "time": {\r
213       "from": "now-6h",\r
214       "to": "now"\r
215     },\r
216     "timepicker": {\r
217       "refresh_intervals": [\r
218         "5s",\r
219         "10s",\r
220         "30s",\r
221         "1m",\r
222         "5m",\r
223         "15m",\r
224         "30m",\r
225         "1h",\r
226         "2h",\r
227         "1d"\r
228       ],\r
229       "time_options": [\r
230         "5m",\r
231         "15m",\r
232         "1h",\r
233         "6h",\r
234         "12h",\r
235         "24h",\r
236         "2d",\r
237         "7d",\r
238         "30d"\r
239       ]\r
240     },\r
241     "timezone": "browser",\r
242     "title": "Average Load Chart",\r
243     "version": 2\r
244   },\r
245   "overwrite": false\r
246 }\r