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