Debian Codegraph @

dashboards/jonnenauha/dashboard.json

raw symbols SCIP
1 {
2 "__inputs": [
3 {
4 "name": "DS_PROMETHEUS",
5 "label": "Prometheus",
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": "4.5.2"
18 },
19 {
20 "type": "panel",
21 "id": "graph",
22 "name": "Graph",
23 "version": ""
24 },
25 {
26 "type": "datasource",
27 "id": "prometheus",
28 "name": "Prometheus",
29 "version": "1.0.0"
30 },
31 {
32 "type": "panel",
33 "id": "singlestat",
34 "name": "Singlestat",
35 "version": ""
36 }
37 ],
38 "annotations": {
39 "list": []
40 },
41 "editable": true,
42 "gnetId": null,
43 "graphTooltip": 0,
44 "hideControls": false,
45 "id": null,
46 "links": [],
47 "refresh": "30s",
48 "rows": [
49 {
50 "collapse": false,
51 "height": 160,
52 "panels": [
53 {
54 "cacheTimeout": null,
55 "colorBackground": false,
56 "colorValue": false,
57 "colors": [
58 "rgba(245, 54, 54, 0.9)",
59 "rgba(237, 129, 40, 0.89)",
60 "rgba(50, 172, 45, 0.97)"
61 ],
62 "datasource": "${DS_PROMETHEUS}",
63 "decimals": null,
64 "description": "",
65 "editable": true,
66 "error": false,
67 "format": "percentunit",
68 "gauge": {
69 "maxValue": 1,
70 "minValue": 0,
71 "show": true,
72 "thresholdLabels": false,
73 "thresholdMarkers": false
74 },
75 "height": "",
76 "hideTimeOverride": false,
77 "id": 6,
78 "interval": null,
79 "links": [],
80 "mappingType": 1,
81 "mappingTypes": [
82 {
83 "name": "value to text",
84 "value": 1
85 },
86 {
87 "name": "range to text",
88 "value": 2
89 }
90 ],
91 "maxDataPoints": 100,
92 "minSpan": null,
93 "nullPointMode": "connected",
94 "nullText": null,
95 "postfix": "",
96 "postfixFontSize": "50%",
97 "prefix": "",
98 "prefixFontSize": "100%",
99 "rangeMaps": [
100 {
101 "from": "null",
102 "text": "N/A",
103 "to": "null"
104 }
105 ],
106 "span": 1,
107 "sparkline": {
108 "fillColor": "rgba(31, 118, 189, 0.18)",
109 "full": false,
110 "lineColor": "rgb(31, 120, 193)",
111 "show": false
112 },
113 "tableColumn": "Value",
114 "targets": [
115 {
116 "expr": "avg((rate(varnish_main_cache_hit{instance=~\"^($varnish_instance).*\"}[5m]) / (rate(varnish_main_cache_hit{instance=~\"^($varnish_instance).*\"}[5m]) + rate(varnish_main_cache_miss{instance=~\"^($varnish_instance).*\"}[5m]))))",
117 "format": "time_series",
118 "hide": false,
119 "interval": "",
120 "intervalFactor": 2,
121 "legendFormat": "",
122 "metric": "",
123 "refId": "A",
124 "step": 1800
125 }
126 ],
127 "thresholds": "0,0,0.1",
128 "title": "Cache Hit Rate",
129 "transparent": true,
130 "type": "singlestat",
131 "valueFontSize": "70%",
132 "valueMaps": [
133 {
134 "op": "=",
135 "text": "N/A",
136 "value": "null"
137 }
138 ],
139 "valueName": "current"
140 },
141 {
142 "cacheTimeout": null,
143 "colorBackground": false,
144 "colorValue": false,
145 "colors": [
146 "rgba(245, 54, 54, 0.9)",
147 "rgba(237, 129, 40, 0.89)",
148 "rgba(50, 172, 45, 0.97)"
149 ],
150 "datasource": "${DS_PROMETHEUS}",
151 "decimals": 1,
152 "editable": true,
153 "error": false,
154 "format": "none",
155 "gauge": {
156 "maxValue": 100,
157 "minValue": 0,
158 "show": false,
159 "thresholdLabels": false,
160 "thresholdMarkers": true
161 },
162 "id": 9,
163 "interval": null,
164 "links": [],
165 "mappingType": 1,
166 "mappingTypes": [
167 {
168 "name": "value to text",
169 "value": 1
170 },
171 {
172 "name": "range to text",
173 "value": 2
174 }
175 ],
176 "maxDataPoints": 100,
177 "nullPointMode": "connected",
178 "nullText": null,
179 "postfix": " / sec",
180 "postfixFontSize": "50%",
181 "prefix": "",
182 "prefixFontSize": "100%",
183 "rangeMaps": [
184 {
185 "from": "null",
186 "text": "N/A",
187 "to": "null"
188 }
189 ],
190 "span": 2,
191 "sparkline": {
192 "fillColor": "rgba(31, 118, 189, 0.18)",
193 "full": false,
194 "lineColor": "rgb(31, 120, 193)",
195 "show": false
196 },
197 "tableColumn": "",
198 "targets": [
199 {
200 "expr": "sum(irate(varnish_main_client_req{instance=~\"^($varnish_instance).*\"}[5m]))",
201 "format": "time_series",
202 "interval": "15s",
203 "intervalFactor": 1,
204 "legendFormat": "",
205 "metric": "",
206 "refId": "A",
207 "step": 900
208 }
209 ],
210 "thresholds": "",
211 "timeFrom": null,
212 "title": "Frontend Requests",
213 "transparent": true,
214 "type": "singlestat",
215 "valueFontSize": "70%",
216 "valueMaps": [
217 {
218 "op": "=",
219 "text": "N/A",
220 "value": "null"
221 }
222 ],
223 "valueName": "current"
224 },
225 {
226 "cacheTimeout": null,
227 "colorBackground": false,
228 "colorValue": false,
229 "colors": [
230 "rgba(245, 54, 54, 0.9)",
231 "rgba(237, 129, 40, 0.89)",
232 "rgba(50, 172, 45, 0.97)"
233 ],
234 "datasource": "${DS_PROMETHEUS}",
235 "decimals": 1,
236 "editable": true,
237 "error": false,
238 "format": "none",
239 "gauge": {
240 "maxValue": 100,
241 "minValue": 0,
242 "show": false,
243 "thresholdLabels": false,
244 "thresholdMarkers": true
245 },
246 "id": 2,
247 "interval": null,
248 "links": [],
249 "mappingType": 1,
250 "mappingTypes": [
251 {
252 "name": "value to text",
253 "value": 1
254 },
255 {
256 "name": "range to text",
257 "value": 2
258 }
259 ],
260 "maxDataPoints": 100,
261 "nullPointMode": "connected",
262 "nullText": null,
263 "postfix": " / sec",
264 "postfixFontSize": "50%",
265 "prefix": "",
266 "prefixFontSize": "100%",
267 "rangeMaps": [
268 {
269 "from": "null",
270 "text": "N/A",
271 "to": "null"
272 }
273 ],
274 "span": 2,
275 "sparkline": {
276 "fillColor": "rgba(31, 118, 189, 0.18)",
277 "full": false,
278 "lineColor": "rgb(31, 120, 193)",
279 "show": false
280 },
281 "tableColumn": "",
282 "targets": [
283 {
284 "expr": "sum(irate(varnish_main_backend_req{instance=~\"^($varnish_instance).*\"}[5m]))",
285 "format": "time_series",
286 "interval": "15s",
287 "intervalFactor": 1,
288 "legendFormat": "",
289 "metric": "varnish_main_backend_req",
290 "refId": "A",
291 "step": 900
292 }
293 ],
294 "thresholds": "",
295 "title": "Backend Requests",
296 "transparent": true,
297 "type": "singlestat",
298 "valueFontSize": "70%",
299 "valueMaps": [
300 {
301 "op": "=",
302 "text": "N/A",
303 "value": "null"
304 }
305 ],
306 "valueName": "current"
307 },
308 {
309 "cacheTimeout": null,
310 "colorBackground": false,
311 "colorValue": false,
312 "colors": [
313 "rgba(245, 54, 54, 0.9)",
314 "rgba(237, 129, 40, 0.89)",
315 "rgba(50, 172, 45, 0.97)"
316 ],
317 "datasource": "${DS_PROMETHEUS}",
318 "decimals": 1,
319 "editable": true,
320 "error": false,
321 "format": "short",
322 "gauge": {
323 "maxValue": 100,
324 "minValue": 0,
325 "show": false,
326 "thresholdLabels": false,
327 "thresholdMarkers": true
328 },
329 "id": 11,
330 "interval": null,
331 "links": [],
332 "mappingType": 1,
333 "mappingTypes": [
334 {
335 "name": "value to text",
336 "value": 1
337 },
338 {
339 "name": "range to text",
340 "value": 2
341 }
342 ],
343 "maxDataPoints": 100,
344 "nullPointMode": "connected",
345 "nullText": null,
346 "postfix": " / sec",
347 "postfixFontSize": "50%",
348 "prefix": "",
349 "prefixFontSize": "50%",
350 "rangeMaps": [
351 {
352 "from": "null",
353 "text": "N/A",
354 "to": "null"
355 }
356 ],
357 "span": 1,
358 "sparkline": {
359 "fillColor": "rgba(31, 118, 189, 0.18)",
360 "full": false,
361 "lineColor": "rgb(31, 120, 193)",
362 "show": false
363 },
364 "tableColumn": "frontend_for",
365 "targets": [
366 {
367 "expr": "sum(irate(varnish_main_sessions_total{instance=~\"^($varnish_instance).*\"}[5m]))",
368 "format": "time_series",
369 "hide": false,
370 "interval": "",
371 "intervalFactor": 1,
372 "legendFormat": "",
373 "refId": "A",
374 "step": 900
375 }
376 ],
377 "thresholds": "",
378 "title": "Sessions",
379 "transparent": true,
380 "type": "singlestat",
381 "valueFontSize": "70%",
382 "valueMaps": [
383 {
384 "op": "=",
385 "text": "N/A",
386 "value": "null"
387 }
388 ],
389 "valueName": "current"
390 },
391 {
392 "cacheTimeout": null,
393 "colorBackground": false,
394 "colorValue": false,
395 "colors": [
396 "rgba(245, 54, 54, 0.9)",
397 "rgba(237, 129, 40, 0.89)",
398 "rgba(50, 172, 45, 0.97)"
399 ],
400 "datasource": "${DS_PROMETHEUS}",
401 "decimals": 1,
402 "editable": true,
403 "error": false,
404 "format": "none",
405 "gauge": {
406 "maxValue": 100,
407 "minValue": 0,
408 "show": false,
409 "thresholdLabels": false,
410 "thresholdMarkers": true
411 },
412 "height": "",
413 "id": 4,
414 "interval": null,
415 "links": [],
416 "mappingType": 1,
417 "mappingTypes": [
418 {
419 "name": "value to text",
420 "value": 1
421 },
422 {
423 "name": "range to text",
424 "value": 2
425 }
426 ],
427 "maxDataPoints": 100,
428 "nullPointMode": "connected",
429 "nullText": null,
430 "postfix": " / sec",
431 "postfixFontSize": "50%",
432 "prefix": "",
433 "prefixFontSize": "100%",
434 "rangeMaps": [
435 {
436 "from": "null",
437 "text": "N/A",
438 "to": "null"
439 }
440 ],
441 "span": 1,
442 "sparkline": {
443 "fillColor": "rgba(31, 118, 189, 0.18)",
444 "full": false,
445 "lineColor": "rgb(31, 120, 193)",
446 "show": false
447 },
448 "tableColumn": "",
449 "targets": [
450 {
451 "expr": "sum(irate(varnish_main_cache_hit{instance=~\"^($varnish_instance).*\"}[5m]))",
452 "format": "time_series",
453 "interval": "15s",
454 "intervalFactor": 1,
455 "legendFormat": "",
456 "metric": "varnish_main_backend_req",
457 "refId": "A",
458 "step": 900
459 }
460 ],
461 "thresholds": "",
462 "title": "Cache Hit",
463 "transparent": true,
464 "type": "singlestat",
465 "valueFontSize": "70%",
466 "valueMaps": [
467 {
468 "op": "=",
469 "text": "N/A",
470 "value": "null"
471 }
472 ],
473 "valueName": "current"
474 },
475 {
476 "cacheTimeout": null,
477 "colorBackground": false,
478 "colorValue": false,
479 "colors": [
480 "rgba(245, 54, 54, 0.9)",
481 "rgba(237, 129, 40, 0.89)",
482 "rgba(50, 172, 45, 0.97)"
483 ],
484 "datasource": "${DS_PROMETHEUS}",
485 "format": "none",
486 "gauge": {
487 "maxValue": 100,
488 "minValue": 0,
489 "show": false,
490 "thresholdLabels": false,
491 "thresholdMarkers": true
492 },
493 "id": 16,
494 "interval": null,
495 "links": [],
496 "mappingType": 1,
497 "mappingTypes": [
498 {
499 "name": "value to text",
500 "value": 1
501 },
502 {
503 "name": "range to text",
504 "value": 2
505 }
506 ],
507 "maxDataPoints": 100,
508 "nullPointMode": "connected",
509 "nullText": null,
510 "postfix": "",
511 "postfixFontSize": "50%",
512 "prefix": "",
513 "prefixFontSize": "50%",
514 "rangeMaps": [
515 {
516 "from": "null",
517 "text": "N/A",
518 "to": "null"
519 }
520 ],
521 "span": 1,
522 "sparkline": {
523 "fillColor": "rgba(31, 118, 189, 0.18)",
524 "full": false,
525 "lineColor": "rgb(31, 120, 193)",
526 "show": false
527 },
528 "tableColumn": "",
529 "targets": [
530 {
531 "expr": "sum(varnish_main_vmods{instance=~\"^($varnish_instance).*\"})",
532 "format": "time_series",
533 "interval": "",
534 "intervalFactor": 2,
535 "legendFormat": "",
536 "refId": "A",
537 "step": 1800
538 }
539 ],
540 "thresholds": "",
541 "title": "Loaded VMODs",
542 "transparent": true,
543 "type": "singlestat",
544 "valueFontSize": "70%",
545 "valueMaps": [
546 {
547 "op": "=",
548 "text": "N/A",
549 "value": "null"
550 }
551 ],
552 "valueName": "avg"
553 },
554 {
555 "cacheTimeout": null,
556 "colorBackground": false,
557 "colorValue": true,
558 "colors": [
559 "rgba(245, 54, 54, 0.9)",
560 "rgba(12, 145, 12, 0.89)",
561 "rgba(50, 172, 45, 0.97)"
562 ],
563 "datasource": "${DS_PROMETHEUS}",
564 "editable": true,
565 "error": false,
566 "format": "none",
567 "gauge": {
568 "maxValue": 100,
569 "minValue": 0,
570 "show": false,
571 "thresholdLabels": false,
572 "thresholdMarkers": true
573 },
574 "id": 1,
575 "interval": null,
576 "links": [],
577 "mappingType": 1,
578 "mappingTypes": [
579 {
580 "name": "value to text",
581 "value": 1
582 },
583 {
584 "name": "range to text",
585 "value": 2
586 }
587 ],
588 "maxDataPoints": 100,
589 "nullPointMode": "connected",
590 "nullText": null,
591 "postfix": "",
592 "postfixFontSize": "50%",
593 "prefix": "",
594 "prefixFontSize": "50%",
595 "rangeMaps": [
596 {
597 "from": "null",
598 "text": "N/A",
599 "to": "null"
600 }
601 ],
602 "span": 1,
603 "sparkline": {
604 "fillColor": "rgba(31, 118, 189, 0.18)",
605 "full": false,
606 "lineColor": "rgb(31, 120, 193)",
607 "show": false
608 },
609 "tableColumn": "",
610 "targets": [
611 {
612 "expr": "scalar(count(varnish_backend_up{instance=~\"^($varnish_instance).*\"} == 1))",
613 "format": "time_series",
614 "interval": "1m",
615 "intervalFactor": 1,
616 "legendFormat": "",
617 "metric": "",
618 "refId": "A",
619 "step": 900
620 }
621 ],
622 "thresholds": "0,1",
623 "title": "Backend Up",
624 "transparent": true,
625 "type": "singlestat",
626 "valueFontSize": "70%",
627 "valueMaps": [
628 {
629 "op": "=",
630 "text": "N/A",
631 "value": "null"
632 }
633 ],
634 "valueName": "current"
635 },
636 {
637 "cacheTimeout": null,
638 "colorBackground": false,
639 "colorValue": true,
640 "colors": [
641 "rgba(138, 138, 138, 0.89)",
642 "rgba(245, 54, 54, 0.9)",
643 "rgba(50, 172, 45, 0.97)"
644 ],
645 "datasource": "${DS_PROMETHEUS}",
646 "editable": true,
647 "error": false,
648 "format": "none",
649 "gauge": {
650 "maxValue": 100,
651 "minValue": 0,
652 "show": false,
653 "thresholdLabels": false,
654 "thresholdMarkers": true
655 },
656 "id": 7,
657 "interval": null,
658 "links": [],
659 "mappingType": 1,
660 "mappingTypes": [
661 {
662 "name": "value to text",
663 "value": 1
664 },
665 {
666 "name": "range to text",
667 "value": 2
668 }
669 ],
670 "maxDataPoints": 100,
671 "nullPointMode": "connected",
672 "nullText": null,
673 "postfix": "",
674 "postfixFontSize": "50%",
675 "prefix": "",
676 "prefixFontSize": "50%",
677 "rangeMaps": [
678 {
679 "from": "null",
680 "text": "N/A",
681 "to": "null"
682 }
683 ],
684 "span": 1,
685 "sparkline": {
686 "fillColor": "rgba(31, 118, 189, 0.18)",
687 "full": false,
688 "lineColor": "rgb(31, 120, 193)",
689 "show": false
690 },
691 "tableColumn": "",
692 "targets": [
693 {
694 "expr": "scalar(count(varnish_backend_up{instance=~\"^($varnish_instance).*\"} == 0))",
695 "format": "time_series",
696 "interval": "1m",
697 "intervalFactor": 1,
698 "legendFormat": "",
699 "metric": "",
700 "refId": "A",
701 "step": 900
702 }
703 ],
704 "thresholds": "1",
705 "title": "Backend Down",
706 "transparent": true,
707 "type": "singlestat",
708 "valueFontSize": "70%",
709 "valueMaps": [],
710 "valueName": "current"
711 },
712 {
713 "cacheTimeout": null,
714 "colorBackground": false,
715 "colorValue": true,
716 "colors": [
717 "rgba(245, 54, 54, 0.9)",
718 "rgb(96, 96, 96)",
719 "rgba(50, 172, 45, 0.97)"
720 ],
721 "datasource": "${DS_PROMETHEUS}",
722 "decimals": null,
723 "editable": true,
724 "error": false,
725 "format": "dtdurations",
726 "gauge": {
727 "maxValue": 100,
728 "minValue": 0,
729 "show": false,
730 "thresholdLabels": false,
731 "thresholdMarkers": true
732 },
733 "id": 18,
734 "interval": null,
735 "links": [],
736 "mappingType": 1,
737 "mappingTypes": [
738 {
739 "name": "value to text",
740 "value": 1
741 },
742 {
743 "name": "range to text",
744 "value": 2
745 }
746 ],
747 "maxDataPoints": 100,
748 "nullPointMode": "connected",
749 "nullText": null,
750 "postfix": "",
751 "postfixFontSize": "50%",
752 "prefix": "",
753 "prefixFontSize": "50%",
754 "rangeMaps": [
755 {
756 "from": "null",
757 "text": "N/A",
758 "to": "null"
759 }
760 ],
761 "span": 1,
762 "sparkline": {
763 "fillColor": "rgba(31, 118, 189, 0.18)",
764 "full": false,
765 "lineColor": "rgb(31, 120, 193)",
766 "show": false
767 },
768 "tableColumn": "__name__",
769 "targets": [
770 {
771 "expr": "min(varnish_main_uptime{instance=~\"^($varnish_instance).*\"})",
772 "format": "time_series",
773 "intervalFactor": 2,
774 "legendFormat": "",
775 "refId": "A",
776 "step": 1800
777 }
778 ],
779 "thresholds": "",
780 "title": "Uptime",
781 "transparent": true,
782 "type": "singlestat",
783 "valueFontSize": "50%",
784 "valueMaps": [
785 {
786 "op": "=",
787 "text": "N/A",
788 "value": "null"
789 }
790 ],
791 "valueName": "current"
792 },
793 {
794 "cacheTimeout": null,
795 "colorBackground": false,
796 "colorValue": true,
797 "colors": [
798 "rgba(245, 54, 54, 0.9)",
799 "rgb(96, 96, 96)",
800 "rgba(50, 172, 45, 0.97)"
801 ],
802 "datasource": "${DS_PROMETHEUS}",
803 "decimals": null,
804 "editable": true,
805 "error": false,
806 "format": "dtdurations",
807 "gauge": {
808 "maxValue": 100,
809 "minValue": 0,
810 "show": false,
811 "thresholdLabels": false,
812 "thresholdMarkers": true
813 },
814 "id": 10,
815 "interval": null,
816 "links": [],
817 "mappingType": 1,
818 "mappingTypes": [
819 {
820 "name": "value to text",
821 "value": 1
822 },
823 {
824 "name": "range to text",
825 "value": 2
826 }
827 ],
828 "maxDataPoints": 100,
829 "nullPointMode": "connected",
830 "nullText": null,
831 "postfix": "",
832 "postfixFontSize": "50%",
833 "prefix": "",
834 "prefixFontSize": "50%",
835 "rangeMaps": [
836 {
837 "from": "null",
838 "text": "N/A",
839 "to": "null"
840 }
841 ],
842 "span": 1,
843 "sparkline": {
844 "fillColor": "rgba(31, 118, 189, 0.18)",
845 "full": false,
846 "lineColor": "rgb(31, 120, 193)",
847 "show": false
848 },
849 "tableColumn": "version",
850 "targets": [
851 {
852 "expr": "varnish_version{instance=~\"^($varnish_instance).*\"}",
853 "format": "table",
854 "intervalFactor": 2,
855 "legendFormat": "",
856 "refId": "A",
857 "step": 1800
858 }
859 ],
860 "thresholds": "",
861 "title": "Version",
862 "transparent": true,
863 "type": "singlestat",
864 "valueFontSize": "50%",
865 "valueMaps": [
866 {
867 "op": "=",
868 "text": "N/A",
869 "value": "null"
870 }
871 ],
872 "valueName": "current"
873 }
874 ],
875 "repeat": "cluster",
876 "repeatIteration": null,
877 "repeatRowId": null,
878 "showTitle": false,
879 "title": "Row title",
880 "titleSize": "h6"
881 },
882 {
883 "collapse": false,
884 "height": 403,
885 "panels": [
886 {
887 "aliasColors": {},
888 "bars": false,
889 "dashLength": 10,
890 "dashes": false,
891 "datasource": "${DS_PROMETHEUS}",
892 "decimals": 0,
893 "editable": true,
894 "error": false,
895 "fill": 4,
896 "grid": {},
897 "id": 8,
898 "legend": {
899 "alignAsTable": true,
900 "avg": true,
901 "current": false,
902 "hideEmpty": false,
903 "hideZero": false,
904 "max": true,
905 "min": false,
906 "rightSide": true,
907 "show": true,
908 "sideWidth": 400,
909 "total": true,
910 "values": true
911 },
912 "lines": true,
913 "linewidth": 1,
914 "links": [],
915 "nullPointMode": "connected",
916 "percentage": false,
917 "pointradius": 5,
918 "points": false,
919 "renderer": "flot",
920 "seriesOverrides": [
921 {
922 "alias": "fetch total",
923 "fill": 0,
924 "yaxis": 2
925 },
926 {
927 "alias": "frontend",
928 "color": "#508642"
929 },
930 {
931 "alias": "backend",
932 "color": "#CCA300"
933 }
934 ],
935 "spaceLength": 10,
936 "span": 8,
937 "stack": false,
938 "steppedLine": false,
939 "targets": [
940 {
941 "expr": "sum(irate(varnish_main_client_req{instance=~\"^($varnish_instance).*\"}[5m]))",
942 "format": "time_series",
943 "interval": "",
944 "intervalFactor": 1,
945 "legendFormat": "frontend",
946 "metric": "",
947 "refId": "A",
948 "step": 60
949 },
950 {
951 "expr": "sum(irate(varnish_main_backend_req{instance=~\"^($varnish_instance).*\"}[5m]))",
952 "format": "time_series",
953 "interval": "",
954 "intervalFactor": 1,
955 "legendFormat": "backend",
956 "refId": "B",
957 "step": 60
958 },
959 {
960 "expr": "sum(varnish_main_fetch_total{instance=~\"^($varnish_instance).*\"})",
961 "format": "time_series",
962 "intervalFactor": 2,
963 "legendFormat": "fetch total",
964 "refId": "C",
965 "step": 120
966 }
967 ],
968 "thresholds": [],
969 "timeFrom": null,
970 "timeShift": null,
971 "title": "Requests",
972 "tooltip": {
973 "shared": true,
974 "sort": 0,
975 "value_type": "cumulative"
976 },
977 "type": "graph",
978 "xaxis": {
979 "buckets": null,
980 "mode": "time",
981 "name": null,
982 "show": true,
983 "values": []
984 },
985 "yaxes": [
986 {
987 "format": "none",
988 "label": "",
989 "logBase": 1,
990 "max": null,
991 "min": 1,
992 "show": true
993 },
994 {
995 "format": "none",
996 "label": "",
997 "logBase": 1,
998 "max": null,
999 "min": 0,
1000 "show": false
1001 }
1002 ]
1003 },
1004 {
1005 "aliasColors": {},
1006 "bars": false,
1007 "dashLength": 10,
1008 "dashes": false,
1009 "datasource": "${DS_PROMETHEUS}",
1010 "fill": 6,
1011 "id": 14,
1012 "legend": {
1013 "alignAsTable": true,
1014 "avg": true,
1015 "current": false,
1016 "hideEmpty": false,
1017 "hideZero": false,
1018 "max": true,
1019 "min": true,
1020 "rightSide": false,
1021 "show": true,
1022 "total": false,
1023 "values": true
1024 },
1025 "lines": true,
1026 "linewidth": 0,
1027 "links": [],
1028 "nullPointMode": "connected",
1029 "percentage": false,
1030 "pointradius": 5,
1031 "points": false,
1032 "renderer": "flot",
1033 "seriesOverrides": [
1034 {
1035 "alias": "/.*miss/",
1036 "color": "#890F02"
1037 },
1038 {
1039 "alias": "/.*hit/",
1040 "color": "#508642"
1041 }
1042 ],
1043 "spaceLength": 10,
1044 "span": 4,
1045 "stack": true,
1046 "steppedLine": true,
1047 "targets": [
1048 {
1049 "expr": "rate(varnish_main_cache_hit{instance=~\"^($varnish_instance).*\"}[5m]) / (rate(varnish_main_cache_hit{instance=~\"^($varnish_instance).*\"}[5m]) + rate(varnish_main_cache_miss{instance=~\"^($varnish_instance).*\"}[5m]))",
1050 "format": "time_series",
1051 "hide": false,
1052 "interval": "",
1053 "intervalFactor": 2,
1054 "legendFormat": "cache hit %",
1055 "refId": "A",
1056 "step": 240
1057 },
1058 {
1059 "expr": "rate(varnish_main_cache_miss{instance=~\"^($varnish_instance).*\"}[5m]) / (rate(varnish_main_cache_hit{instance=~\"^($varnish_instance).*\"}[5m]) + rate(varnish_main_cache_miss{instance=~\"^($varnish_instance).*\"}[5m]))",
1060 "format": "time_series",
1061 "hide": false,
1062 "interval": "",
1063 "intervalFactor": 2,
1064 "legendFormat": "cache miss %",
1065 "refId": "B",
1066 "step": 240
1067 }
1068 ],
1069 "thresholds": [],
1070 "timeFrom": null,
1071 "timeShift": null,
1072 "title": "Cache hits",
1073 "tooltip": {
1074 "shared": true,
1075 "sort": 0,
1076 "value_type": "individual"
1077 },
1078 "type": "graph",
1079 "xaxis": {
1080 "buckets": null,
1081 "mode": "time",
1082 "name": null,
1083 "show": true,
1084 "values": []
1085 },
1086 "yaxes": [
1087 {
1088 "format": "percentunit",
1089 "label": "",
1090 "logBase": 1,
1091 "max": "1",
1092 "min": "0",
1093 "show": true
1094 },
1095 {
1096 "format": "short",
1097 "label": null,
1098 "logBase": 1,
1099 "max": null,
1100 "min": null,
1101 "show": false
1102 }
1103 ]
1104 }
1105 ],
1106 "repeat": null,
1107 "repeatIteration": null,
1108 "repeatRowId": null,
1109 "showTitle": false,
1110 "title": "Row title",
1111 "titleSize": "h6"
1112 },
1113 {
1114 "collapse": false,
1115 "height": 388,
1116 "panels": [
1117 {
1118 "aliasColors": {},
1119 "bars": false,
1120 "dashLength": 10,
1121 "dashes": false,
1122 "datasource": "${DS_PROMETHEUS}",
1123 "decimals": null,
1124 "editable": true,
1125 "error": false,
1126 "fill": 5,
1127 "grid": {},
1128 "hideTimeOverride": false,
1129 "id": 12,
1130 "legend": {
1131 "alignAsTable": true,
1132 "avg": true,
1133 "current": false,
1134 "hideEmpty": true,
1135 "hideZero": true,
1136 "max": true,
1137 "min": false,
1138 "rightSide": true,
1139 "show": true,
1140 "sideWidth": 400,
1141 "sort": null,
1142 "sortDesc": null,
1143 "total": true,
1144 "values": true
1145 },
1146 "lines": true,
1147 "linewidth": 1,
1148 "links": [],
1149 "nullPointMode": "connected",
1150 "percentage": false,
1151 "pointradius": 5,
1152 "points": false,
1153 "renderer": "flot",
1154 "seriesOverrides": [
1155 {
1156 "alias": "/backend .*/",
1157 "fill": 7
1158 },
1159 {
1160 "alias": "frontend",
1161 "color": "#508642",
1162 "stack": false,
1163 "zindex": -2
1164 },
1165 {
1166 "alias": "/^backend$/",
1167 "color": "#CCA300",
1168 "fill": 0,
1169 "stack": false,
1170 "zindex": 1
1171 }
1172 ],
1173 "spaceLength": 10,
1174 "span": 8,
1175 "stack": true,
1176 "steppedLine": false,
1177 "targets": [
1178 {
1179 "expr": "sum(irate(varnish_main_s_resp_hdrbytes{instance=~\"^($varnish_instance).*\"}[5m]) + irate(varnish_main_s_resp_bodybytes{instance=~\"^($varnish_instance).*\"}[5m]))",
1180 "format": "time_series",
1181 "hide": false,
1182 "interval": "",
1183 "intervalFactor": 1,
1184 "legendFormat": "frontend",
1185 "refId": "A",
1186 "step": 60
1187 },
1188 {
1189 "expr": "sum(irate(varnish_backend_beresp_hdrbytes{instance=~\"^($varnish_instance).*\"}[5m]) + irate(varnish_backend_beresp_bodybytes{instance=~\"^($varnish_instance).*\"}[5m]))",
1190 "format": "time_series",
1191 "hide": false,
1192 "interval": "",
1193 "intervalFactor": 1,
1194 "legendFormat": "backend",
1195 "metric": "",
1196 "refId": "B",
1197 "step": 60
1198 },
1199 {
1200 "expr": "sum(irate(varnish_backend_beresp_hdrbytes{instance=~\"^($varnish_instance).*\"}[5m]) + irate(varnish_backend_beresp_bodybytes{instance=~\"^($varnish_instance).*\"}[5m])) by (backend)",
1201 "format": "time_series",
1202 "intervalFactor": 2,
1203 "legendFormat": "backend {{ backend }}",
1204 "refId": "C",
1205 "step": 120
1206 }
1207 ],
1208 "thresholds": [],
1209 "timeFrom": null,
1210 "timeShift": null,
1211 "title": "Network",
1212 "tooltip": {
1213 "shared": true,
1214 "sort": 2,
1215 "value_type": "individual"
1216 },
1217 "type": "graph",
1218 "xaxis": {
1219 "buckets": null,
1220 "mode": "time",
1221 "name": null,
1222 "show": true,
1223 "values": []
1224 },
1225 "yaxes": [
1226 {
1227 "format": "bytes",
1228 "label": "",
1229 "logBase": 1,
1230 "max": null,
1231 "min": "1024",
1232 "show": true
1233 },
1234 {
1235 "format": "short",
1236 "logBase": 1,
1237 "max": null,
1238 "min": null,
1239 "show": true
1240 }
1241 ]
1242 },
1243 {
1244 "aliasColors": {},
1245 "bars": false,
1246 "dashLength": 10,
1247 "dashes": false,
1248 "datasource": "${DS_PROMETHEUS}",
1249 "decimals": 2,
1250 "editable": true,
1251 "error": false,
1252 "fill": 4,
1253 "grid": {},
1254 "hideTimeOverride": false,
1255 "id": 13,
1256 "legend": {
1257 "alignAsTable": true,
1258 "avg": false,
1259 "current": true,
1260 "hideZero": false,
1261 "max": true,
1262 "min": true,
1263 "rightSide": false,
1264 "show": true,
1265 "sort": null,
1266 "sortDesc": null,
1267 "total": true,
1268 "values": true
1269 },
1270 "lines": true,
1271 "linewidth": 1,
1272 "links": [],
1273 "nullPointMode": "connected",
1274 "percentage": false,
1275 "pointradius": 5,
1276 "points": false,
1277 "renderer": "flot",
1278 "seriesOverrides": [
1279 {
1280 "alias": "/.*expired/",
1281 "color": "#82B5D8"
1282 },
1283 {
1284 "alias": "/.*LRU moved/",
1285 "color": "#F9E2D2"
1286 },
1287 {
1288 "alias": "/.*LRU nuked/",
1289 "color": "#BF1B00"
1290 },
1291 {
1292 "alias": "/.*mem /",
1293 "color": "#BA43A9",
1294 "fill": 0,
1295 "yaxis": 2
1296 }
1297 ],
1298 "spaceLength": 10,
1299 "span": 4,
1300 "stack": false,
1301 "steppedLine": false,
1302 "targets": [
1303 {
1304 "expr": "sum(irate(varnish_main_n_expired{instance=~\"^($varnish_instance).*\"}[5m]))",
1305 "format": "time_series",
1306 "interval": "",
1307 "intervalFactor": 2,
1308 "legendFormat": "expired",
1309 "metric": "varnish_main_n_object",
1310 "refId": "A",
1311 "step": 240
1312 },
1313 {
1314 "expr": "sum(irate(varnish_main_n_lru_moved{instance=~\"^($varnish_instance).*\"}[5m]))",
1315 "format": "time_series",
1316 "interval": "",
1317 "intervalFactor": 2,
1318 "legendFormat": "LRU moved",
1319 "refId": "C",
1320 "step": 240
1321 },
1322 {
1323 "expr": "sum(irate(varnish_main_n_lru_nuked{instance=~\"^($varnish_instance).*\"}[5m]))",
1324 "format": "time_series",
1325 "interval": "",
1326 "intervalFactor": 2,
1327 "legendFormat": "LRU nuked",
1328 "refId": "B",
1329 "step": 240
1330 },
1331 {
1332 "expr": "sum(varnish_sma_g_bytes{type=\"s0\", instance=~\"^($varnish_instance).*\"})",
1333 "format": "time_series",
1334 "intervalFactor": 2,
1335 "legendFormat": "mem used",
1336 "metric": "",
1337 "refId": "E",
1338 "step": 240
1339 }
1340 ],
1341 "thresholds": [],
1342 "timeFrom": null,
1343 "timeShift": null,
1344 "title": "Cache",
1345 "tooltip": {
1346 "shared": true,
1347 "sort": 0,
1348 "value_type": "cumulative"
1349 },
1350 "type": "graph",
1351 "xaxis": {
1352 "buckets": null,
1353 "mode": "time",
1354 "name": null,
1355 "show": true,
1356 "values": []
1357 },
1358 "yaxes": [
1359 {
1360 "format": "none",
1361 "logBase": 1,
1362 "max": null,
1363 "min": 1,
1364 "show": true
1365 },
1366 {
1367 "format": "bytes",
1368 "logBase": 1,
1369 "max": null,
1370 "min": 1,
1371 "show": true
1372 }
1373 ]
1374 }
1375 ],
1376 "repeat": null,
1377 "repeatIteration": null,
1378 "repeatRowId": null,
1379 "showTitle": false,
1380 "title": "Row title",
1381 "titleSize": "h6"
1382 }
1383 ],
1384 "schemaVersion": 14,
1385 "style": "dark",
1386 "tags": [],
1387 "templating": {
1388 "list": [
1389 {
1390 "allValue": null,
1391 "current": {},
1392 "datasource": "${DS_PROMETHEUS}",
1393 "hide": 0,
1394 "includeAll": true,
1395 "label": "Instance",
1396 "multi": false,
1397 "name": "varnish_instance",
1398 "options": [],
1399 "query": "label_values(varnish_up, instance)",
1400 "refresh": 1,
1401 "regex": "/^(.*):/",
1402 "sort": 1,
1403 "tagValuesQuery": "",
1404 "tags": [],
1405 "tagsQuery": "",
1406 "type": "query",
1407 "useTags": false
1408 }
1409 ]
1410 },
1411 "time": {
1412 "from": "now-24h",
1413 "to": "now"
1414 },
1415 "timepicker": {
1416 "now": true,
1417 "nowDelay": "",
1418 "refresh_intervals": [
1419 "5s",
1420 "15s",
1421 "30s",
1422 "1m",
1423 "5m",
1424 "15m",
1425 "30m",
1426 "1h",
1427 "2h",
1428 "1d"
1429 ],
1430 "time_options": [
1431 "5m",
1432 "15m",
1433 "1h",
1434 "6h",
1435 "12h",
1436 "24h",
1437 "2d",
1438 "7d",
1439 "30d"
1440 ]
1441 },
1442 "timezone": "browser",
1443 "title": "Varnish",
1444 "version": 26
1445 }