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