]> git.sesse.net Git - nageru/blob - Nageru-Grafana.json
Release Nageru 1.7.2.
[nageru] / Nageru-Grafana.json
1 {
2   "__inputs": [
3     {
4       "name": "DS_EXAMPLE",
5       "label": "Data source",
6       "description": "",
7       "type": "datasource",
8       "pluginId": "prometheus",
9       "pluginName": "Prometheus"
10     }
11   ],
12   "__requires": [
13     {
14       "type": "grafana",
15       "id": "grafana",
16       "name": "Grafana",
17       "version": "5.1.0"
18     },
19     {
20       "type": "panel",
21       "id": "graph",
22       "name": "Graph",
23       "version": "5.0.0"
24     },
25     {
26       "type": "panel",
27       "id": "heatmap",
28       "name": "Heatmap",
29       "version": "5.0.0"
30     },
31     {
32       "type": "datasource",
33       "id": "prometheus",
34       "name": "Prometheus",
35       "version": "5.0.0"
36     },
37     {
38       "type": "panel",
39       "id": "singlestat",
40       "name": "Singlestat",
41       "version": "5.0.0"
42     }
43   ],
44   "annotations": {
45     "list": [
46       {
47         "builtIn": 1,
48         "datasource": "-- Grafana --",
49         "enable": true,
50         "hide": true,
51         "iconColor": "rgba(0, 211, 255, 1)",
52         "name": "Annotations & Alerts",
53         "type": "dashboard"
54       }
55     ]
56   },
57   "editable": true,
58   "gnetId": null,
59   "graphTooltip": 0,
60   "id": null,
61   "iteration": 1524926525808,
62   "links": [],
63   "panels": [
64     {
65       "collapsed": false,
66       "gridPos": {
67         "h": 1,
68         "w": 24,
69         "x": 0,
70         "y": 0
71       },
72       "id": 63,
73       "panels": [],
74       "repeat": "instance",
75       "title": "$instance",
76       "type": "row"
77     },
78     {
79       "cacheTimeout": null,
80       "colorBackground": false,
81       "colorValue": false,
82       "colors": [
83         "rgba(245, 54, 54, 0.9)",
84         "rgba(237, 129, 40, 0.89)",
85         "rgba(50, 172, 45, 0.97)"
86       ],
87       "datasource": "${DS_EXAMPLE}",
88       "format": "s",
89       "gauge": {
90         "maxValue": 100,
91         "minValue": 0,
92         "show": false,
93         "thresholdLabels": false,
94         "thresholdMarkers": true
95       },
96       "gridPos": {
97         "h": 4,
98         "w": 4,
99         "x": 0,
100         "y": 1
101       },
102       "id": 37,
103       "interval": null,
104       "links": [],
105       "mappingType": 1,
106       "mappingTypes": [
107         {
108           "name": "value to text",
109           "value": 1
110         },
111         {
112           "name": "range to text",
113           "value": 2
114         }
115       ],
116       "maxDataPoints": 100,
117       "nullPointMode": "connected",
118       "nullText": null,
119       "postfix": "",
120       "postfixFontSize": "50%",
121       "prefix": "",
122       "prefixFontSize": "50%",
123       "rangeMaps": [
124         {
125           "from": "null",
126           "text": "N/A",
127           "to": "null"
128         }
129       ],
130       "repeat": null,
131       "sparkline": {
132         "fillColor": "rgba(31, 118, 189, 0.18)",
133         "full": false,
134         "lineColor": "rgb(31, 120, 193)",
135         "show": false
136       },
137       "tableColumn": "",
138       "targets": [
139         {
140           "expr": "time() - nageru_start_time_seconds{instance=~\"$instance\"}",
141           "format": "time_series",
142           "hide": false,
143           "intervalFactor": 2,
144           "legendFormat": "",
145           "refId": "A",
146           "step": 240
147         }
148       ],
149       "thresholds": "",
150       "title": "Nageru uptime",
151       "type": "singlestat",
152       "valueFontSize": "80%",
153       "valueMaps": [
154         {
155           "op": "=",
156           "text": "N/A",
157           "value": "null"
158         }
159       ],
160       "valueName": "current"
161     },
162     {
163       "cacheTimeout": null,
164       "colorBackground": false,
165       "colorValue": false,
166       "colors": [
167         "rgba(245, 54, 54, 0.9)",
168         "rgba(237, 129, 40, 0.89)",
169         "rgba(50, 172, 45, 0.97)"
170       ],
171       "datasource": "${DS_EXAMPLE}",
172       "format": "dtdurations",
173       "gauge": {
174         "maxValue": 100,
175         "minValue": 0,
176         "show": false,
177         "thresholdLabels": false,
178         "thresholdMarkers": true
179       },
180       "gridPos": {
181         "h": 4,
182         "w": 4,
183         "x": 4,
184         "y": 1
185       },
186       "id": 6,
187       "interval": null,
188       "links": [],
189       "mappingType": 1,
190       "mappingTypes": [
191         {
192           "name": "value to text",
193           "value": 1
194         },
195         {
196           "name": "range to text",
197           "value": 2
198         }
199       ],
200       "maxDataPoints": 100,
201       "nullPointMode": "connected",
202       "nullText": null,
203       "postfix": "",
204       "postfixFontSize": "50%",
205       "prefix": "",
206       "prefixFontSize": "50%",
207       "rangeMaps": [
208         {
209           "from": "null",
210           "text": "N/A",
211           "to": "null"
212         }
213       ],
214       "repeat": null,
215       "sparkline": {
216         "fillColor": "rgba(31, 118, 189, 0.18)",
217         "full": false,
218         "lineColor": "rgb(31, 120, 193)",
219         "show": false
220       },
221       "tableColumn": "instance",
222       "targets": [
223         {
224           "expr": "nageru_disk_free_bytes / ignoring(destination) deriv(nageru_mux_written_bytes{destination=\"files_total\",instance=~\"$instance\"}[10m])",
225           "format": "time_series",
226           "interval": "",
227           "intervalFactor": 2,
228           "legendFormat": "",
229           "refId": "A",
230           "step": 240
231         }
232       ],
233       "thresholds": "",
234       "title": "Disk space remaining",
235       "type": "singlestat",
236       "valueFontSize": "80%",
237       "valueMaps": [
238         {
239           "op": "=",
240           "text": "N/A",
241           "value": "null"
242         }
243       ],
244       "valueName": "current"
245     },
246     {
247       "cacheTimeout": null,
248       "colorBackground": false,
249       "colorValue": false,
250       "colors": [
251         "rgba(245, 54, 54, 0.9)",
252         "rgba(237, 129, 40, 0.89)",
253         "rgba(50, 172, 45, 0.97)"
254       ],
255       "datasource": "${DS_EXAMPLE}",
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": 4,
266         "w": 4,
267         "x": 8,
268         "y": 1
269       },
270       "id": 11,
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": true
303       },
304       "tableColumn": "",
305       "targets": [
306         {
307           "expr": "nageru_num_connected_clients{instance=~\"$instance\"}",
308           "format": "time_series",
309           "intervalFactor": 2,
310           "legendFormat": "",
311           "refId": "A",
312           "step": 240
313         }
314       ],
315       "thresholds": "",
316       "title": "Connected clients",
317       "type": "singlestat",
318       "valueFontSize": "80%",
319       "valueMaps": [
320         {
321           "op": "=",
322           "text": "N/A",
323           "value": "null"
324         }
325       ],
326       "valueName": "current"
327     },
328     {
329       "cacheTimeout": null,
330       "colorBackground": false,
331       "colorValue": false,
332       "colors": [
333         "rgba(245, 54, 54, 0.9)",
334         "rgba(237, 129, 40, 0.89)",
335         "rgba(50, 172, 45, 0.97)"
336       ],
337       "datasource": "${DS_EXAMPLE}",
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": 4,
348         "w": 4,
349         "x": 12,
350         "y": 1
351       },
352       "id": 46,
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": true
385       },
386       "tableColumn": "",
387       "targets": [
388         {
389           "expr": "sum(nageru_input_has_signal_bool{cardtype=\"ffmpeg\",instance=~\"$instance\"})",
390           "format": "time_series",
391           "intervalFactor": 2,
392           "legendFormat": "",
393           "metric": "",
394           "refId": "A",
395           "step": 240
396         }
397       ],
398       "thresholds": "",
399       "title": "Connected FFmpeg inputs",
400       "type": "singlestat",
401       "valueFontSize": "80%",
402       "valueMaps": [
403         {
404           "op": "=",
405           "text": "N/A",
406           "value": "null"
407         }
408       ],
409       "valueName": "current"
410     },
411     {
412       "cacheTimeout": null,
413       "colorBackground": false,
414       "colorValue": false,
415       "colors": [
416         "rgba(245, 54, 54, 0.9)",
417         "rgba(237, 129, 40, 0.89)",
418         "rgba(50, 172, 45, 0.97)"
419       ],
420       "datasource": "${DS_EXAMPLE}",
421       "decimals": 1,
422       "format": "none",
423       "gauge": {
424         "maxValue": 100,
425         "minValue": 0,
426         "show": false,
427         "thresholdLabels": false,
428         "thresholdMarkers": true
429       },
430       "gridPos": {
431         "h": 4,
432         "w": 4,
433         "x": 16,
434         "y": 1
435       },
436       "id": 7,
437       "interval": null,
438       "links": [],
439       "mappingType": 1,
440       "mappingTypes": [
441         {
442           "name": "value to text",
443           "value": 1
444         },
445         {
446           "name": "range to text",
447           "value": 2
448         }
449       ],
450       "maxDataPoints": 100,
451       "nullPointMode": "connected",
452       "nullText": null,
453       "postfix": " LU",
454       "postfixFontSize": "50%",
455       "prefix": "",
456       "prefixFontSize": "50%",
457       "rangeMaps": [
458         {
459           "from": "null",
460           "text": "N/A",
461           "to": "null"
462         }
463       ],
464       "sparkline": {
465         "fillColor": "rgba(31, 118, 189, 0.18)",
466         "full": false,
467         "lineColor": "rgb(31, 120, 193)",
468         "show": true
469       },
470       "tableColumn": "",
471       "targets": [
472         {
473           "expr": "nageru_audio_loudness_integrated_lufs{instance=~\"$instance\"} + 23",
474           "format": "time_series",
475           "intervalFactor": 2,
476           "legendFormat": "",
477           "refId": "A",
478           "step": 240
479         }
480       ],
481       "thresholds": "",
482       "title": "Overall audio level",
483       "type": "singlestat",
484       "valueFontSize": "80%",
485       "valueMaps": [
486         {
487           "op": "=",
488           "text": "N/A",
489           "value": "null"
490         }
491       ],
492       "valueName": "current"
493     },
494     {
495       "aliasColors": {},
496       "bars": false,
497       "dashLength": 10,
498       "dashes": false,
499       "datasource": "${DS_EXAMPLE}",
500       "fill": 0,
501       "gridPos": {
502         "h": 4,
503         "w": 4,
504         "x": 20,
505         "y": 1
506       },
507       "id": 18,
508       "legend": {
509         "avg": false,
510         "current": false,
511         "max": false,
512         "min": false,
513         "show": false,
514         "total": false,
515         "values": false
516       },
517       "lines": true,
518       "linewidth": 1,
519       "links": [],
520       "nullPointMode": "null",
521       "percentage": false,
522       "pointradius": 5,
523       "points": false,
524       "renderer": "flot",
525       "seriesOverrides": [],
526       "spaceLength": 10,
527       "stack": false,
528       "steppedLine": false,
529       "targets": [
530         {
531           "expr": "nageru_audio_correlation{instance=~\"$instance\"}",
532           "format": "time_series",
533           "intervalFactor": 2,
534           "legendFormat": "",
535           "refId": "A",
536           "step": 60
537         }
538       ],
539       "thresholds": [],
540       "timeFrom": null,
541       "timeShift": null,
542       "title": "Audio correlation",
543       "tooltip": {
544         "shared": true,
545         "sort": 0,
546         "value_type": "individual"
547       },
548       "type": "graph",
549       "xaxis": {
550         "buckets": null,
551         "mode": "time",
552         "name": null,
553         "show": true,
554         "values": []
555       },
556       "yaxes": [
557         {
558           "format": "short",
559           "label": "",
560           "logBase": 1,
561           "max": "1",
562           "min": "-1",
563           "show": true
564         },
565         {
566           "format": "short",
567           "label": null,
568           "logBase": 1,
569           "max": null,
570           "min": null,
571           "show": true
572         }
573       ],
574       "yaxis": {
575         "align": false,
576         "alignLevel": null
577       }
578     },
579     {
580       "collapsed": false,
581       "gridPos": {
582         "h": 1,
583         "w": 24,
584         "x": 0,
585         "y": 5
586       },
587       "id": 64,
588       "panels": [],
589       "repeat": null,
590       "title": "Dashboard Row",
591       "type": "row"
592     },
593     {
594       "aliasColors": {},
595       "bars": false,
596       "dashLength": 10,
597       "dashes": false,
598       "datasource": "${DS_EXAMPLE}",
599       "fill": 1,
600       "gridPos": {
601         "h": 7,
602         "w": 12,
603         "x": 0,
604         "y": 6
605       },
606       "id": 1,
607       "legend": {
608         "avg": false,
609         "current": false,
610         "max": false,
611         "min": false,
612         "show": true,
613         "total": false,
614         "values": false
615       },
616       "lines": true,
617       "linewidth": 1,
618       "links": [],
619       "nullPointMode": "null",
620       "percentage": false,
621       "pointradius": 5,
622       "points": false,
623       "renderer": "flot",
624       "seriesOverrides": [],
625       "spaceLength": 10,
626       "stack": true,
627       "steppedLine": false,
628       "targets": [
629         {
630           "expr": "rate(nageru_decklink_output_completed_frames{status!=\"completed\",instance=~\"$instance\"}[1m])",
631           "format": "time_series",
632           "interval": "",
633           "intervalFactor": 2,
634           "legendFormat": "Output frames {{status}}",
635           "refId": "A",
636           "step": 20
637         },
638         {
639           "expr": "sum(rate(nageru_input_dropped_frames_error{instance=~\"$instance\"}[1m])) without (cardtype)",
640           "format": "time_series",
641           "interval": "",
642           "intervalFactor": 2,
643           "legendFormat": "Error frames card {{card}}",
644           "refId": "B",
645           "step": 20
646         },
647         {
648           "expr": "rate(nageru_quick_sync_stalled_frames{instance=~\"$instance\"}[1m])",
649           "format": "time_series",
650           "interval": "",
651           "intervalFactor": 2,
652           "legendFormat": "Quick Sync stalled frames",
653           "refId": "C",
654           "step": 20
655         },
656         {
657           "expr": "rate(nageru_x264_dropped_frames{instance=~\"$instance\"}[1m])",
658           "format": "time_series",
659           "interval": "",
660           "intervalFactor": 2,
661           "legendFormat": "x264 dropped frames",
662           "refId": "D",
663           "step": 20
664         },
665         {
666           "expr": "rate(nageru_x264_speedcontrol_idle_frames{instance=~\"$instance\"}[1m])",
667           "format": "time_series",
668           "interval": "",
669           "intervalFactor": 2,
670           "legendFormat": "x264 speedcontrol idle frames",
671           "refId": "E",
672           "step": 20
673         },
674         {
675           "expr": "rate(nageru_x264_speedcontrol_late_frames{instance=~\"$instance\"}[1m])",
676           "format": "time_series",
677           "interval": "",
678           "intervalFactor": 2,
679           "legendFormat": "x264 speedcontrol late frames",
680           "refId": "F",
681           "step": 20
682         },
683         {
684           "expr": "rate(nageru_memory_gpu_evictions{instance=~\"$instance\"}[1m])",
685           "format": "time_series",
686           "interval": "",
687           "intervalFactor": 1,
688           "legendFormat": "GPU memory evictions",
689           "refId": "G"
690         }
691       ],
692       "thresholds": [],
693       "timeFrom": null,
694       "timeShift": null,
695       "title": "Potential performance problems",
696       "tooltip": {
697         "shared": true,
698         "sort": 0,
699         "value_type": "individual"
700       },
701       "type": "graph",
702       "xaxis": {
703         "buckets": null,
704         "mode": "time",
705         "name": null,
706         "show": true,
707         "values": []
708       },
709       "yaxes": [
710         {
711           "format": "short",
712           "label": null,
713           "logBase": 1,
714           "max": null,
715           "min": null,
716           "show": true
717         },
718         {
719           "format": "short",
720           "label": null,
721           "logBase": 1,
722           "max": null,
723           "min": null,
724           "show": true
725         }
726       ],
727       "yaxis": {
728         "align": false,
729         "alignLevel": null
730       }
731     },
732     {
733       "aliasColors": {},
734       "bars": false,
735       "dashLength": 10,
736       "dashes": false,
737       "datasource": "${DS_EXAMPLE}",
738       "fill": 1,
739       "gridPos": {
740         "h": 7,
741         "w": 12,
742         "x": 12,
743         "y": 6
744       },
745       "id": 27,
746       "legend": {
747         "avg": false,
748         "current": false,
749         "max": false,
750         "min": false,
751         "show": true,
752         "total": false,
753         "values": false
754       },
755       "lines": true,
756       "linewidth": 1,
757       "links": [],
758       "nullPointMode": "null",
759       "percentage": false,
760       "pointradius": 5,
761       "points": false,
762       "renderer": "flot",
763       "seriesOverrides": [],
764       "spaceLength": 10,
765       "stack": true,
766       "steppedLine": false,
767       "targets": [
768         {
769           "expr": "sum(rate(nageru_input_queue_duped_frames{instance=~\"$instance\"}[1m])) without (cardtype)",
770           "format": "time_series",
771           "interval": "",
772           "intervalFactor": 2,
773           "legendFormat": "Duplicated frames (queue starvation) card {{card}}",
774           "metric": "",
775           "refId": "A",
776           "step": 20
777         },
778         {
779           "expr": "sum(rate(nageru_input_dropped_frames_jitter{instance=~\"$instance\"}[1m])) without (cardtype)",
780           "format": "time_series",
781           "interval": "",
782           "intervalFactor": 2,
783           "legendFormat": "Dropped frames card {{card}}",
784           "refId": "B",
785           "step": 20
786         }
787       ],
788       "thresholds": [],
789       "timeFrom": null,
790       "timeShift": null,
791       "title": "Queue events",
792       "tooltip": {
793         "shared": true,
794         "sort": 0,
795         "value_type": "individual"
796       },
797       "type": "graph",
798       "xaxis": {
799         "buckets": null,
800         "mode": "time",
801         "name": null,
802         "show": true,
803         "values": []
804       },
805       "yaxes": [
806         {
807           "format": "short",
808           "label": null,
809           "logBase": 1,
810           "max": null,
811           "min": null,
812           "show": true
813         },
814         {
815           "format": "short",
816           "label": null,
817           "logBase": 1,
818           "max": null,
819           "min": null,
820           "show": true
821         }
822       ],
823       "yaxis": {
824         "align": false,
825         "alignLevel": null
826       }
827     },
828     {
829       "collapsed": false,
830       "gridPos": {
831         "h": 1,
832         "w": 24,
833         "x": 0,
834         "y": 13
835       },
836       "id": 65,
837       "panels": [],
838       "repeat": null,
839       "title": "Dashboard Row",
840       "type": "row"
841     },
842     {
843       "aliasColors": {},
844       "bars": false,
845       "dashLength": 10,
846       "dashes": false,
847       "datasource": "${DS_EXAMPLE}",
848       "fill": 1,
849       "gridPos": {
850         "h": 7,
851         "w": 12,
852         "x": 0,
853         "y": 14
854       },
855       "id": 12,
856       "legend": {
857         "avg": false,
858         "current": false,
859         "max": false,
860         "min": false,
861         "show": true,
862         "total": false,
863         "values": false
864       },
865       "lines": true,
866       "linewidth": 1,
867       "links": [],
868       "nullPointMode": "null",
869       "percentage": false,
870       "pointradius": 5,
871       "points": false,
872       "renderer": "flot",
873       "seriesOverrides": [],
874       "spaceLength": 10,
875       "stack": true,
876       "steppedLine": false,
877       "targets": [
878         {
879           "expr": "8 * rate(nageru_mux_stream_bytes{destination=\"http\",instance=~\"$instance\"}[1m])",
880           "format": "time_series",
881           "interval": "",
882           "intervalFactor": 2,
883           "legendFormat": "{{stream}}",
884           "refId": "A",
885           "step": 20
886         }
887       ],
888       "thresholds": [],
889       "timeFrom": null,
890       "timeShift": null,
891       "title": "Stream bitrates",
892       "tooltip": {
893         "shared": true,
894         "sort": 0,
895         "value_type": "individual"
896       },
897       "type": "graph",
898       "xaxis": {
899         "buckets": null,
900         "mode": "time",
901         "name": null,
902         "show": true,
903         "values": []
904       },
905       "yaxes": [
906         {
907           "format": "bps",
908           "label": null,
909           "logBase": 1,
910           "max": null,
911           "min": "0",
912           "show": true
913         },
914         {
915           "format": "short",
916           "label": null,
917           "logBase": 1,
918           "max": null,
919           "min": null,
920           "show": true
921         }
922       ],
923       "yaxis": {
924         "align": false,
925         "alignLevel": null
926       }
927     },
928     {
929       "aliasColors": {},
930       "bars": false,
931       "dashLength": 10,
932       "dashes": false,
933       "datasource": "${DS_EXAMPLE}",
934       "fill": 1,
935       "gridPos": {
936         "h": 7,
937         "w": 12,
938         "x": 12,
939         "y": 14
940       },
941       "id": 13,
942       "legend": {
943         "avg": false,
944         "current": false,
945         "max": false,
946         "min": false,
947         "show": true,
948         "total": false,
949         "values": false
950       },
951       "lines": true,
952       "linewidth": 1,
953       "links": [],
954       "nullPointMode": "null",
955       "percentage": false,
956       "pointradius": 5,
957       "points": false,
958       "renderer": "flot",
959       "seriesOverrides": [],
960       "spaceLength": 10,
961       "stack": true,
962       "steppedLine": false,
963       "targets": [
964         {
965           "expr": "8 * rate(nageru_mux_stream_bytes{destination=\"current_file\",instance=~\"$instance\"}[1m])",
966           "format": "time_series",
967           "interval": "",
968           "intervalFactor": 2,
969           "legendFormat": "{{stream}}",
970           "refId": "A",
971           "step": 20
972         }
973       ],
974       "thresholds": [],
975       "timeFrom": null,
976       "timeShift": null,
977       "title": "Disk bitrates",
978       "tooltip": {
979         "shared": true,
980         "sort": 0,
981         "value_type": "individual"
982       },
983       "type": "graph",
984       "xaxis": {
985         "buckets": null,
986         "mode": "time",
987         "name": null,
988         "show": true,
989         "values": []
990       },
991       "yaxes": [
992         {
993           "format": "bps",
994           "label": null,
995           "logBase": 1,
996           "max": null,
997           "min": "0",
998           "show": true
999         },
1000         {
1001           "format": "short",
1002           "label": null,
1003           "logBase": 1,
1004           "max": null,
1005           "min": null,
1006           "show": true
1007         }
1008       ],
1009       "yaxis": {
1010         "align": false,
1011         "alignLevel": null
1012       }
1013     },
1014     {
1015       "collapsed": false,
1016       "gridPos": {
1017         "h": 1,
1018         "w": 24,
1019         "x": 0,
1020         "y": 21
1021       },
1022       "id": 66,
1023       "panels": [],
1024       "repeat": null,
1025       "title": "Dashboard Row",
1026       "type": "row"
1027     },
1028     {
1029       "aliasColors": {},
1030       "bars": false,
1031       "dashLength": 10,
1032       "dashes": false,
1033       "datasource": "${DS_EXAMPLE}",
1034       "fill": 1,
1035       "gridPos": {
1036         "h": 7,
1037         "w": 8,
1038         "x": 0,
1039         "y": 22
1040       },
1041       "id": 19,
1042       "legend": {
1043         "avg": false,
1044         "current": false,
1045         "max": false,
1046         "min": false,
1047         "show": true,
1048         "total": false,
1049         "values": false
1050       },
1051       "lines": true,
1052       "linewidth": 1,
1053       "links": [],
1054       "nullPointMode": "null",
1055       "percentage": false,
1056       "pointradius": 5,
1057       "points": false,
1058       "renderer": "flot",
1059       "seriesOverrides": [
1060         {
1061           "alias": "90-percentile",
1062           "fillBelowTo": "10-percentile",
1063           "lines": false
1064         },
1065         {
1066           "alias": "10-percentile",
1067           "lines": false
1068         },
1069         {
1070           "alias": "Average",
1071           "fill": 0
1072         }
1073       ],
1074       "spaceLength": 10,
1075       "stack": false,
1076       "steppedLine": false,
1077       "targets": [
1078         {
1079           "expr": "histogram_quantile(0.9, rate(nageru_x264_crf_bucket{instance=~\"$instance\"}[1m]))",
1080           "format": "time_series",
1081           "intervalFactor": 2,
1082           "legendFormat": "90-percentile",
1083           "refId": "B",
1084           "step": 30
1085         },
1086         {
1087           "expr": "histogram_quantile(0.1, rate(nageru_x264_crf_bucket{instance=~\"$instance\"}[1m]))",
1088           "format": "time_series",
1089           "interval": "",
1090           "intervalFactor": 2,
1091           "legendFormat": "10-percentile",
1092           "refId": "A",
1093           "step": 30
1094         },
1095         {
1096           "expr": "rate(nageru_x264_crf_sum{instance=~\"$instance\"}[1m]) / rate(nageru_x264_crf_count{instance=~\"$instance\"}[1m])",
1097           "format": "time_series",
1098           "interval": "",
1099           "intervalFactor": 2,
1100           "legendFormat": "Average",
1101           "refId": "C",
1102           "step": 30
1103         }
1104       ],
1105       "thresholds": [],
1106       "timeFrom": null,
1107       "timeShift": null,
1108       "title": "x264 average CRF (lower is better)",
1109       "tooltip": {
1110         "shared": true,
1111         "sort": 0,
1112         "value_type": "individual"
1113       },
1114       "type": "graph",
1115       "xaxis": {
1116         "buckets": null,
1117         "mode": "time",
1118         "name": null,
1119         "show": true,
1120         "values": []
1121       },
1122       "yaxes": [
1123         {
1124           "format": "short",
1125           "label": null,
1126           "logBase": 1,
1127           "max": null,
1128           "min": null,
1129           "show": true
1130         },
1131         {
1132           "format": "short",
1133           "label": null,
1134           "logBase": 1,
1135           "max": null,
1136           "min": null,
1137           "show": true
1138         }
1139       ],
1140       "yaxis": {
1141         "align": false,
1142         "alignLevel": null
1143       }
1144     },
1145     {
1146       "cards": {
1147         "cardPadding": 0,
1148         "cardRound": null
1149       },
1150       "color": {
1151         "cardColor": "#b4ff00",
1152         "colorScale": "sqrt",
1153         "colorScheme": "interpolateOranges",
1154         "exponent": 0.5,
1155         "mode": "spectrum"
1156       },
1157       "dataFormat": "tsbuckets",
1158       "datasource": "${DS_EXAMPLE}",
1159       "gridPos": {
1160         "h": 7,
1161         "w": 24,
1162         "x": 0,
1163         "y": 29
1164       },
1165       "heatmap": {},
1166       "highlightCards": true,
1167       "id": 55,
1168       "legend": {
1169         "show": false
1170       },
1171       "links": [],
1172       "repeat": "instance",
1173       "repeatDirection": "h",
1174       "targets": [
1175         {
1176           "expr": "rate(nageru_x264_speedcontrol_preset_used_frames_bucket{instance=~\"$instance\"}[1m])",
1177           "format": "heatmap",
1178           "interval": "",
1179           "intervalFactor": 4,
1180           "legendFormat": "{{le}}",
1181           "refId": "A",
1182           "step": 30
1183         }
1184       ],
1185       "title": "x264 speed control chosen preset",
1186       "tooltip": {
1187         "show": true,
1188         "showHistogram": false
1189       },
1190       "type": "heatmap",
1191       "xAxis": {
1192         "show": true
1193       },
1194       "xBucketNumber": null,
1195       "xBucketSize": "",
1196       "yAxis": {
1197         "decimals": null,
1198         "format": "none",
1199         "logBase": 1,
1200         "max": "26",
1201         "min": "0",
1202         "show": true,
1203         "splitFactor": null
1204       },
1205       "yBucketBound": "auto",
1206       "yBucketNumber": null,
1207       "yBucketSize": 1
1208     },
1209     {
1210       "aliasColors": {},
1211       "bars": false,
1212       "dashLength": 10,
1213       "dashes": false,
1214       "datasource": "${DS_EXAMPLE}",
1215       "fill": 1,
1216       "gridPos": {
1217         "h": 7,
1218         "w": 8,
1219         "x": 16,
1220         "y": 36
1221       },
1222       "id": 62,
1223       "legend": {
1224         "avg": false,
1225         "current": false,
1226         "max": false,
1227         "min": false,
1228         "show": true,
1229         "total": false,
1230         "values": false
1231       },
1232       "lines": true,
1233       "linewidth": 1,
1234       "links": [],
1235       "nullPointMode": "null",
1236       "percentage": false,
1237       "pointradius": 5,
1238       "points": false,
1239       "renderer": "flot",
1240       "seriesOverrides": [],
1241       "spaceLength": 10,
1242       "stack": false,
1243       "steppedLine": false,
1244       "targets": [
1245         {
1246           "expr": "nageru_x264_speedcontrol_buffer_available_seconds{instance=~\"$instance\"} / nageru_x264_speedcontrol_buffer_size_seconds{instance=~\"$instance\"}",
1247           "format": "time_series",
1248           "interval": "",
1249           "intervalFactor": 2,
1250           "legendFormat": "x264 speed control buffer available",
1251           "refId": "A",
1252           "step": 30
1253         }
1254       ],
1255       "thresholds": [],
1256       "timeFrom": null,
1257       "timeShift": null,
1258       "title": "x264 buffer space available",
1259       "tooltip": {
1260         "shared": true,
1261         "sort": 0,
1262         "value_type": "individual"
1263       },
1264       "type": "graph",
1265       "xaxis": {
1266         "buckets": null,
1267         "mode": "time",
1268         "name": null,
1269         "show": true,
1270         "values": []
1271       },
1272       "yaxes": [
1273         {
1274           "format": "percentunit",
1275           "label": "",
1276           "logBase": 1,
1277           "max": null,
1278           "min": null,
1279           "show": true
1280         },
1281         {
1282           "format": "short",
1283           "label": null,
1284           "logBase": 1,
1285           "max": null,
1286           "min": null,
1287           "show": true
1288         }
1289       ],
1290       "yaxis": {
1291         "align": false,
1292         "alignLevel": null
1293       }
1294     },
1295     {
1296       "collapsed": false,
1297       "gridPos": {
1298         "h": 1,
1299         "w": 24,
1300         "x": 0,
1301         "y": 43
1302       },
1303       "id": 67,
1304       "panels": [],
1305       "repeat": null,
1306       "title": "Dashboard Row",
1307       "type": "row"
1308     },
1309     {
1310       "aliasColors": {},
1311       "bars": false,
1312       "dashLength": 10,
1313       "dashes": false,
1314       "datasource": "${DS_EXAMPLE}",
1315       "fill": 0,
1316       "gridPos": {
1317         "h": 7,
1318         "w": 12,
1319         "x": 0,
1320         "y": 44
1321       },
1322       "id": 2,
1323       "legend": {
1324         "alignAsTable": false,
1325         "avg": false,
1326         "current": false,
1327         "max": false,
1328         "min": false,
1329         "rightSide": false,
1330         "show": false,
1331         "sideWidth": null,
1332         "total": false,
1333         "values": false
1334       },
1335       "lines": true,
1336       "linewidth": 1,
1337       "links": [],
1338       "nullPointMode": "null",
1339       "percentage": false,
1340       "pointradius": 5,
1341       "points": false,
1342       "renderer": "flot",
1343       "repeat": "card",
1344       "seriesOverrides": [
1345         {
1346           "alias": "90-percentile",
1347           "fillBelowTo": "10-percentile",
1348           "lines": false
1349         },
1350         {
1351           "alias": "10-percentile",
1352           "lines": false
1353         }
1354       ],
1355       "spaceLength": 10,
1356       "stack": false,
1357       "steppedLine": false,
1358       "targets": [
1359         {
1360           "expr": "nageru_latency_seconds{measuring_point=\"decklink_output\",frame_type=\"total\",quantile=\"0.9\",frame_age=\"0\",card=\"$card\",instance=~\"$instance\"}",
1361           "format": "time_series",
1362           "hide": false,
1363           "interval": "",
1364           "intervalFactor": 2,
1365           "legendFormat": "90-percentile",
1366           "metric": "",
1367           "refId": "A",
1368           "step": 30
1369         },
1370         {
1371           "expr": "nageru_latency_seconds{measuring_point=\"decklink_output\",frame_type=\"total\",quantile=\"0.1\",frame_age=\"0\",card=\"$card\",instance=~\"$instance\"}",
1372           "format": "time_series",
1373           "interval": "",
1374           "intervalFactor": 2,
1375           "legendFormat": "10-percentile",
1376           "refId": "B",
1377           "step": 30
1378         },
1379         {
1380           "expr": "sum(\n  rate(nageru_latency_seconds_sum{measuring_point=\"decklink_output\",frame_age=\"0\",card=\"$card\",instance=~\"$instance\"}[1m])\n) without (frame_type) / sum(\n  rate(nageru_latency_seconds_count{measuring_point=\"decklink_output\",frame_age=\"0\",card=\"$card\",instance=~\"$instance\"}[1m])\n) without (frame_type)",
1381           "format": "time_series",
1382           "interval": "",
1383           "intervalFactor": 2,
1384           "legendFormat": "Average",
1385           "refId": "C",
1386           "step": 30
1387         }
1388       ],
1389       "thresholds": [],
1390       "timeFrom": null,
1391       "timeShift": null,
1392       "title": "HDMI/SDI latency, card $card",
1393       "tooltip": {
1394         "shared": true,
1395         "sort": 0,
1396         "value_type": "individual"
1397       },
1398       "type": "graph",
1399       "xaxis": {
1400         "buckets": null,
1401         "mode": "time",
1402         "name": null,
1403         "show": true,
1404         "values": []
1405       },
1406       "yaxes": [
1407         {
1408           "format": "dtdurations",
1409           "label": null,
1410           "logBase": 1,
1411           "max": null,
1412           "min": null,
1413           "show": true
1414         },
1415         {
1416           "format": "short",
1417           "label": null,
1418           "logBase": 1,
1419           "max": null,
1420           "min": null,
1421           "show": true
1422         }
1423       ],
1424       "yaxis": {
1425         "align": false,
1426         "alignLevel": null
1427       }
1428     },
1429     {
1430       "aliasColors": {},
1431       "bars": false,
1432       "dashLength": 10,
1433       "dashes": false,
1434       "datasource": "${DS_EXAMPLE}",
1435       "fill": 0,
1436       "gridPos": {
1437         "h": 7,
1438         "w": 12,
1439         "x": 0,
1440         "y": 51
1441       },
1442       "id": 20,
1443       "legend": {
1444         "alignAsTable": false,
1445         "avg": false,
1446         "current": false,
1447         "max": false,
1448         "min": false,
1449         "rightSide": false,
1450         "show": false,
1451         "sideWidth": null,
1452         "total": false,
1453         "values": false
1454       },
1455       "lines": true,
1456       "linewidth": 1,
1457       "links": [],
1458       "nullPointMode": "null",
1459       "percentage": false,
1460       "pointradius": 5,
1461       "points": false,
1462       "renderer": "flot",
1463       "repeat": "card",
1464       "seriesOverrides": [
1465         {
1466           "alias": "90-percentile",
1467           "fillBelowTo": "10-percentile",
1468           "lines": false
1469         },
1470         {
1471           "alias": "10-percentile",
1472           "lines": false
1473         }
1474       ],
1475       "spaceLength": 10,
1476       "stack": false,
1477       "steppedLine": false,
1478       "targets": [
1479         {
1480           "expr": "nageru_latency_seconds{measuring_point=\"mixer\",frame_type=\"total\",quantile=\"0.9\",frame_age=\"0\",card=\"$card\",instance=~\"$instance\"}",
1481           "format": "time_series",
1482           "hide": false,
1483           "interval": "",
1484           "intervalFactor": 2,
1485           "legendFormat": "90-percentile",
1486           "metric": "",
1487           "refId": "A",
1488           "step": 30
1489         },
1490         {
1491           "expr": "nageru_latency_seconds{measuring_point=\"mixer\",frame_type=\"total\",quantile=\"0.1\",frame_age=\"0\",card=\"$card\",instance=~\"$instance\"}",
1492           "format": "time_series",
1493           "interval": "",
1494           "intervalFactor": 2,
1495           "legendFormat": "10-percentile",
1496           "refId": "B",
1497           "step": 30
1498         },
1499         {
1500           "expr": "sum(\n  rate(nageru_latency_seconds_sum{measuring_point=\"mixer\",frame_age=\"0\",card=\"$card\",instance=~\"$instance\"}[1m])\n) without (frame_type) / sum(\n  rate(nageru_latency_seconds_count{measuring_point=\"mixer\",frame_age=\"0\",card=\"$card\",instance=~\"$instance\"}[1m])\n) without (frame_type)",
1501           "format": "time_series",
1502           "interval": "",
1503           "intervalFactor": 2,
1504           "legendFormat": "Average",
1505           "refId": "C",
1506           "step": 30
1507         }
1508       ],
1509       "thresholds": [],
1510       "timeFrom": null,
1511       "timeShift": null,
1512       "title": "Mixer latency, card $card",
1513       "tooltip": {
1514         "shared": true,
1515         "sort": 0,
1516         "value_type": "individual"
1517       },
1518       "type": "graph",
1519       "xaxis": {
1520         "buckets": null,
1521         "mode": "time",
1522         "name": null,
1523         "show": true,
1524         "values": []
1525       },
1526       "yaxes": [
1527         {
1528           "format": "dtdurations",
1529           "label": "",
1530           "logBase": 1,
1531           "max": null,
1532           "min": null,
1533           "show": true
1534         },
1535         {
1536           "format": "short",
1537           "label": null,
1538           "logBase": 1,
1539           "max": null,
1540           "min": null,
1541           "show": true
1542         }
1543       ],
1544       "yaxis": {
1545         "align": false,
1546         "alignLevel": null
1547       }
1548     },
1549     {
1550       "aliasColors": {},
1551       "bars": false,
1552       "dashLength": 10,
1553       "dashes": false,
1554       "datasource": "${DS_EXAMPLE}",
1555       "fill": 1,
1556       "gridPos": {
1557         "h": 7,
1558         "w": 8,
1559         "x": 0,
1560         "y": 58
1561       },
1562       "id": 14,
1563       "legend": {
1564         "avg": false,
1565         "current": false,
1566         "max": false,
1567         "min": false,
1568         "show": true,
1569         "total": false,
1570         "values": false
1571       },
1572       "lines": true,
1573       "linewidth": 1,
1574       "links": [],
1575       "nullPointMode": "null",
1576       "percentage": false,
1577       "pointradius": 5,
1578       "points": false,
1579       "renderer": "flot",
1580       "seriesOverrides": [],
1581       "spaceLength": 10,
1582       "stack": false,
1583       "steppedLine": false,
1584       "targets": [
1585         {
1586           "expr": "nageru_memory_used_bytes{instance=~\"$instance\"}",
1587           "format": "time_series",
1588           "interval": "",
1589           "intervalFactor": 2,
1590           "legendFormat": "Used",
1591           "refId": "A",
1592           "step": 30
1593         },
1594         {
1595           "expr": "nageru_memory_locked_limit_bytes{instance=~\"$instance\"}",
1596           "format": "time_series",
1597           "interval": "",
1598           "intervalFactor": 2,
1599           "legendFormat": "Max locked",
1600           "refId": "B",
1601           "step": 30
1602         },
1603         {
1604           "expr": "nageru_memory_gpu_used_bytes{instance=~\"$instance\"} ",
1605           "format": "time_series",
1606           "intervalFactor": 1,
1607           "legendFormat": "GPU used",
1608           "refId": "C"
1609         },
1610         {
1611           "expr": "nageru_memory_gpu_total_bytes{instance=~\"$instance\"} ",
1612           "format": "time_series",
1613           "interval": "",
1614           "intervalFactor": 1,
1615           "legendFormat": "GPU max",
1616           "refId": "D"
1617         }
1618       ],
1619       "thresholds": [],
1620       "timeFrom": null,
1621       "timeShift": null,
1622       "title": "Memory usage",
1623       "tooltip": {
1624         "shared": true,
1625         "sort": 0,
1626         "value_type": "individual"
1627       },
1628       "type": "graph",
1629       "xaxis": {
1630         "buckets": null,
1631         "mode": "time",
1632         "name": null,
1633         "show": true,
1634         "values": []
1635       },
1636       "yaxes": [
1637         {
1638           "format": "bytes",
1639           "label": "",
1640           "logBase": 1,
1641           "max": null,
1642           "min": "0",
1643           "show": true
1644         },
1645         {
1646           "format": "short",
1647           "label": null,
1648           "logBase": 1,
1649           "max": null,
1650           "min": null,
1651           "show": true
1652         }
1653       ],
1654       "yaxis": {
1655         "align": false,
1656         "alignLevel": null
1657       }
1658     }
1659   ],
1660   "refresh": "30s",
1661   "schemaVersion": 16,
1662   "style": "dark",
1663   "tags": [],
1664   "templating": {
1665     "list": [
1666       {
1667         "allValue": null,
1668         "current": {},
1669         "datasource": "${DS_EXAMPLE}",
1670         "hide": 0,
1671         "includeAll": true,
1672         "label": null,
1673         "multi": false,
1674         "name": "instance",
1675         "options": [],
1676         "query": "nageru_latency_seconds{measuring_point=\"mixer\"}",
1677         "refresh": 1,
1678         "regex": "/.*instance=\"([^\"]+)\".*/",
1679         "sort": 1,
1680         "tagValuesQuery": "",
1681         "tags": [],
1682         "tagsQuery": "",
1683         "type": "query",
1684         "useTags": false
1685       },
1686       {
1687         "allValue": null,
1688         "current": {},
1689         "datasource": "${DS_EXAMPLE}",
1690         "hide": 0,
1691         "includeAll": true,
1692         "label": null,
1693         "multi": false,
1694         "name": "card",
1695         "options": [],
1696         "query": "nageru_latency_seconds{measuring_point=\"mixer\"}",
1697         "refresh": 1,
1698         "regex": "/.*card=\"(\\d+)\".*/",
1699         "sort": 3,
1700         "tagValuesQuery": "",
1701         "tags": [],
1702         "tagsQuery": "",
1703         "type": "query",
1704         "useTags": false
1705       }
1706     ]
1707   },
1708   "time": {
1709     "from": "now-3h",
1710     "to": "now"
1711   },
1712   "timepicker": {
1713     "refresh_intervals": [
1714       "5s",
1715       "10s",
1716       "30s",
1717       "1m",
1718       "5m",
1719       "15m",
1720       "30m",
1721       "1h",
1722       "2h",
1723       "1d"
1724     ],
1725     "time_options": [
1726       "5m",
1727       "15m",
1728       "1h",
1729       "6h",
1730       "12h",
1731       "24h",
1732       "2d",
1733       "7d",
1734       "30d"
1735     ]
1736   },
1737   "timezone": "browser",
1738   "title": "Nageru",
1739   "uid": "UML0ZDMmz",
1740   "version": 7
1741 }