Update libs
[dcaegen2/collectors/hv-ves.git] / tools / performance / local / grafana / dashboards / connections.json
1 {
2   "annotations": {
3     "list": [
4       {
5         "builtIn": 1,
6         "datasource": "Prometheus",
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": 1,
19   "links": [],
20   "panels": [
21     {
22       "cacheTimeout": null,
23       "colorBackground": false,
24       "colorValue": true,
25       "colors": [
26         "#299c46",
27         "rgba(237, 129, 40, 0.89)",
28         "#d44a3a"
29       ],
30       "datasource": "Prometheus",
31       "format": "none",
32       "gauge": {
33         "maxValue": 10000,
34         "minValue": 0,
35         "show": true,
36         "thresholdLabels": false,
37         "thresholdMarkers": true
38       },
39       "gridPos": {
40         "h": 9,
41         "w": 6,
42         "x": 0,
43         "y": 0
44       },
45       "id": 4,
46       "interval": null,
47       "links": [],
48       "mappingType": 1,
49       "mappingTypes": [
50         {
51           "name": "value to text",
52           "value": 1
53         },
54         {
55           "name": "range to text",
56           "value": 2
57         }
58       ],
59       "maxDataPoints": 100,
60       "nullPointMode": "connected",
61       "nullText": null,
62       "postfix": "",
63       "postfixFontSize": "50%",
64       "prefix": "",
65       "prefixFontSize": "50%",
66       "rangeMaps": [
67         {
68           "from": "null",
69           "text": "N/A",
70           "to": "null"
71         }
72       ],
73       "sparkline": {
74         "fillColor": "rgba(31, 118, 189, 0.18)",
75         "full": false,
76         "lineColor": "rgb(31, 120, 193)",
77         "show": false
78       },
79       "tableColumn": "",
80       "targets": [
81         {
82           "expr": "sum(hvves_connections_active) by (value)",
83           "format": "time_series",
84           "instant": false,
85           "intervalFactor": 1,
86           "refId": "A"
87         }
88       ],
89       "thresholds": "7000,9000",
90       "title": "Currently active connections",
91       "type": "singlestat",
92       "valueFontSize": "80%",
93       "valueMaps": [
94         {
95           "op": "=",
96           "text": "N/A",
97           "value": "null"
98         }
99       ],
100       "valueName": "current"
101     },
102     {
103       "columns": [
104         {
105           "text": "Current",
106           "value": "current"
107         }
108       ],
109       "datasource": "Prometheus",
110       "fontSize": "100%",
111       "gridPos": {
112         "h": 9,
113         "w": 6,
114         "x": 6,
115         "y": 0
116       },
117       "id": 2,
118       "links": [],
119       "pageSize": 10,
120       "scroll": true,
121       "showHeader": true,
122       "sort": {
123         "col": 0,
124         "desc": true
125       },
126       "styles": [
127         {
128           "alias": "Time",
129           "dateFormat": "YYYY-MM-DD HH:mm:ss",
130           "pattern": "Time",
131           "type": "date"
132         },
133         {
134           "alias": "",
135           "colorMode": null,
136           "colors": [
137             "rgba(245, 54, 54, 0.9)",
138             "rgba(237, 129, 40, 0.89)",
139             "rgba(50, 172, 45, 0.97)"
140           ],
141           "decimals": 2,
142           "pattern": "/.*/",
143           "thresholds": [],
144           "type": "number",
145           "unit": "short"
146         }
147       ],
148       "targets": [
149         {
150           "expr": "sum(hvves_connections_active) by (kubernetes_pod_name, value)",
151           "format": "time_series",
152           "instant": true,
153           "intervalFactor": 1,
154           "legendFormat": "{{kubernetes_pod_name}}",
155           "refId": "B"
156         }
157       ],
158       "timeFrom": "1h",
159       "title": "Active connections per pod",
160       "transform": "timeseries_aggregations",
161       "type": "table"
162     },
163     {
164       "aliasColors": {},
165       "bars": false,
166       "dashLength": 10,
167       "dashes": false,
168       "fill": 1,
169       "gridPos": {
170         "h": 9,
171         "w": 12,
172         "x": 12,
173         "y": 0
174       },
175       "id": 6,
176       "legend": {
177         "avg": false,
178         "current": false,
179         "max": false,
180         "min": false,
181         "show": false,
182         "total": false,
183         "values": false
184       },
185       "lines": true,
186       "linewidth": 1,
187       "links": [],
188       "nullPointMode": "null",
189       "percentage": false,
190       "pointradius": 5,
191       "points": false,
192       "renderer": "flot",
193       "seriesOverrides": [],
194       "spaceLength": 10,
195       "stack": false,
196       "steppedLine": false,
197       "targets": [
198         {
199           "expr": "sum(hvves_connections_active)",
200           "format": "time_series",
201           "intervalFactor": 1,
202           "legendFormat": "Active connections total",
203           "refId": "A"
204         }
205       ],
206       "thresholds": [],
207       "timeFrom": "45 m",
208       "timeRegions": [],
209       "timeShift": null,
210       "title": "Active connections over time",
211       "tooltip": {
212         "shared": true,
213         "sort": 0,
214         "value_type": "individual"
215       },
216       "type": "graph",
217       "xaxis": {
218         "buckets": null,
219         "mode": "time",
220         "name": null,
221         "show": true,
222         "values": []
223       },
224       "yaxes": [
225         {
226           "format": "short",
227           "label": null,
228           "logBase": 1,
229           "max": null,
230           "min": null,
231           "show": true
232         },
233         {
234           "format": "short",
235           "label": null,
236           "logBase": 1,
237           "max": null,
238           "min": null,
239           "show": true
240         }
241       ],
242       "yaxis": {
243         "align": false,
244         "alignLevel": null
245       }
246     },
247     {
248       "cacheTimeout": null,
249       "colorBackground": false,
250       "colorValue": false,
251       "colors": [
252         "#299c46",
253         "rgba(237, 129, 40, 0.89)",
254         "#d44a3a"
255       ],
256       "format": "none",
257       "gauge": {
258         "maxValue": 100,
259         "minValue": 0,
260         "show": false,
261         "thresholdLabels": false,
262         "thresholdMarkers": true
263       },
264       "gridPos": {
265         "h": 3,
266         "w": 6,
267         "x": 0,
268         "y": 9
269       },
270       "id": 8,
271       "interval": null,
272       "links": [],
273       "mappingType": 1,
274       "mappingTypes": [
275         {
276           "name": "value to text",
277           "value": 1
278         },
279         {
280           "name": "range to text",
281           "value": 2
282         }
283       ],
284       "maxDataPoints": 100,
285       "nullPointMode": "connected",
286       "nullText": null,
287       "postfix": "",
288       "postfixFontSize": "50%",
289       "prefix": "",
290       "prefixFontSize": "50%",
291       "rangeMaps": [
292         {
293           "from": "null",
294           "text": "N/A",
295           "to": "null"
296         }
297       ],
298       "sparkline": {
299         "fillColor": "rgba(31, 118, 189, 0.18)",
300         "full": false,
301         "lineColor": "rgb(31, 120, 193)",
302         "show": false
303       },
304       "tableColumn": "",
305       "targets": [
306         {
307           "expr": "sum(hvves_connections_total)",
308           "format": "time_series",
309           "instant": true,
310           "intervalFactor": 1,
311           "legendFormat": "",
312           "refId": "A"
313         }
314       ],
315       "thresholds": "",
316       "title": "Total connections",
317       "type": "singlestat",
318       "valueFontSize": "80%",
319       "valueMaps": [
320         {
321           "op": "=",
322           "text": "N/A",
323           "value": "null"
324         }
325       ],
326       "valueName": "avg"
327     },
328     {
329       "cacheTimeout": null,
330       "colorBackground": false,
331       "colorValue": false,
332       "colors": [
333         "#299c46",
334         "rgba(237, 129, 40, 0.89)",
335         "#d44a3a"
336       ],
337       "datasource": "Prometheus",
338       "format": "none",
339       "gauge": {
340         "maxValue": 100,
341         "minValue": 0,
342         "show": false,
343         "thresholdLabels": false,
344         "thresholdMarkers": true
345       },
346       "gridPos": {
347         "h": 3,
348         "w": 6,
349         "x": 6,
350         "y": 9
351       },
352       "id": 10,
353       "interval": null,
354       "links": [],
355       "mappingType": 1,
356       "mappingTypes": [
357         {
358           "name": "value to text",
359           "value": 1
360         },
361         {
362           "name": "range to text",
363           "value": 2
364         }
365       ],
366       "maxDataPoints": 100,
367       "nullPointMode": "connected",
368       "nullText": null,
369       "postfix": "",
370       "postfixFontSize": "50%",
371       "prefix": "",
372       "prefixFontSize": "50%",
373       "rangeMaps": [
374         {
375           "from": "null",
376           "text": "N/A",
377           "to": "null"
378         }
379       ],
380       "sparkline": {
381         "fillColor": "rgba(31, 118, 189, 0.18)",
382         "full": false,
383         "lineColor": "rgb(31, 120, 193)",
384         "show": false
385       },
386       "tableColumn": "",
387       "targets": [
388         {
389           "expr": "sum(hvves_clients_rejected_total)",
390           "format": "time_series",
391           "instant": true,
392           "intervalFactor": 1,
393           "refId": "A"
394         }
395       ],
396       "thresholds": "",
397       "title": "Clients rejected",
398       "type": "singlestat",
399       "valueFontSize": "80%",
400       "valueMaps": [
401         {
402           "op": "=",
403           "text": "0",
404           "value": "null"
405         }
406       ],
407       "valueName": "avg"
408     },
409     {
410       "columns": [
411         {
412           "text": "Current",
413           "value": "current"
414         }
415       ],
416       "datasource": "Prometheus",
417       "fontSize": "100%",
418       "gridPos": {
419         "h": 7,
420         "w": 6,
421         "x": 0,
422         "y": 12
423       },
424       "id": 11,
425       "links": [],
426       "pageSize": 10,
427       "scroll": true,
428       "showHeader": true,
429       "sort": {
430         "col": 0,
431         "desc": true
432       },
433       "styles": [
434         {
435           "alias": "Time",
436           "dateFormat": "YYYY-MM-DD HH:mm:ss",
437           "pattern": "Time",
438           "type": "date"
439         },
440         {
441           "alias": "",
442           "colorMode": null,
443           "colors": [
444             "rgba(245, 54, 54, 0.9)",
445             "rgba(237, 129, 40, 0.89)",
446             "rgba(50, 172, 45, 0.97)"
447           ],
448           "decimals": 2,
449           "pattern": "/.*/",
450           "thresholds": [],
451           "type": "number",
452           "unit": "short"
453         }
454       ],
455       "targets": [
456         {
457           "expr": "sum(hvves_connections_total) by (kubernetes_pod_name, value)",
458           "format": "time_series",
459           "instant": true,
460           "intervalFactor": 1,
461           "legendFormat": "{{kubernetes_pod_name}}",
462           "refId": "B"
463         }
464       ],
465       "timeFrom": "1h",
466       "title": "Total connections per pod",
467       "transform": "timeseries_aggregations",
468       "type": "table"
469     },
470     {
471       "columns": [
472         {
473           "text": "Current",
474           "value": "current"
475         }
476       ],
477       "datasource": "Prometheus",
478       "fontSize": "100%",
479       "gridPos": {
480         "h": 7,
481         "w": 6,
482         "x": 6,
483         "y": 12
484       },
485       "id": 12,
486       "links": [],
487       "pageSize": 10,
488       "scroll": true,
489       "showHeader": true,
490       "sort": {
491         "col": 0,
492         "desc": true
493       },
494       "styles": [
495         {
496           "alias": "Time",
497           "dateFormat": "YYYY-MM-DD HH:mm:ss",
498           "pattern": "Time",
499           "type": "date"
500         },
501         {
502           "alias": "",
503           "colorMode": null,
504           "colors": [
505             "rgba(245, 54, 54, 0.9)",
506             "rgba(237, 129, 40, 0.89)",
507             "rgba(50, 172, 45, 0.97)"
508           ],
509           "decimals": 2,
510           "pattern": "/.*/",
511           "thresholds": [],
512           "type": "number",
513           "unit": "short"
514         }
515       ],
516       "targets": [
517         {
518           "expr": "sum(hvves_clients_rejected_total) by (kubernetes_pod_name, value)",
519           "format": "time_series",
520           "instant": true,
521           "intervalFactor": 1,
522           "legendFormat": "{{kubernetes_pod_name}}",
523           "refId": "B"
524         }
525       ],
526       "timeFrom": "1h",
527       "title": "Rejected connections per pod",
528       "transform": "timeseries_aggregations",
529       "type": "table"
530     }
531   ],
532   "refresh": "1s",
533   "schemaVersion": 16,
534   "style": "dark",
535   "tags": [],
536   "templating": {
537     "list": []
538   },
539   "time": {
540     "from": "now-1h",
541     "to": "now"
542   },
543   "timepicker": {
544     "refresh_intervals": [
545       "1s",
546       "5s",
547       "10s",
548       "30s",
549       "1m",
550       "5m",
551       "15m",
552       "30m",
553       "1h",
554       "2h",
555       "1d"
556     ],
557     "time_options": [
558       "5m",
559       "15m",
560       "1h",
561       "6h",
562       "12h",
563       "24h",
564       "2d",
565       "7d",
566       "30d"
567     ]
568   },
569   "timezone": "",
570   "title": "HV-VES  connections",
571   "uid": "bAy7xlwmk",
572   "version": 1
573 }