Update libs
[dcaegen2/collectors/hv-ves.git] / tools / performance / local / grafana / dashboards / performance_tests.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   "iteration": 1563350058629,
19   "links": [],
20   "panels": [
21     {
22       "aliasColors": {},
23       "bars": false,
24       "dashLength": 10,
25       "dashes": false,
26       "fill": 0,
27       "gridPos": {
28         "h": 10,
29         "w": 10,
30         "x": 0,
31         "y": 0
32       },
33       "id": 6,
34       "legend": {
35         "alignAsTable": true,
36         "avg": true,
37         "current": true,
38         "hideEmpty": true,
39         "hideZero": true,
40         "max": false,
41         "min": false,
42         "show": true,
43         "total": false,
44         "values": true
45       },
46       "lines": true,
47       "linewidth": 1,
48       "links": [],
49       "nullPointMode": "null",
50       "options": {},
51       "percentage": false,
52       "pointradius": 2,
53       "points": false,
54       "renderer": "flot",
55       "seriesOverrides": [],
56       "spaceLength": 10,
57       "stack": false,
58       "steppedLine": false,
59       "targets": [
60         {
61           "expr": "histogram_quantile(0.90, sum( rate(hv_kafka_consumer_travel_time_seconds_bucket[$time_range]) )by(le) )",
62           "format": "time_series",
63           "interval": "",
64           "intervalFactor": 1,
65           "legendFormat": "90th percentile of avg message travel time",
66           "refId": "A"
67         },
68         {
69           "expr": "histogram_quantile(0.95, sum( rate(hv_kafka_consumer_travel_time_seconds_bucket[$time_range]) )by(le) )",
70           "format": "time_series",
71           "intervalFactor": 1,
72           "legendFormat": "95th percentile of avg message travel time",
73           "refId": "B"
74         },
75         {
76           "expr": "histogram_quantile(0.99, sum( rate(hv_kafka_consumer_travel_time_seconds_bucket[$time_range]) )by(le) )",
77           "format": "time_series",
78           "intervalFactor": 1,
79           "legendFormat": "99th percentile of avg message travel time",
80           "refId": "C"
81         },
82         {
83           "expr": "rate(hv_kafka_consumer_travel_time_seconds_sum[$time_range])/rate(hv_kafka_consumer_travel_time_seconds_count[$time_range])",
84           "format": "time_series",
85           "intervalFactor": 1,
86           "legendFormat": "avg message travel time",
87           "refId": "D"
88         }
89       ],
90       "thresholds": [],
91       "timeFrom": null,
92       "timeRegions": [],
93       "timeShift": null,
94       "title": "Avg message travel time",
95       "tooltip": {
96         "shared": true,
97         "sort": 0,
98         "value_type": "individual"
99       },
100       "type": "graph",
101       "xaxis": {
102         "buckets": null,
103         "mode": "time",
104         "name": null,
105         "show": true,
106         "values": []
107       },
108       "yaxes": [
109         {
110           "format": "s",
111           "label": null,
112           "logBase": 1,
113           "max": null,
114           "min": null,
115           "show": true
116         },
117         {
118           "format": "short",
119           "label": null,
120           "logBase": 1,
121           "max": null,
122           "min": null,
123           "show": true
124         }
125       ],
126       "yaxis": {
127         "align": false,
128         "alignLevel": null
129       }
130     },
131     {
132       "cacheTimeout": null,
133       "colorBackground": false,
134       "colorPostfix": false,
135       "colorPrefix": false,
136       "colorValue": false,
137       "colors": [
138         "#299c46",
139         "rgba(237, 129, 40, 0.89)",
140         "#d44a3a"
141       ],
142       "format": "none",
143       "gauge": {
144         "maxValue": 100,
145         "minValue": 0,
146         "show": false,
147         "thresholdLabels": false,
148         "thresholdMarkers": true
149       },
150       "gridPos": {
151         "h": 4,
152         "w": 6,
153         "x": 0,
154         "y": 10
155       },
156       "id": 8,
157       "interval": null,
158       "links": [],
159       "mappingType": 1,
160       "mappingTypes": [
161         {
162           "name": "value to text",
163           "value": 1
164         },
165         {
166           "name": "range to text",
167           "value": 2
168         }
169       ],
170       "maxDataPoints": 100,
171       "nullPointMode": "connected",
172       "nullText": null,
173       "options": {},
174       "postfix": "",
175       "postfixFontSize": "50%",
176       "prefix": "",
177       "prefixFontSize": "50%",
178       "rangeMaps": [
179         {
180           "from": "null",
181           "text": "N/A",
182           "to": "null"
183         }
184       ],
185       "sparkline": {
186         "fillColor": "rgba(31, 118, 189, 0.18)",
187         "full": false,
188         "lineColor": "rgb(31, 120, 193)",
189         "show": true
190       },
191       "tableColumn": "",
192       "targets": [
193         {
194           "expr": "hv_kafka_consumer_offset_partition_hv_ves_perf3gpp_0",
195           "format": "time_series",
196           "intervalFactor": 1,
197           "refId": "A"
198         }
199       ],
200       "thresholds": "",
201       "timeFrom": null,
202       "timeShift": null,
203       "title": "Current offset on partition 0",
204       "type": "singlestat",
205       "valueFontSize": "80%",
206       "valueMaps": [
207         {
208           "op": "=",
209           "text": "N/A",
210           "value": "null"
211         }
212       ],
213       "valueName": "current"
214     }
215   ],
216   "refresh": "5s",
217   "schemaVersion": 18,
218   "style": "dark",
219   "tags": [],
220   "templating": {
221     "list": [
222       {
223         "allValue": null,
224         "current": {
225           "tags": [],
226           "text": "15m",
227           "value": "15m"
228         },
229         "hide": 0,
230         "includeAll": false,
231         "label": null,
232         "multi": false,
233         "name": "time_range",
234         "options": [
235           {
236             "selected": false,
237             "text": "5m",
238             "value": "5m"
239           },
240           {
241             "selected": false,
242             "text": "10m",
243             "value": "10m"
244           },
245           {
246             "selected": true,
247             "text": "15m",
248             "value": "15m"
249           },
250           {
251             "selected": false,
252             "text": "30m",
253             "value": "30m"
254           },
255           {
256             "selected": false,
257             "text": "1h",
258             "value": "1h"
259           }
260         ],
261         "query": "5m, 10m, 15m, 30m, 1h",
262         "skipUrlSync": false,
263         "type": "custom"
264       }
265     ]
266   },
267   "time": {
268     "from": "now-1h",
269     "to": "now"
270   },
271   "timepicker": {
272     "refresh_intervals": [
273       "5s",
274       "10s",
275       "30s",
276       "1m",
277       "5m",
278       "15m",
279       "30m",
280       "1h",
281       "2h",
282       "1d"
283     ],
284     "time_options": [
285       "5m",
286       "15m",
287       "1h",
288       "6h",
289       "12h",
290       "24h",
291       "2d",
292       "7d",
293       "30d"
294     ]
295   },
296   "timezone": "",
297   "title": "Performance tests",
298   "uid": "ErPSMaIZk",
299   "version": 3
300 }