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