github.com/m3db/m3@v1.5.0/scripts/vagrant/provision/manifests/kube-prometheus/grafana-dashboardDefinitions.yaml (about) 1 apiVersion: v1 2 items: 3 - apiVersion: v1 4 data: 5 k8s-cluster-rsrc-use.json: |- 6 { 7 "annotations": { 8 "list": [ 9 10 ] 11 }, 12 "editable": true, 13 "gnetId": null, 14 "graphTooltip": 0, 15 "hideControls": false, 16 "links": [ 17 18 ], 19 "refresh": "10s", 20 "rows": [ 21 { 22 "collapse": false, 23 "height": "250px", 24 "panels": [ 25 { 26 "aliasColors": { 27 28 }, 29 "bars": false, 30 "dashLength": 10, 31 "dashes": false, 32 "datasource": "$datasource", 33 "fill": 10, 34 "id": 1, 35 "legend": { 36 "avg": false, 37 "current": false, 38 "max": false, 39 "min": false, 40 "show": true, 41 "total": false, 42 "values": false 43 }, 44 "lines": true, 45 "linewidth": 0, 46 "links": [ 47 48 ], 49 "nullPointMode": "null as zero", 50 "percentage": false, 51 "pointradius": 5, 52 "points": false, 53 "renderer": "flot", 54 "seriesOverrides": [ 55 56 ], 57 "spaceLength": 10, 58 "span": 6, 59 "stack": true, 60 "steppedLine": false, 61 "targets": [ 62 { 63 "expr": "node:cluster_cpu_utilisation:ratio{cluster=\"$cluster\"}", 64 "format": "time_series", 65 "intervalFactor": 2, 66 "legendFormat": "{{node}}", 67 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 68 "step": 10 69 } 70 ], 71 "thresholds": [ 72 73 ], 74 "timeFrom": null, 75 "timeShift": null, 76 "title": "CPU Utilisation", 77 "tooltip": { 78 "shared": false, 79 "sort": 0, 80 "value_type": "individual" 81 }, 82 "type": "graph", 83 "xaxis": { 84 "buckets": null, 85 "mode": "time", 86 "name": null, 87 "show": true, 88 "values": [ 89 90 ] 91 }, 92 "yaxes": [ 93 { 94 "format": "percentunit", 95 "label": null, 96 "logBase": 1, 97 "max": 1, 98 "min": 0, 99 "show": true 100 }, 101 { 102 "format": "short", 103 "label": null, 104 "logBase": 1, 105 "max": null, 106 "min": null, 107 "show": false 108 } 109 ] 110 }, 111 { 112 "aliasColors": { 113 114 }, 115 "bars": false, 116 "dashLength": 10, 117 "dashes": false, 118 "datasource": "$datasource", 119 "fill": 10, 120 "id": 2, 121 "legend": { 122 "avg": false, 123 "current": false, 124 "max": false, 125 "min": false, 126 "show": true, 127 "total": false, 128 "values": false 129 }, 130 "lines": true, 131 "linewidth": 0, 132 "links": [ 133 134 ], 135 "nullPointMode": "null as zero", 136 "percentage": false, 137 "pointradius": 5, 138 "points": false, 139 "renderer": "flot", 140 "seriesOverrides": [ 141 142 ], 143 "spaceLength": 10, 144 "span": 6, 145 "stack": true, 146 "steppedLine": false, 147 "targets": [ 148 { 149 "expr": "node:node_cpu_saturation_load1:{cluster=\"$cluster\"} / scalar(sum(min(kube_pod_info{cluster=\"$cluster\"}) by (node)))", 150 "format": "time_series", 151 "intervalFactor": 2, 152 "legendFormat": "{{node}}", 153 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 154 "step": 10 155 } 156 ], 157 "thresholds": [ 158 159 ], 160 "timeFrom": null, 161 "timeShift": null, 162 "title": "CPU Saturation (Load1)", 163 "tooltip": { 164 "shared": false, 165 "sort": 0, 166 "value_type": "individual" 167 }, 168 "type": "graph", 169 "xaxis": { 170 "buckets": null, 171 "mode": "time", 172 "name": null, 173 "show": true, 174 "values": [ 175 176 ] 177 }, 178 "yaxes": [ 179 { 180 "format": "percentunit", 181 "label": null, 182 "logBase": 1, 183 "max": 1, 184 "min": 0, 185 "show": true 186 }, 187 { 188 "format": "short", 189 "label": null, 190 "logBase": 1, 191 "max": null, 192 "min": null, 193 "show": false 194 } 195 ] 196 } 197 ], 198 "repeat": null, 199 "repeatIteration": null, 200 "repeatRowId": null, 201 "showTitle": true, 202 "title": "CPU", 203 "titleSize": "h6" 204 }, 205 { 206 "collapse": false, 207 "height": "250px", 208 "panels": [ 209 { 210 "aliasColors": { 211 212 }, 213 "bars": false, 214 "dashLength": 10, 215 "dashes": false, 216 "datasource": "$datasource", 217 "fill": 10, 218 "id": 3, 219 "legend": { 220 "avg": false, 221 "current": false, 222 "max": false, 223 "min": false, 224 "show": true, 225 "total": false, 226 "values": false 227 }, 228 "lines": true, 229 "linewidth": 0, 230 "links": [ 231 232 ], 233 "nullPointMode": "null as zero", 234 "percentage": false, 235 "pointradius": 5, 236 "points": false, 237 "renderer": "flot", 238 "seriesOverrides": [ 239 240 ], 241 "spaceLength": 10, 242 "span": 6, 243 "stack": true, 244 "steppedLine": false, 245 "targets": [ 246 { 247 "expr": "node:cluster_memory_utilisation:ratio{cluster=\"$cluster\"}", 248 "format": "time_series", 249 "intervalFactor": 2, 250 "legendFormat": "{{node}}", 251 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 252 "step": 10 253 } 254 ], 255 "thresholds": [ 256 257 ], 258 "timeFrom": null, 259 "timeShift": null, 260 "title": "Memory Utilisation", 261 "tooltip": { 262 "shared": false, 263 "sort": 0, 264 "value_type": "individual" 265 }, 266 "type": "graph", 267 "xaxis": { 268 "buckets": null, 269 "mode": "time", 270 "name": null, 271 "show": true, 272 "values": [ 273 274 ] 275 }, 276 "yaxes": [ 277 { 278 "format": "percentunit", 279 "label": null, 280 "logBase": 1, 281 "max": 1, 282 "min": 0, 283 "show": true 284 }, 285 { 286 "format": "short", 287 "label": null, 288 "logBase": 1, 289 "max": null, 290 "min": null, 291 "show": false 292 } 293 ] 294 }, 295 { 296 "aliasColors": { 297 298 }, 299 "bars": false, 300 "dashLength": 10, 301 "dashes": false, 302 "datasource": "$datasource", 303 "fill": 10, 304 "id": 4, 305 "legend": { 306 "avg": false, 307 "current": false, 308 "max": false, 309 "min": false, 310 "show": true, 311 "total": false, 312 "values": false 313 }, 314 "lines": true, 315 "linewidth": 0, 316 "links": [ 317 318 ], 319 "nullPointMode": "null as zero", 320 "percentage": false, 321 "pointradius": 5, 322 "points": false, 323 "renderer": "flot", 324 "seriesOverrides": [ 325 326 ], 327 "spaceLength": 10, 328 "span": 6, 329 "stack": true, 330 "steppedLine": false, 331 "targets": [ 332 { 333 "expr": "node:node_memory_swap_io_bytes:sum_rate{cluster=\"$cluster\"}", 334 "format": "time_series", 335 "intervalFactor": 2, 336 "legendFormat": "{{node}}", 337 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 338 "step": 10 339 } 340 ], 341 "thresholds": [ 342 343 ], 344 "timeFrom": null, 345 "timeShift": null, 346 "title": "Memory Saturation (Swap I/O)", 347 "tooltip": { 348 "shared": false, 349 "sort": 0, 350 "value_type": "individual" 351 }, 352 "type": "graph", 353 "xaxis": { 354 "buckets": null, 355 "mode": "time", 356 "name": null, 357 "show": true, 358 "values": [ 359 360 ] 361 }, 362 "yaxes": [ 363 { 364 "format": "Bps", 365 "label": null, 366 "logBase": 1, 367 "max": null, 368 "min": 0, 369 "show": true 370 }, 371 { 372 "format": "short", 373 "label": null, 374 "logBase": 1, 375 "max": null, 376 "min": null, 377 "show": false 378 } 379 ] 380 } 381 ], 382 "repeat": null, 383 "repeatIteration": null, 384 "repeatRowId": null, 385 "showTitle": true, 386 "title": "Memory", 387 "titleSize": "h6" 388 }, 389 { 390 "collapse": false, 391 "height": "250px", 392 "panels": [ 393 { 394 "aliasColors": { 395 396 }, 397 "bars": false, 398 "dashLength": 10, 399 "dashes": false, 400 "datasource": "$datasource", 401 "fill": 10, 402 "id": 5, 403 "legend": { 404 "avg": false, 405 "current": false, 406 "max": false, 407 "min": false, 408 "show": true, 409 "total": false, 410 "values": false 411 }, 412 "lines": true, 413 "linewidth": 0, 414 "links": [ 415 416 ], 417 "nullPointMode": "null as zero", 418 "percentage": false, 419 "pointradius": 5, 420 "points": false, 421 "renderer": "flot", 422 "seriesOverrides": [ 423 424 ], 425 "spaceLength": 10, 426 "span": 6, 427 "stack": true, 428 "steppedLine": false, 429 "targets": [ 430 { 431 "expr": "node:node_disk_utilisation:avg_irate{cluster=\"$cluster\"} / scalar(:kube_pod_info_node_count:{cluster=\"$cluster\"})", 432 "format": "time_series", 433 "intervalFactor": 2, 434 "legendFormat": "{{node}}", 435 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 436 "step": 10 437 } 438 ], 439 "thresholds": [ 440 441 ], 442 "timeFrom": null, 443 "timeShift": null, 444 "title": "Disk IO Utilisation", 445 "tooltip": { 446 "shared": false, 447 "sort": 0, 448 "value_type": "individual" 449 }, 450 "type": "graph", 451 "xaxis": { 452 "buckets": null, 453 "mode": "time", 454 "name": null, 455 "show": true, 456 "values": [ 457 458 ] 459 }, 460 "yaxes": [ 461 { 462 "format": "percentunit", 463 "label": null, 464 "logBase": 1, 465 "max": 1, 466 "min": 0, 467 "show": true 468 }, 469 { 470 "format": "short", 471 "label": null, 472 "logBase": 1, 473 "max": null, 474 "min": null, 475 "show": false 476 } 477 ] 478 }, 479 { 480 "aliasColors": { 481 482 }, 483 "bars": false, 484 "dashLength": 10, 485 "dashes": false, 486 "datasource": "$datasource", 487 "fill": 10, 488 "id": 6, 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": 0, 500 "links": [ 501 502 ], 503 "nullPointMode": "null as zero", 504 "percentage": false, 505 "pointradius": 5, 506 "points": false, 507 "renderer": "flot", 508 "seriesOverrides": [ 509 510 ], 511 "spaceLength": 10, 512 "span": 6, 513 "stack": true, 514 "steppedLine": false, 515 "targets": [ 516 { 517 "expr": "node:node_disk_saturation:avg_irate{cluster=\"$cluster\"} / scalar(:kube_pod_info_node_count:{cluster=\"$cluster\"})", 518 "format": "time_series", 519 "intervalFactor": 2, 520 "legendFormat": "{{node}}", 521 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 522 "step": 10 523 } 524 ], 525 "thresholds": [ 526 527 ], 528 "timeFrom": null, 529 "timeShift": null, 530 "title": "Disk IO Saturation", 531 "tooltip": { 532 "shared": false, 533 "sort": 0, 534 "value_type": "individual" 535 }, 536 "type": "graph", 537 "xaxis": { 538 "buckets": null, 539 "mode": "time", 540 "name": null, 541 "show": true, 542 "values": [ 543 544 ] 545 }, 546 "yaxes": [ 547 { 548 "format": "percentunit", 549 "label": null, 550 "logBase": 1, 551 "max": 1, 552 "min": 0, 553 "show": true 554 }, 555 { 556 "format": "short", 557 "label": null, 558 "logBase": 1, 559 "max": null, 560 "min": null, 561 "show": false 562 } 563 ] 564 } 565 ], 566 "repeat": null, 567 "repeatIteration": null, 568 "repeatRowId": null, 569 "showTitle": true, 570 "title": "Disk", 571 "titleSize": "h6" 572 }, 573 { 574 "collapse": false, 575 "height": "250px", 576 "panels": [ 577 { 578 "aliasColors": { 579 580 }, 581 "bars": false, 582 "dashLength": 10, 583 "dashes": false, 584 "datasource": "$datasource", 585 "fill": 10, 586 "id": 7, 587 "legend": { 588 "avg": false, 589 "current": false, 590 "max": false, 591 "min": false, 592 "show": true, 593 "total": false, 594 "values": false 595 }, 596 "lines": true, 597 "linewidth": 0, 598 "links": [ 599 600 ], 601 "nullPointMode": "null as zero", 602 "percentage": false, 603 "pointradius": 5, 604 "points": false, 605 "renderer": "flot", 606 "seriesOverrides": [ 607 608 ], 609 "spaceLength": 10, 610 "span": 6, 611 "stack": true, 612 "steppedLine": false, 613 "targets": [ 614 { 615 "expr": "node:node_net_utilisation:sum_irate{cluster=\"$cluster\"}", 616 "format": "time_series", 617 "intervalFactor": 2, 618 "legendFormat": "{{node}}", 619 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 620 "step": 10 621 } 622 ], 623 "thresholds": [ 624 625 ], 626 "timeFrom": null, 627 "timeShift": null, 628 "title": "Net Utilisation (Transmitted)", 629 "tooltip": { 630 "shared": false, 631 "sort": 0, 632 "value_type": "individual" 633 }, 634 "type": "graph", 635 "xaxis": { 636 "buckets": null, 637 "mode": "time", 638 "name": null, 639 "show": true, 640 "values": [ 641 642 ] 643 }, 644 "yaxes": [ 645 { 646 "format": "Bps", 647 "label": null, 648 "logBase": 1, 649 "max": null, 650 "min": 0, 651 "show": true 652 }, 653 { 654 "format": "short", 655 "label": null, 656 "logBase": 1, 657 "max": null, 658 "min": null, 659 "show": false 660 } 661 ] 662 }, 663 { 664 "aliasColors": { 665 666 }, 667 "bars": false, 668 "dashLength": 10, 669 "dashes": false, 670 "datasource": "$datasource", 671 "fill": 10, 672 "id": 8, 673 "legend": { 674 "avg": false, 675 "current": false, 676 "max": false, 677 "min": false, 678 "show": true, 679 "total": false, 680 "values": false 681 }, 682 "lines": true, 683 "linewidth": 0, 684 "links": [ 685 686 ], 687 "nullPointMode": "null as zero", 688 "percentage": false, 689 "pointradius": 5, 690 "points": false, 691 "renderer": "flot", 692 "seriesOverrides": [ 693 694 ], 695 "spaceLength": 10, 696 "span": 6, 697 "stack": true, 698 "steppedLine": false, 699 "targets": [ 700 { 701 "expr": "node:node_net_saturation:sum_irate{cluster=\"$cluster\"}", 702 "format": "time_series", 703 "intervalFactor": 2, 704 "legendFormat": "{{node}}", 705 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 706 "step": 10 707 } 708 ], 709 "thresholds": [ 710 711 ], 712 "timeFrom": null, 713 "timeShift": null, 714 "title": "Net Saturation (Dropped)", 715 "tooltip": { 716 "shared": false, 717 "sort": 0, 718 "value_type": "individual" 719 }, 720 "type": "graph", 721 "xaxis": { 722 "buckets": null, 723 "mode": "time", 724 "name": null, 725 "show": true, 726 "values": [ 727 728 ] 729 }, 730 "yaxes": [ 731 { 732 "format": "Bps", 733 "label": null, 734 "logBase": 1, 735 "max": null, 736 "min": 0, 737 "show": true 738 }, 739 { 740 "format": "short", 741 "label": null, 742 "logBase": 1, 743 "max": null, 744 "min": null, 745 "show": false 746 } 747 ] 748 } 749 ], 750 "repeat": null, 751 "repeatIteration": null, 752 "repeatRowId": null, 753 "showTitle": true, 754 "title": "Network", 755 "titleSize": "h6" 756 }, 757 { 758 "collapse": false, 759 "height": "250px", 760 "panels": [ 761 { 762 "aliasColors": { 763 764 }, 765 "bars": false, 766 "dashLength": 10, 767 "dashes": false, 768 "datasource": "$datasource", 769 "fill": 10, 770 "id": 9, 771 "legend": { 772 "avg": false, 773 "current": false, 774 "max": false, 775 "min": false, 776 "show": true, 777 "total": false, 778 "values": false 779 }, 780 "lines": true, 781 "linewidth": 0, 782 "links": [ 783 784 ], 785 "nullPointMode": "null as zero", 786 "percentage": false, 787 "pointradius": 5, 788 "points": false, 789 "renderer": "flot", 790 "seriesOverrides": [ 791 792 ], 793 "spaceLength": 10, 794 "span": 12, 795 "stack": true, 796 "steppedLine": false, 797 "targets": [ 798 { 799 "expr": "sum(max(node_filesystem_size_bytes{fstype=~\"ext[234]|btrfs|xfs|zfs\", cluster=\"$cluster\"} - node_filesystem_avail_bytes{fstype=~\"ext[234]|btrfs|xfs|zfs\", cluster=\"$cluster\"}) by (device,pod,namespace)) by (pod,namespace)\n/ scalar(sum(max(node_filesystem_size_bytes{fstype=~\"ext[234]|btrfs|xfs|zfs\", cluster=\"$cluster\"}) by (device,pod,namespace)))\n* on (namespace, pod) group_left (node) node_namespace_pod:kube_pod_info:{cluster=\"$cluster\"}\n", 800 "format": "time_series", 801 "intervalFactor": 2, 802 "legendFormat": "{{node}}", 803 "legendLink": "/d/4ac4f123aae0ff6dbaf4f4f66120033b/k8s-node-rsrc-use", 804 "step": 10 805 } 806 ], 807 "thresholds": [ 808 809 ], 810 "timeFrom": null, 811 "timeShift": null, 812 "title": "Disk Capacity", 813 "tooltip": { 814 "shared": false, 815 "sort": 0, 816 "value_type": "individual" 817 }, 818 "type": "graph", 819 "xaxis": { 820 "buckets": null, 821 "mode": "time", 822 "name": null, 823 "show": true, 824 "values": [ 825 826 ] 827 }, 828 "yaxes": [ 829 { 830 "format": "percentunit", 831 "label": null, 832 "logBase": 1, 833 "max": 1, 834 "min": 0, 835 "show": true 836 }, 837 { 838 "format": "short", 839 "label": null, 840 "logBase": 1, 841 "max": null, 842 "min": null, 843 "show": false 844 } 845 ] 846 } 847 ], 848 "repeat": null, 849 "repeatIteration": null, 850 "repeatRowId": null, 851 "showTitle": true, 852 "title": "Storage", 853 "titleSize": "h6" 854 } 855 ], 856 "schemaVersion": 14, 857 "style": "dark", 858 "tags": [ 859 "kubernetes-mixin" 860 ], 861 "templating": { 862 "list": [ 863 { 864 "current": { 865 "text": "Prometheus", 866 "value": "Prometheus" 867 }, 868 "hide": 0, 869 "label": null, 870 "name": "datasource", 871 "options": [ 872 873 ], 874 "query": "prometheus", 875 "refresh": 1, 876 "regex": "", 877 "type": "datasource" 878 }, 879 { 880 "allValue": null, 881 "current": { 882 "text": "prod", 883 "value": "prod" 884 }, 885 "datasource": "$datasource", 886 "hide": 2, 887 "includeAll": false, 888 "label": "cluster", 889 "multi": false, 890 "name": "cluster", 891 "options": [ 892 893 ], 894 "query": "label_values(kube_node_info, cluster)", 895 "refresh": 1, 896 "regex": "", 897 "sort": 2, 898 "tagValuesQuery": "", 899 "tags": [ 900 901 ], 902 "tagsQuery": "", 903 "type": "query", 904 "useTags": false 905 } 906 ] 907 }, 908 "time": { 909 "from": "now-1h", 910 "to": "now" 911 }, 912 "timepicker": { 913 "refresh_intervals": [ 914 "5s", 915 "10s", 916 "30s", 917 "1m", 918 "5m", 919 "15m", 920 "30m", 921 "1h", 922 "2h", 923 "1d" 924 ], 925 "time_options": [ 926 "5m", 927 "15m", 928 "1h", 929 "6h", 930 "12h", 931 "24h", 932 "2d", 933 "7d", 934 "30d" 935 ] 936 }, 937 "timezone": "", 938 "title": "Kubernetes / USE Method / Cluster", 939 "uid": "a6e7d1362e1ddbb79db21d5bb40d7137", 940 "version": 0 941 } 942 kind: ConfigMap 943 metadata: 944 name: grafana-dashboard-k8s-cluster-rsrc-use 945 namespace: monitoring 946 - apiVersion: v1 947 data: 948 m3db_node_details.json: |- 949 { 950 "__requires": [ 951 { 952 "id": "grafana", 953 "name": "Grafana", 954 "type": "grafana", 955 "version": "5.2.4" 956 }, 957 { 958 "id": "graph", 959 "name": "Graph", 960 "type": "panel", 961 "version": "5.0.0" 962 }, 963 { 964 "id": "prometheus", 965 "name": "Prometheus", 966 "type": "datasource", 967 "version": "5.0.0" 968 }, 969 { 970 "id": "singlestat", 971 "name": "Singlestat", 972 "type": "panel", 973 "version": "5.0.0" 974 } 975 ], 976 "annotations": { 977 "list": [ 978 { 979 "builtIn": 1, 980 "datasource": "-- Grafana --", 981 "enable": true, 982 "hide": true, 983 "iconColor": "rgba(0, 211, 255, 1)", 984 "name": "Annotations & Alerts", 985 "type": "dashboard" 986 } 987 ] 988 }, 989 "editable": true, 990 "gnetId": null, 991 "graphTooltip": 1, 992 "id": null, 993 "iteration": 1538144350249, 994 "links": [], 995 "panels": [ 996 { 997 "collapsed": false, 998 "gridPos": { 999 "h": 1, 1000 "w": 24, 1001 "x": 0, 1002 "y": 0 1003 }, 1004 "id": 90, 1005 "panels": [], 1006 "repeat": null, 1007 "title": "Bootstrap Node Counts", 1008 "type": "row" 1009 }, 1010 { 1011 "cacheTimeout": null, 1012 "colorBackground": false, 1013 "colorValue": false, 1014 "colors": [ 1015 "rgba(245, 54, 54, 0.9)", 1016 "rgba(237, 129, 40, 0.89)", 1017 "rgba(50, 172, 45, 0.97)" 1018 ], 1019 "datasource": "$datasource", 1020 "editable": true, 1021 "error": false, 1022 "format": "none", 1023 "gauge": { 1024 "maxValue": 100, 1025 "minValue": 0, 1026 "show": false, 1027 "thresholdLabels": false, 1028 "thresholdMarkers": true 1029 }, 1030 "gridPos": { 1031 "h": 3, 1032 "w": 6, 1033 "x": 0, 1034 "y": 1 1035 }, 1036 "height": "", 1037 "hideTimeOverride": true, 1038 "id": 51, 1039 "interval": null, 1040 "links": [], 1041 "mappingType": 1, 1042 "mappingTypes": [ 1043 { 1044 "name": "value to text", 1045 "value": 1 1046 }, 1047 { 1048 "name": "range to text", 1049 "value": 2 1050 } 1051 ], 1052 "maxDataPoints": 100, 1053 "nullPointMode": "connected", 1054 "nullText": null, 1055 "postfix": "", 1056 "postfixFontSize": "50%", 1057 "prefix": "", 1058 "prefixFontSize": "50%", 1059 "rangeMaps": [ 1060 { 1061 "from": "null", 1062 "text": "N/A", 1063 "to": "null" 1064 } 1065 ], 1066 "sparkline": { 1067 "fillColor": "rgba(31, 118, 189, 0.18)", 1068 "full": true, 1069 "lineColor": "rgb(31, 120, 193)", 1070 "show": true 1071 }, 1072 "tableColumn": "Value", 1073 "targets": [ 1074 { 1075 "expr": "sum(database_bootstrapped{instance=~\"$instance\"} == bool 1)", 1076 "format": "time_series", 1077 "instant": true, 1078 "intervalFactor": 1, 1079 "key": 0.3593853225333008, 1080 "refId": "A" 1081 } 1082 ], 1083 "thresholds": "", 1084 "timeFrom": "1m", 1085 "timeShift": null, 1086 "title": "Bootstrapped", 1087 "type": "singlestat", 1088 "valueFontSize": "80%", 1089 "valueMaps": [ 1090 { 1091 "op": "=", 1092 "text": "N/A", 1093 "value": "null" 1094 } 1095 ], 1096 "valueName": "current", 1097 "y_formats": [ 1098 "short", 1099 "short" 1100 ] 1101 }, 1102 { 1103 "cacheTimeout": null, 1104 "colorBackground": false, 1105 "colorValue": false, 1106 "colors": [ 1107 "rgba(245, 54, 54, 0.9)", 1108 "rgba(237, 129, 40, 0.89)", 1109 "rgba(50, 172, 45, 0.97)" 1110 ], 1111 "datasource": "$datasource", 1112 "editable": true, 1113 "error": false, 1114 "format": "none", 1115 "gauge": { 1116 "maxValue": 100, 1117 "minValue": 0, 1118 "show": false, 1119 "thresholdLabels": false, 1120 "thresholdMarkers": true 1121 }, 1122 "gridPos": { 1123 "h": 3, 1124 "w": 6, 1125 "x": 6, 1126 "y": 1 1127 }, 1128 "height": "", 1129 "hideTimeOverride": true, 1130 "id": 50, 1131 "interval": null, 1132 "links": [], 1133 "mappingType": 1, 1134 "mappingTypes": [ 1135 { 1136 "name": "value to text", 1137 "value": 1 1138 }, 1139 { 1140 "name": "range to text", 1141 "value": 2 1142 } 1143 ], 1144 "maxDataPoints": 100, 1145 "nullPointMode": "connected", 1146 "nullText": null, 1147 "postfix": "", 1148 "postfixFontSize": "50%", 1149 "prefix": "", 1150 "prefixFontSize": "50%", 1151 "rangeMaps": [ 1152 { 1153 "from": "null", 1154 "text": "N/A", 1155 "to": "null" 1156 } 1157 ], 1158 "sparkline": { 1159 "fillColor": "rgba(31, 118, 189, 0.18)", 1160 "full": true, 1161 "lineColor": "rgb(31, 120, 193)", 1162 "show": true 1163 }, 1164 "tableColumn": "Value", 1165 "targets": [ 1166 { 1167 "expr": "sum(database_bootstrapped{instance=~\"$instance\"} == bool 0)", 1168 "format": "time_series", 1169 "instant": true, 1170 "intervalFactor": 1, 1171 "key": 0.08874521907599053, 1172 "refId": "A" 1173 } 1174 ], 1175 "thresholds": "", 1176 "timeFrom": "1m", 1177 "title": "Bootstrapping", 1178 "type": "singlestat", 1179 "valueFontSize": "80%", 1180 "valueMaps": [ 1181 { 1182 "op": "=", 1183 "text": "N/A", 1184 "value": "null" 1185 } 1186 ], 1187 "valueName": "current", 1188 "y_formats": [ 1189 "short", 1190 "short" 1191 ] 1192 }, 1193 { 1194 "cacheTimeout": null, 1195 "colorBackground": false, 1196 "colorValue": false, 1197 "colors": [ 1198 "rgba(245, 54, 54, 0.9)", 1199 "rgba(237, 129, 40, 0.89)", 1200 "rgba(50, 172, 45, 0.97)" 1201 ], 1202 "datasource": "$datasource", 1203 "editable": true, 1204 "error": false, 1205 "format": "none", 1206 "gauge": { 1207 "maxValue": 100, 1208 "minValue": 0, 1209 "show": false, 1210 "thresholdLabels": false, 1211 "thresholdMarkers": true 1212 }, 1213 "gridPos": { 1214 "h": 3, 1215 "w": 6, 1216 "x": 12, 1217 "y": 1 1218 }, 1219 "height": "", 1220 "hideTimeOverride": true, 1221 "id": 55, 1222 "interval": null, 1223 "links": [], 1224 "mappingType": 1, 1225 "mappingTypes": [ 1226 { 1227 "name": "value to text", 1228 "value": 1 1229 }, 1230 { 1231 "name": "range to text", 1232 "value": 2 1233 } 1234 ], 1235 "maxDataPoints": 100, 1236 "nullPointMode": "connected", 1237 "nullText": null, 1238 "postfix": "", 1239 "postfixFontSize": "50%", 1240 "prefix": "", 1241 "prefixFontSize": "50%", 1242 "rangeMaps": [ 1243 { 1244 "from": "null", 1245 "text": "N/A", 1246 "to": "null" 1247 } 1248 ], 1249 "sparkline": { 1250 "fillColor": "rgba(31, 118, 189, 0.18)", 1251 "full": true, 1252 "lineColor": "rgb(31, 120, 193)", 1253 "show": true 1254 }, 1255 "tableColumn": "revision", 1256 "targets": [ 1257 { 1258 "expr": "count(build_information{instance=~\"$instance\"}) by (revision)", 1259 "format": "time_series", 1260 "instant": true, 1261 "intervalFactor": 1, 1262 "key": 0.25234693632915994, 1263 "refId": "A" 1264 } 1265 ], 1266 "thresholds": "", 1267 "timeFrom": "1m", 1268 "title": "# Revisions", 1269 "type": "singlestat", 1270 "valueFontSize": "80%", 1271 "valueMaps": [ 1272 { 1273 "op": "=", 1274 "text": "N/A", 1275 "value": "null" 1276 } 1277 ], 1278 "valueName": "current", 1279 "y_formats": [ 1280 "short", 1281 "short" 1282 ] 1283 }, 1284 { 1285 "cacheTimeout": null, 1286 "colorBackground": false, 1287 "colorValue": false, 1288 "colors": [ 1289 "rgba(245, 54, 54, 0.9)", 1290 "rgba(237, 129, 40, 0.89)", 1291 "rgba(50, 172, 45, 0.97)" 1292 ], 1293 "datasource": "$datasource", 1294 "editable": true, 1295 "error": false, 1296 "format": "none", 1297 "gauge": { 1298 "maxValue": 100, 1299 "minValue": 0, 1300 "show": false, 1301 "thresholdLabels": false, 1302 "thresholdMarkers": true 1303 }, 1304 "gridPos": { 1305 "h": 3, 1306 "w": 6, 1307 "x": 18, 1308 "y": 1 1309 }, 1310 "height": "", 1311 "hideTimeOverride": true, 1312 "id": 56, 1313 "interval": null, 1314 "links": [], 1315 "mappingType": 1, 1316 "mappingTypes": [ 1317 { 1318 "name": "value to text", 1319 "value": 1 1320 }, 1321 { 1322 "name": "range to text", 1323 "value": 2 1324 } 1325 ], 1326 "maxDataPoints": 100, 1327 "nullPointMode": "connected", 1328 "nullText": null, 1329 "postfix": "", 1330 "postfixFontSize": "50%", 1331 "prefix": "", 1332 "prefixFontSize": "50%", 1333 "rangeMaps": [ 1334 { 1335 "from": "null", 1336 "text": "N/A", 1337 "to": "null" 1338 } 1339 ], 1340 "sparkline": { 1341 "fillColor": "rgba(31, 118, 189, 0.18)", 1342 "full": true, 1343 "lineColor": "rgb(31, 120, 193)", 1344 "show": true 1345 }, 1346 "tableColumn": "go_version", 1347 "targets": [ 1348 { 1349 "expr": "count(build_information{instance=~\"$instance\"}) by (go_version)", 1350 "format": "time_series", 1351 "instant": true, 1352 "intervalFactor": 1, 1353 "key": 0.08534584879068197, 1354 "refId": "A" 1355 } 1356 ], 1357 "thresholds": "", 1358 "timeFrom": "1m", 1359 "title": "# Runtime Versions", 1360 "type": "singlestat", 1361 "valueFontSize": "80%", 1362 "valueMaps": [ 1363 { 1364 "op": "=", 1365 "text": "N/A", 1366 "value": "null" 1367 } 1368 ], 1369 "valueName": "current", 1370 "y_formats": [ 1371 "short", 1372 "short" 1373 ] 1374 }, 1375 { 1376 "collapsed": false, 1377 "gridPos": { 1378 "h": 1, 1379 "w": 24, 1380 "x": 0, 1381 "y": 4 1382 }, 1383 "id": 91, 1384 "panels": [], 1385 "repeat": null, 1386 "title": "Commitlog / Inserts", 1387 "type": "row" 1388 }, 1389 { 1390 "aliasColors": {}, 1391 "bars": false, 1392 "dashLength": 10, 1393 "dashes": false, 1394 "datasource": "$datasource", 1395 "editable": true, 1396 "error": false, 1397 "fill": 0, 1398 "grid": {}, 1399 "gridPos": { 1400 "h": 7, 1401 "w": 8, 1402 "x": 0, 1403 "y": 5 1404 }, 1405 "id": 1, 1406 "legend": { 1407 "avg": false, 1408 "current": false, 1409 "max": false, 1410 "min": false, 1411 "show": false, 1412 "total": false, 1413 "values": false 1414 }, 1415 "lines": true, 1416 "linewidth": 1, 1417 "links": [], 1418 "nullPointMode": "connected", 1419 "percentage": false, 1420 "pointradius": 5, 1421 "points": false, 1422 "renderer": "flot", 1423 "seriesOverrides": [ 1424 { 1425 "alias": "smoothed-length", 1426 "color": "#BF1B00", 1427 "linewidth": 4 1428 } 1429 ], 1430 "spaceLength": 10, 1431 "stack": false, 1432 "steppedLine": false, 1433 "targets": [ 1434 { 1435 "expr": "commitlog_writes_queued{instance=~\"$instance\"}", 1436 "format": "time_series", 1437 "hide": false, 1438 "intervalFactor": 1, 1439 "key": 0.09635984016153087, 1440 "refId": "C", 1441 "textEditor": true 1442 } 1443 ], 1444 "thresholds": [], 1445 "timeFrom": null, 1446 "timeShift": null, 1447 "title": "Commit Log Queue Length", 1448 "tooltip": { 1449 "shared": false, 1450 "sort": 0, 1451 "value_type": "cumulative" 1452 }, 1453 "type": "graph", 1454 "xaxis": { 1455 "buckets": null, 1456 "mode": "time", 1457 "name": null, 1458 "show": true, 1459 "values": [] 1460 }, 1461 "yaxes": [ 1462 { 1463 "format": "short", 1464 "logBase": 1, 1465 "max": null, 1466 "min": null, 1467 "show": true 1468 }, 1469 { 1470 "format": "percentunit", 1471 "label": "", 1472 "logBase": 1, 1473 "max": null, 1474 "min": null, 1475 "show": true 1476 } 1477 ], 1478 "yaxis": { 1479 "align": false, 1480 "alignLevel": null 1481 } 1482 }, 1483 { 1484 "aliasColors": {}, 1485 "bars": false, 1486 "dashLength": 10, 1487 "dashes": false, 1488 "datasource": "$datasource", 1489 "editable": true, 1490 "error": false, 1491 "fill": 0, 1492 "grid": {}, 1493 "gridPos": { 1494 "h": 7, 1495 "w": 8, 1496 "x": 8, 1497 "y": 5 1498 }, 1499 "id": 2, 1500 "legend": { 1501 "avg": false, 1502 "current": false, 1503 "max": false, 1504 "min": false, 1505 "show": false, 1506 "total": false, 1507 "values": false 1508 }, 1509 "lines": true, 1510 "linewidth": 1, 1511 "links": [], 1512 "nullPointMode": "connected", 1513 "percentage": false, 1514 "pointradius": 5, 1515 "points": false, 1516 "renderer": "flot", 1517 "seriesOverrides": [ 1518 { 1519 "alias": "average", 1520 "color": "#BF1B00", 1521 "linewidth": 4 1522 } 1523 ], 1524 "spaceLength": 10, 1525 "stack": false, 1526 "steppedLine": false, 1527 "targets": [ 1528 { 1529 "expr": " sum(rate(commitlog_writes_success{instance=~\"$instance\"}[$step]))", 1530 "format": "time_series", 1531 "hide": false, 1532 "intervalFactor": 1, 1533 "key": 0.7940843773344208, 1534 "legendFormat": "writes", 1535 "refId": "C", 1536 "textEditor": true 1537 } 1538 ], 1539 "thresholds": [], 1540 "timeFrom": null, 1541 "timeShift": null, 1542 "title": "Commit Log Writes / Second (Includes replication)", 1543 "tooltip": { 1544 "shared": false, 1545 "sort": 0, 1546 "value_type": "cumulative" 1547 }, 1548 "type": "graph", 1549 "xaxis": { 1550 "buckets": null, 1551 "mode": "time", 1552 "name": null, 1553 "show": true, 1554 "values": [] 1555 }, 1556 "yaxes": [ 1557 { 1558 "format": "short", 1559 "logBase": 1, 1560 "max": null, 1561 "min": null, 1562 "show": true 1563 }, 1564 { 1565 "format": "percentunit", 1566 "label": "", 1567 "logBase": 1, 1568 "max": null, 1569 "min": null, 1570 "show": true 1571 } 1572 ], 1573 "yaxis": { 1574 "align": false, 1575 "alignLevel": null 1576 } 1577 }, 1578 { 1579 "aliasColors": {}, 1580 "bars": false, 1581 "dashLength": 10, 1582 "dashes": false, 1583 "datasource": "$datasource", 1584 "editable": true, 1585 "error": false, 1586 "fill": 0, 1587 "grid": {}, 1588 "gridPos": { 1589 "h": 7, 1590 "w": 8, 1591 "x": 16, 1592 "y": 5 1593 }, 1594 "id": 45, 1595 "legend": { 1596 "avg": false, 1597 "current": false, 1598 "max": false, 1599 "min": false, 1600 "show": true, 1601 "total": false, 1602 "values": false 1603 }, 1604 "lines": true, 1605 "linewidth": 1, 1606 "links": [], 1607 "nullPointMode": "connected", 1608 "percentage": false, 1609 "pointradius": 5, 1610 "points": false, 1611 "renderer": "flot", 1612 "seriesOverrides": [], 1613 "spaceLength": 10, 1614 "stack": false, 1615 "steppedLine": false, 1616 "targets": [ 1617 { 1618 "expr": "sum(rate(dbshard_insert_queue_inserts{instance=~\"$instance\"}[$step])) by (pending_write)", 1619 "format": "time_series", 1620 "hide": false, 1621 "intervalFactor": 1, 1622 "key": 0.6661769838428799, 1623 "legendFormat": "pendingWrite-{{pending_write}}", 1624 "refId": "C", 1625 "textEditor": true 1626 } 1627 ], 1628 "thresholds": [], 1629 "timeFrom": null, 1630 "timeShift": null, 1631 "title": "New Series Inserts / Second", 1632 "tooltip": { 1633 "shared": false, 1634 "sort": 0, 1635 "value_type": "cumulative" 1636 }, 1637 "type": "graph", 1638 "xaxis": { 1639 "buckets": null, 1640 "mode": "time", 1641 "name": null, 1642 "show": true, 1643 "values": [] 1644 }, 1645 "yaxes": [ 1646 { 1647 "format": "short", 1648 "logBase": 1, 1649 "max": null, 1650 "min": null, 1651 "show": true 1652 }, 1653 { 1654 "format": "percentunit", 1655 "label": "", 1656 "logBase": 1, 1657 "max": null, 1658 "min": null, 1659 "show": true 1660 } 1661 ], 1662 "yaxis": { 1663 "align": false, 1664 "alignLevel": null 1665 } 1666 }, 1667 { 1668 "collapsed": true, 1669 "gridPos": { 1670 "h": 1, 1671 "w": 24, 1672 "x": 0, 1673 "y": 12 1674 }, 1675 "id": 92, 1676 "panels": [ 1677 { 1678 "aliasColors": {}, 1679 "bars": false, 1680 "dashLength": 10, 1681 "dashes": false, 1682 "datasource": "$datasource", 1683 "editable": true, 1684 "error": false, 1685 "fill": 0, 1686 "grid": {}, 1687 "gridPos": { 1688 "h": 7, 1689 "w": 8, 1690 "x": 0, 1691 "y": 13 1692 }, 1693 "id": 4, 1694 "legend": { 1695 "avg": false, 1696 "current": false, 1697 "max": false, 1698 "min": false, 1699 "show": true, 1700 "total": false, 1701 "values": false 1702 }, 1703 "lines": true, 1704 "linewidth": 1, 1705 "links": [], 1706 "nullPointMode": "connected", 1707 "percentage": false, 1708 "pointradius": 5, 1709 "points": false, 1710 "renderer": "flot", 1711 "seriesOverrides": [ 1712 { 1713 "alias": "smoothed-length", 1714 "color": "#BF1B00", 1715 "fill": 0, 1716 "linewidth": 5 1717 } 1718 ], 1719 "spaceLength": 10, 1720 "stack": false, 1721 "steppedLine": false, 1722 "targets": [ 1723 { 1724 "expr": "rate(service_fetchBatchRaw_success{instance=~\"$instance\"}[1m])", 1725 "format": "time_series", 1726 "hide": false, 1727 "intervalFactor": 1, 1728 "key": 0.666035411738013, 1729 "refId": "C", 1730 "textEditor": true 1731 }, 1732 { 1733 "expr": "rate(service_fetchBatchRaw_errors{instance=~\"$instance\"}[1m])", 1734 "format": "time_series", 1735 "hide": false, 1736 "intervalFactor": 1, 1737 "key": 0.666035411738013, 1738 "refId": "A", 1739 "textEditor": true 1740 }, 1741 { 1742 "expr": "rate(service_writeBatchRaw_success{instance=~\"$instance\"}[1m])", 1743 "format": "time_series", 1744 "hide": false, 1745 "intervalFactor": 1, 1746 "key": 0.666035411738013, 1747 "refId": "B", 1748 "textEditor": true 1749 }, 1750 { 1751 "expr": "rate(service_writeBatchRaw_errors{instance=~\"$instance\"}[1m])", 1752 "format": "time_series", 1753 "hide": false, 1754 "intervalFactor": 1, 1755 "key": 0.666035411738013, 1756 "refId": "D", 1757 "textEditor": true 1758 } 1759 ], 1760 "thresholds": [], 1761 "timeFrom": null, 1762 "timeShift": null, 1763 "title": "Service Reads / Writes / Minute", 1764 "tooltip": { 1765 "shared": false, 1766 "sort": 0, 1767 "value_type": "cumulative" 1768 }, 1769 "type": "graph", 1770 "xaxis": { 1771 "buckets": null, 1772 "mode": "time", 1773 "name": null, 1774 "show": true, 1775 "values": [] 1776 }, 1777 "yaxes": [ 1778 { 1779 "format": "short", 1780 "logBase": 1, 1781 "max": null, 1782 "min": null, 1783 "show": true 1784 }, 1785 { 1786 "format": "percentunit", 1787 "label": "", 1788 "logBase": 1, 1789 "max": null, 1790 "min": null, 1791 "show": true 1792 } 1793 ], 1794 "yaxis": { 1795 "align": false, 1796 "alignLevel": null 1797 } 1798 }, 1799 { 1800 "aliasColors": {}, 1801 "bars": false, 1802 "dashLength": 10, 1803 "dashes": false, 1804 "datasource": "$datasource", 1805 "editable": true, 1806 "error": false, 1807 "fill": 0, 1808 "grid": {}, 1809 "gridPos": { 1810 "h": 7, 1811 "w": 8, 1812 "x": 8, 1813 "y": 13 1814 }, 1815 "id": 3, 1816 "legend": { 1817 "avg": false, 1818 "current": false, 1819 "max": false, 1820 "min": false, 1821 "show": false, 1822 "total": false, 1823 "values": false 1824 }, 1825 "lines": true, 1826 "linewidth": 1, 1827 "links": [], 1828 "nullPointMode": "connected", 1829 "percentage": false, 1830 "pointradius": 5, 1831 "points": false, 1832 "renderer": "flot", 1833 "spaceLength": 10, 1834 "stack": false, 1835 "steppedLine": false, 1836 "targets": [ 1837 { 1838 "expr": "service_writeBatchRaw_latency{instance=~\"$instance\",quantile=\"0.99\"}", 1839 "format": "time_series", 1840 "intervalFactor": 1, 1841 "key": 0.813148562053182, 1842 "refId": "D" 1843 } 1844 ], 1845 "thresholds": [], 1846 "timeFrom": null, 1847 "timeShift": null, 1848 "title": "Server Side Write Latency (p99)", 1849 "tooltip": { 1850 "shared": false, 1851 "sort": 0, 1852 "value_type": "cumulative" 1853 }, 1854 "type": "graph", 1855 "xaxis": { 1856 "buckets": null, 1857 "mode": "time", 1858 "name": null, 1859 "show": true, 1860 "values": [] 1861 }, 1862 "yaxes": [ 1863 { 1864 "format": "s", 1865 "logBase": 1, 1866 "max": null, 1867 "min": null, 1868 "show": true 1869 }, 1870 { 1871 "format": "percentunit", 1872 "label": "", 1873 "logBase": 1, 1874 "max": null, 1875 "min": null, 1876 "show": true 1877 } 1878 ], 1879 "yaxis": { 1880 "align": false, 1881 "alignLevel": null 1882 } 1883 }, 1884 { 1885 "aliasColors": {}, 1886 "bars": false, 1887 "dashLength": 10, 1888 "dashes": false, 1889 "datasource": "$datasource", 1890 "editable": true, 1891 "error": false, 1892 "fill": 0, 1893 "grid": {}, 1894 "gridPos": { 1895 "h": 7, 1896 "w": 8, 1897 "x": 16, 1898 "y": 13 1899 }, 1900 "id": 12, 1901 "legend": { 1902 "avg": false, 1903 "current": false, 1904 "max": false, 1905 "min": false, 1906 "show": false, 1907 "total": false, 1908 "values": false 1909 }, 1910 "lines": true, 1911 "linewidth": 1, 1912 "links": [], 1913 "nullPointMode": "connected", 1914 "percentage": false, 1915 "pointradius": 5, 1916 "points": false, 1917 "renderer": "flot", 1918 "spaceLength": 10, 1919 "stack": false, 1920 "steppedLine": false, 1921 "targets": [ 1922 { 1923 "expr": "service_fetchBatchRaw_latency{instance=~\"$instance\",quantile=\"0.99\"}", 1924 "format": "time_series", 1925 "intervalFactor": 1, 1926 "key": 0.37467787057058555, 1927 "refId": "D" 1928 } 1929 ], 1930 "thresholds": [], 1931 "timeFrom": null, 1932 "timeShift": null, 1933 "title": "Server Side Fetch Latency (p99)", 1934 "tooltip": { 1935 "shared": false, 1936 "sort": 0, 1937 "value_type": "cumulative" 1938 }, 1939 "type": "graph", 1940 "xaxis": { 1941 "buckets": null, 1942 "mode": "time", 1943 "name": null, 1944 "show": true, 1945 "values": [] 1946 }, 1947 "yaxes": [ 1948 { 1949 "format": "s", 1950 "logBase": 1, 1951 "max": null, 1952 "min": null, 1953 "show": true 1954 }, 1955 { 1956 "format": "percentunit", 1957 "label": "", 1958 "logBase": 1, 1959 "max": null, 1960 "min": null, 1961 "show": true 1962 } 1963 ], 1964 "yaxis": { 1965 "align": false, 1966 "alignLevel": null 1967 } 1968 } 1969 ], 1970 "repeat": null, 1971 "title": "Un-Tagged RPC", 1972 "type": "row" 1973 }, 1974 { 1975 "collapsed": false, 1976 "gridPos": { 1977 "h": 1, 1978 "w": 24, 1979 "x": 0, 1980 "y": 13 1981 }, 1982 "id": 93, 1983 "panels": [], 1984 "repeat": null, 1985 "title": "Tagged RPC", 1986 "type": "row" 1987 }, 1988 { 1989 "aliasColors": {}, 1990 "bars": false, 1991 "dashLength": 10, 1992 "dashes": false, 1993 "datasource": "$datasource", 1994 "editable": true, 1995 "error": false, 1996 "fill": 0, 1997 "grid": {}, 1998 "gridPos": { 1999 "h": 7, 2000 "w": 8, 2001 "x": 0, 2002 "y": 14 2003 }, 2004 "id": 81, 2005 "legend": { 2006 "avg": false, 2007 "current": false, 2008 "max": false, 2009 "min": false, 2010 "show": true, 2011 "total": false, 2012 "values": false 2013 }, 2014 "lines": true, 2015 "linewidth": 1, 2016 "links": [], 2017 "nullPointMode": "connected", 2018 "percentage": false, 2019 "pointradius": 5, 2020 "points": false, 2021 "renderer": "flot", 2022 "seriesOverrides": [ 2023 { 2024 "alias": "smoothed-length", 2025 "color": "#BF1B00", 2026 "fill": 0, 2027 "linewidth": 5 2028 } 2029 ], 2030 "spaceLength": 10, 2031 "stack": false, 2032 "steppedLine": false, 2033 "targets": [ 2034 { 2035 "expr": "sum(rate(service_writeTaggedBatchRaw_success{instance=~\"$instance\"}[$step]))", 2036 "format": "time_series", 2037 "hide": false, 2038 "intervalFactor": 1, 2039 "key": 0.666035411738013, 2040 "legendFormat": "writeTaggedSuccess", 2041 "refId": "C", 2042 "textEditor": true 2043 }, 2044 { 2045 "expr": "sum(rate(service_writeTaggedBatchRaw_errors{instance=~\"$instance\"}[$step]))", 2046 "format": "time_series", 2047 "hide": false, 2048 "intervalFactor": 1, 2049 "key": 0.666035411738013, 2050 "legendFormat": "writeTaggedErrors", 2051 "refId": "A", 2052 "textEditor": true 2053 }, 2054 { 2055 "expr": "sum(rate(service_fetchTaggedBatchRaw_success{instance=~\"$instance\"}[$step]))", 2056 "format": "time_series", 2057 "hide": false, 2058 "intervalFactor": 1, 2059 "key": 0.666035411738013, 2060 "legendFormat": "fetchTaggedSuccess", 2061 "refId": "B", 2062 "textEditor": true 2063 }, 2064 { 2065 "expr": "sum(rate(service_fetchTaggedBatchRaw_errors{instance=~\"$instance\"}[$step]))", 2066 "format": "time_series", 2067 "hide": false, 2068 "intervalFactor": 1, 2069 "key": 0.666035411738013, 2070 "legendFormat": "fetchTaggedErrors", 2071 "refId": "D", 2072 "textEditor": true 2073 } 2074 ], 2075 "thresholds": [], 2076 "timeFrom": null, 2077 "timeShift": null, 2078 "title": "Service Reads / Writes / Second", 2079 "tooltip": { 2080 "shared": false, 2081 "sort": 0, 2082 "value_type": "cumulative" 2083 }, 2084 "type": "graph", 2085 "xaxis": { 2086 "buckets": null, 2087 "mode": "time", 2088 "name": null, 2089 "show": true, 2090 "values": [] 2091 }, 2092 "yaxes": [ 2093 { 2094 "format": "short", 2095 "logBase": 1, 2096 "max": null, 2097 "min": null, 2098 "show": true 2099 }, 2100 { 2101 "format": "percentunit", 2102 "label": "", 2103 "logBase": 1, 2104 "max": null, 2105 "min": null, 2106 "show": true 2107 } 2108 ], 2109 "yaxis": { 2110 "align": false, 2111 "alignLevel": null 2112 } 2113 }, 2114 { 2115 "aliasColors": {}, 2116 "bars": false, 2117 "dashLength": 10, 2118 "dashes": false, 2119 "datasource": "$datasource", 2120 "editable": true, 2121 "error": false, 2122 "fill": 0, 2123 "grid": {}, 2124 "gridPos": { 2125 "h": 7, 2126 "w": 8, 2127 "x": 8, 2128 "y": 14 2129 }, 2130 "id": 82, 2131 "legend": { 2132 "avg": false, 2133 "current": false, 2134 "max": false, 2135 "min": false, 2136 "show": false, 2137 "total": false, 2138 "values": false 2139 }, 2140 "lines": true, 2141 "linewidth": 1, 2142 "links": [], 2143 "nullPointMode": "connected", 2144 "percentage": false, 2145 "pointradius": 5, 2146 "points": false, 2147 "renderer": "flot", 2148 "seriesOverrides": [], 2149 "spaceLength": 10, 2150 "stack": false, 2151 "steppedLine": false, 2152 "targets": [ 2153 { 2154 "expr": "service_writeTaggedBatchRaw_latency{instance=~\"$instance\",quantile=\"0.99\"}", 2155 "format": "time_series", 2156 "intervalFactor": 1, 2157 "key": 0.813148562053182, 2158 "refId": "D" 2159 } 2160 ], 2161 "thresholds": [], 2162 "timeFrom": null, 2163 "timeShift": null, 2164 "title": "Server Side Write Latency (p99)", 2165 "tooltip": { 2166 "shared": false, 2167 "sort": 0, 2168 "value_type": "cumulative" 2169 }, 2170 "type": "graph", 2171 "xaxis": { 2172 "buckets": null, 2173 "mode": "time", 2174 "name": null, 2175 "show": true, 2176 "values": [] 2177 }, 2178 "yaxes": [ 2179 { 2180 "format": "s", 2181 "logBase": 1, 2182 "max": null, 2183 "min": null, 2184 "show": true 2185 }, 2186 { 2187 "format": "percentunit", 2188 "label": "", 2189 "logBase": 1, 2190 "max": null, 2191 "min": null, 2192 "show": true 2193 } 2194 ], 2195 "yaxis": { 2196 "align": false, 2197 "alignLevel": null 2198 } 2199 }, 2200 { 2201 "aliasColors": {}, 2202 "bars": false, 2203 "dashLength": 10, 2204 "dashes": false, 2205 "datasource": "$datasource", 2206 "editable": true, 2207 "error": false, 2208 "fill": 0, 2209 "grid": {}, 2210 "gridPos": { 2211 "h": 7, 2212 "w": 8, 2213 "x": 16, 2214 "y": 14 2215 }, 2216 "id": 83, 2217 "legend": { 2218 "avg": false, 2219 "current": false, 2220 "max": false, 2221 "min": false, 2222 "show": false, 2223 "total": false, 2224 "values": false 2225 }, 2226 "lines": true, 2227 "linewidth": 1, 2228 "links": [], 2229 "nullPointMode": "connected", 2230 "percentage": false, 2231 "pointradius": 5, 2232 "points": false, 2233 "renderer": "flot", 2234 "seriesOverrides": [], 2235 "spaceLength": 10, 2236 "stack": false, 2237 "steppedLine": false, 2238 "targets": [ 2239 { 2240 "expr": "service_fetchTagged_success_latency{instance=~\"$instance\",quantile=\"0.99\"}", 2241 "format": "time_series", 2242 "intervalFactor": 1, 2243 "key": 0.37467787057058555, 2244 "legendFormat": "{{instance}}", 2245 "refId": "D" 2246 } 2247 ], 2248 "thresholds": [], 2249 "timeFrom": null, 2250 "timeShift": null, 2251 "title": "Server Side Fetch Latency (p99)", 2252 "tooltip": { 2253 "shared": false, 2254 "sort": 0, 2255 "value_type": "cumulative" 2256 }, 2257 "type": "graph", 2258 "xaxis": { 2259 "buckets": null, 2260 "mode": "time", 2261 "name": null, 2262 "show": true, 2263 "values": [] 2264 }, 2265 "yaxes": [ 2266 { 2267 "format": "s", 2268 "logBase": 1, 2269 "max": null, 2270 "min": null, 2271 "show": true 2272 }, 2273 { 2274 "format": "percentunit", 2275 "label": "", 2276 "logBase": 1, 2277 "max": null, 2278 "min": null, 2279 "show": true 2280 } 2281 ], 2282 "yaxis": { 2283 "align": false, 2284 "alignLevel": null 2285 } 2286 }, 2287 { 2288 "collapsed": false, 2289 "gridPos": { 2290 "h": 1, 2291 "w": 24, 2292 "x": 0, 2293 "y": 21 2294 }, 2295 "id": 94, 2296 "panels": [], 2297 "repeat": null, 2298 "title": "CPU and Memory Utilization", 2299 "type": "row" 2300 }, 2301 { 2302 "aliasColors": {}, 2303 "bars": false, 2304 "dashLength": 10, 2305 "dashes": false, 2306 "datasource": "$datasource", 2307 "editable": true, 2308 "error": false, 2309 "fill": 0, 2310 "grid": {}, 2311 "gridPos": { 2312 "h": 7, 2313 "w": 8, 2314 "x": 0, 2315 "y": 22 2316 }, 2317 "id": 13, 2318 "legend": { 2319 "avg": false, 2320 "current": false, 2321 "max": false, 2322 "min": false, 2323 "show": false, 2324 "total": false, 2325 "values": false 2326 }, 2327 "lines": true, 2328 "linewidth": 1, 2329 "links": [], 2330 "nullPointMode": "connected", 2331 "percentage": false, 2332 "pointradius": 5, 2333 "points": false, 2334 "renderer": "flot", 2335 "seriesOverrides": [], 2336 "spaceLength": 10, 2337 "stack": false, 2338 "steppedLine": false, 2339 "targets": [ 2340 { 2341 "expr": "rate(process_cpu_seconds_total{instance=~\"$instance\"}[$step])", 2342 "format": "time_series", 2343 "intervalFactor": 1, 2344 "key": 0.7090064740553321, 2345 "legendFormat": "{{instance}}", 2346 "refId": "A", 2347 "textEditor": true 2348 } 2349 ], 2350 "thresholds": [], 2351 "timeFrom": null, 2352 "timeShift": null, 2353 "title": "Process CPU Seconds", 2354 "tooltip": { 2355 "shared": false, 2356 "sort": 0, 2357 "value_type": "cumulative" 2358 }, 2359 "type": "graph", 2360 "xaxis": { 2361 "buckets": null, 2362 "mode": "time", 2363 "name": null, 2364 "show": true, 2365 "values": [] 2366 }, 2367 "yaxes": [ 2368 { 2369 "format": "short", 2370 "logBase": 1, 2371 "max": null, 2372 "min": null, 2373 "show": true 2374 }, 2375 { 2376 "format": "short", 2377 "logBase": 1, 2378 "max": null, 2379 "min": null, 2380 "show": true 2381 } 2382 ], 2383 "yaxis": { 2384 "align": false, 2385 "alignLevel": null 2386 } 2387 }, 2388 { 2389 "aliasColors": {}, 2390 "bars": false, 2391 "dashLength": 10, 2392 "dashes": false, 2393 "datasource": "$datasource", 2394 "editable": true, 2395 "error": false, 2396 "fill": 0, 2397 "grid": {}, 2398 "gridPos": { 2399 "h": 7, 2400 "w": 8, 2401 "x": 8, 2402 "y": 22 2403 }, 2404 "id": 14, 2405 "legend": { 2406 "avg": false, 2407 "current": false, 2408 "max": false, 2409 "min": false, 2410 "show": false, 2411 "total": false, 2412 "values": false 2413 }, 2414 "lines": true, 2415 "linewidth": 1, 2416 "links": [], 2417 "nullPointMode": "connected", 2418 "percentage": false, 2419 "pointradius": 5, 2420 "points": false, 2421 "renderer": "flot", 2422 "seriesOverrides": [], 2423 "spaceLength": 10, 2424 "stack": false, 2425 "steppedLine": false, 2426 "targets": [ 2427 { 2428 "expr": "process_resident_memory_bytes{instance=~\"$instance\"}", 2429 "format": "time_series", 2430 "hide": false, 2431 "intervalFactor": 1, 2432 "key": 0.7090064740553321, 2433 "legendFormat": "resident-{{instance}}", 2434 "refId": "A", 2435 "textEditor": true 2436 }, 2437 { 2438 "expr": "process_virtual_memory_bytes{instance=~\"$instance\"}", 2439 "format": "time_series", 2440 "hide": true, 2441 "intervalFactor": 1, 2442 "key": 0.7090064740553321, 2443 "legendFormat": "virtual-{{instance}}", 2444 "refId": "B", 2445 "textEditor": true 2446 } 2447 ], 2448 "thresholds": [], 2449 "timeFrom": null, 2450 "timeShift": null, 2451 "title": "Memory Utilization - Resident", 2452 "tooltip": { 2453 "shared": false, 2454 "sort": 0, 2455 "value_type": "cumulative" 2456 }, 2457 "type": "graph", 2458 "xaxis": { 2459 "buckets": null, 2460 "mode": "time", 2461 "name": null, 2462 "show": true, 2463 "values": [] 2464 }, 2465 "yaxes": [ 2466 { 2467 "format": "decbytes", 2468 "logBase": 1, 2469 "max": null, 2470 "min": null, 2471 "show": true 2472 }, 2473 { 2474 "format": "short", 2475 "logBase": 1, 2476 "max": null, 2477 "min": null, 2478 "show": true 2479 } 2480 ], 2481 "yaxis": { 2482 "align": false, 2483 "alignLevel": null 2484 } 2485 }, 2486 { 2487 "aliasColors": {}, 2488 "bars": false, 2489 "dashLength": 10, 2490 "dashes": false, 2491 "datasource": "$datasource", 2492 "editable": true, 2493 "error": false, 2494 "fill": 0, 2495 "grid": {}, 2496 "gridPos": { 2497 "h": 7, 2498 "w": 8, 2499 "x": 16, 2500 "y": 22 2501 }, 2502 "id": 110, 2503 "legend": { 2504 "avg": false, 2505 "current": false, 2506 "max": false, 2507 "min": false, 2508 "show": false, 2509 "total": false, 2510 "values": false 2511 }, 2512 "lines": true, 2513 "linewidth": 1, 2514 "links": [], 2515 "nullPointMode": "connected", 2516 "percentage": false, 2517 "pointradius": 5, 2518 "points": false, 2519 "renderer": "flot", 2520 "seriesOverrides": [], 2521 "spaceLength": 10, 2522 "stack": false, 2523 "steppedLine": false, 2524 "targets": [ 2525 { 2526 "expr": "sum(mmap_mapped_bytes{instance=~\"$instance\"}) by (map_name)", 2527 "format": "time_series", 2528 "hide": false, 2529 "intervalFactor": 1, 2530 "key": 0.7090064740553321, 2531 "legendFormat": "", 2532 "refId": "A", 2533 "textEditor": true 2534 } 2535 ], 2536 "thresholds": [], 2537 "timeFrom": null, 2538 "timeShift": null, 2539 "title": "Memory - Mmaps (Anon and File)", 2540 "tooltip": { 2541 "shared": false, 2542 "sort": 0, 2543 "value_type": "cumulative" 2544 }, 2545 "type": "graph", 2546 "xaxis": { 2547 "buckets": null, 2548 "mode": "time", 2549 "name": null, 2550 "show": true, 2551 "values": [] 2552 }, 2553 "yaxes": [ 2554 { 2555 "format": "decbytes", 2556 "logBase": 1, 2557 "max": null, 2558 "min": null, 2559 "show": true 2560 }, 2561 { 2562 "format": "short", 2563 "logBase": 1, 2564 "max": null, 2565 "min": null, 2566 "show": true 2567 } 2568 ], 2569 "yaxis": { 2570 "align": false, 2571 "alignLevel": null 2572 } 2573 }, 2574 { 2575 "aliasColors": {}, 2576 "bars": false, 2577 "dashLength": 10, 2578 "dashes": false, 2579 "datasource": "$datasource", 2580 "editable": true, 2581 "error": false, 2582 "fill": 0, 2583 "grid": {}, 2584 "gridPos": { 2585 "h": 7, 2586 "w": 8, 2587 "x": 0, 2588 "y": 29 2589 }, 2590 "id": 61, 2591 "legend": { 2592 "avg": false, 2593 "current": false, 2594 "max": false, 2595 "min": false, 2596 "show": false, 2597 "total": false, 2598 "values": false 2599 }, 2600 "lines": true, 2601 "linewidth": 1, 2602 "links": [], 2603 "nullPointMode": "connected", 2604 "percentage": false, 2605 "pointradius": 5, 2606 "points": false, 2607 "renderer": "flot", 2608 "seriesOverrides": [], 2609 "spaceLength": 10, 2610 "stack": false, 2611 "steppedLine": false, 2612 "targets": [ 2613 { 2614 "expr": "process_num_fds{instance=~\"$instance\"}", 2615 "format": "time_series", 2616 "intervalFactor": 1, 2617 "key": 0.4107640408210529, 2618 "legendFormat": "{{instance}}", 2619 "refId": "A" 2620 } 2621 ], 2622 "thresholds": [], 2623 "timeFrom": null, 2624 "timeShift": null, 2625 "title": "Num File Descriptors", 2626 "tooltip": { 2627 "shared": false, 2628 "sort": 0, 2629 "value_type": "cumulative" 2630 }, 2631 "type": "graph", 2632 "xaxis": { 2633 "buckets": null, 2634 "mode": "time", 2635 "name": null, 2636 "show": true, 2637 "values": [] 2638 }, 2639 "yaxes": [ 2640 { 2641 "format": "short", 2642 "logBase": 1, 2643 "max": null, 2644 "min": null, 2645 "show": true 2646 }, 2647 { 2648 "format": "short", 2649 "logBase": 1, 2650 "max": null, 2651 "min": null, 2652 "show": true 2653 } 2654 ], 2655 "yaxis": { 2656 "align": false, 2657 "alignLevel": null 2658 } 2659 }, 2660 { 2661 "aliasColors": {}, 2662 "bars": false, 2663 "dashLength": 10, 2664 "dashes": false, 2665 "datasource": "$datasource", 2666 "editable": true, 2667 "error": false, 2668 "fill": 0, 2669 "grid": {}, 2670 "gridPos": { 2671 "h": 7, 2672 "w": 8, 2673 "x": 8, 2674 "y": 29 2675 }, 2676 "id": 49, 2677 "legend": { 2678 "avg": false, 2679 "current": false, 2680 "max": false, 2681 "min": false, 2682 "show": false, 2683 "total": false, 2684 "values": false 2685 }, 2686 "lines": true, 2687 "linewidth": 1, 2688 "links": [], 2689 "nullPointMode": "connected", 2690 "percentage": false, 2691 "pointradius": 5, 2692 "points": false, 2693 "renderer": "flot", 2694 "seriesOverrides": [], 2695 "spaceLength": 10, 2696 "stack": false, 2697 "steppedLine": false, 2698 "targets": [ 2699 { 2700 "expr": "runtime_num_goroutines{instance=~\"$instance\"}", 2701 "format": "time_series", 2702 "intervalFactor": 1, 2703 "key": 0.5498548297308425, 2704 "legendFormat": "{{instance}}", 2705 "refId": "A" 2706 } 2707 ], 2708 "thresholds": [], 2709 "timeFrom": null, 2710 "timeShift": null, 2711 "title": "Num Go Routines", 2712 "tooltip": { 2713 "shared": false, 2714 "sort": 0, 2715 "value_type": "cumulative" 2716 }, 2717 "type": "graph", 2718 "xaxis": { 2719 "buckets": null, 2720 "mode": "time", 2721 "name": null, 2722 "show": true, 2723 "values": [] 2724 }, 2725 "yaxes": [ 2726 { 2727 "format": "short", 2728 "logBase": 1, 2729 "max": null, 2730 "min": null, 2731 "show": true 2732 }, 2733 { 2734 "format": "short", 2735 "logBase": 1, 2736 "max": null, 2737 "min": null, 2738 "show": true 2739 } 2740 ], 2741 "yaxis": { 2742 "align": false, 2743 "alignLevel": null 2744 } 2745 }, 2746 { 2747 "aliasColors": {}, 2748 "bars": false, 2749 "dashLength": 10, 2750 "dashes": false, 2751 "datasource": "$datasource", 2752 "editable": true, 2753 "error": false, 2754 "fill": 0, 2755 "grid": {}, 2756 "gridPos": { 2757 "h": 7, 2758 "w": 8, 2759 "x": 16, 2760 "y": 29 2761 }, 2762 "id": 39, 2763 "legend": { 2764 "avg": false, 2765 "current": false, 2766 "max": false, 2767 "min": false, 2768 "show": false, 2769 "total": false, 2770 "values": false 2771 }, 2772 "lines": true, 2773 "linewidth": 1, 2774 "links": [], 2775 "nullPointMode": "connected", 2776 "percentage": false, 2777 "pointradius": 5, 2778 "points": false, 2779 "renderer": "flot", 2780 "seriesOverrides": [], 2781 "spaceLength": 10, 2782 "stack": false, 2783 "steppedLine": false, 2784 "targets": [ 2785 { 2786 "expr": "", 2787 "format": "time_series", 2788 "intervalFactor": 1, 2789 "refId": "A", 2790 "textEditor": false 2791 } 2792 ], 2793 "thresholds": [], 2794 "timeFrom": null, 2795 "timeShift": null, 2796 "title": "Disk Free Space - Not Implemented", 2797 "tooltip": { 2798 "shared": false, 2799 "sort": 0, 2800 "value_type": "cumulative" 2801 }, 2802 "type": "graph", 2803 "xaxis": { 2804 "buckets": null, 2805 "mode": "time", 2806 "name": null, 2807 "show": true, 2808 "values": [] 2809 }, 2810 "yaxes": [ 2811 { 2812 "format": "decbytes", 2813 "logBase": 1, 2814 "max": null, 2815 "min": null, 2816 "show": true 2817 }, 2818 { 2819 "format": "short", 2820 "logBase": 1, 2821 "max": null, 2822 "min": null, 2823 "show": true 2824 } 2825 ], 2826 "yaxis": { 2827 "align": false, 2828 "alignLevel": null 2829 } 2830 }, 2831 { 2832 "collapsed": true, 2833 "gridPos": { 2834 "h": 1, 2835 "w": 24, 2836 "x": 0, 2837 "y": 36 2838 }, 2839 "id": 95, 2840 "panels": [ 2841 { 2842 "aliasColors": {}, 2843 "bars": false, 2844 "dashLength": 10, 2845 "dashes": false, 2846 "datasource": "$datasource", 2847 "editable": true, 2848 "error": false, 2849 "fill": 0, 2850 "grid": {}, 2851 "gridPos": { 2852 "h": 7, 2853 "w": 12, 2854 "x": 0, 2855 "y": 37 2856 }, 2857 "id": 5, 2858 "legend": { 2859 "avg": false, 2860 "current": false, 2861 "max": false, 2862 "min": false, 2863 "show": false, 2864 "total": false, 2865 "values": false 2866 }, 2867 "lines": true, 2868 "linewidth": 1, 2869 "links": [], 2870 "nullPointMode": "connected", 2871 "percentage": false, 2872 "pointradius": 5, 2873 "points": false, 2874 "renderer": "flot", 2875 "seriesOverrides": [], 2876 "spaceLength": 10, 2877 "stack": false, 2878 "steppedLine": false, 2879 "targets": [ 2880 { 2881 "expr": "database_bootstrapped{instance=~\"$instance\"}", 2882 "format": "time_series", 2883 "intervalFactor": 1, 2884 "key": 0.5232381035821441, 2885 "legendFormat": "{{instance}}", 2886 "refId": "A" 2887 } 2888 ], 2889 "thresholds": [], 2890 "timeFrom": null, 2891 "timeShift": null, 2892 "title": "Bootstrapped", 2893 "tooltip": { 2894 "shared": false, 2895 "sort": 0, 2896 "value_type": "cumulative" 2897 }, 2898 "type": "graph", 2899 "xaxis": { 2900 "buckets": null, 2901 "mode": "time", 2902 "name": null, 2903 "show": true, 2904 "values": [] 2905 }, 2906 "yaxes": [ 2907 { 2908 "format": "short", 2909 "logBase": 1, 2910 "max": null, 2911 "min": null, 2912 "show": true 2913 }, 2914 { 2915 "format": "short", 2916 "logBase": 1, 2917 "max": null, 2918 "min": null, 2919 "show": true 2920 } 2921 ], 2922 "yaxis": { 2923 "align": false, 2924 "alignLevel": null 2925 } 2926 }, 2927 { 2928 "aliasColors": {}, 2929 "bars": false, 2930 "dashLength": 10, 2931 "dashes": false, 2932 "datasource": "$datasource", 2933 "editable": true, 2934 "error": false, 2935 "fill": 0, 2936 "grid": {}, 2937 "gridPos": { 2938 "h": 7, 2939 "w": 12, 2940 "x": 12, 2941 "y": 37 2942 }, 2943 "id": 9, 2944 "legend": { 2945 "avg": false, 2946 "current": false, 2947 "max": false, 2948 "min": false, 2949 "show": false, 2950 "total": false, 2951 "values": false 2952 }, 2953 "lines": true, 2954 "linewidth": 1, 2955 "links": [], 2956 "nullPointMode": "connected", 2957 "percentage": false, 2958 "pointradius": 5, 2959 "points": false, 2960 "renderer": "flot", 2961 "seriesOverrides": [], 2962 "spaceLength": 10, 2963 "stack": false, 2964 "steppedLine": false, 2965 "targets": [ 2966 { 2967 "expr": "database_tick_duration{instance=~\"$instance\",quantile=\"0.99\"}", 2968 "format": "time_series", 2969 "intervalFactor": 1, 2970 "key": 0.045140271498789186, 2971 "legendFormat": "{{instance}}", 2972 "refId": "A" 2973 } 2974 ], 2975 "thresholds": [], 2976 "timeFrom": null, 2977 "timeShift": null, 2978 "title": "Tick Duration", 2979 "tooltip": { 2980 "shared": false, 2981 "sort": 0, 2982 "value_type": "cumulative" 2983 }, 2984 "type": "graph", 2985 "xaxis": { 2986 "buckets": null, 2987 "mode": "time", 2988 "name": null, 2989 "show": true, 2990 "values": [] 2991 }, 2992 "yaxes": [ 2993 { 2994 "format": "s", 2995 "logBase": 1, 2996 "max": null, 2997 "min": null, 2998 "show": true 2999 }, 3000 { 3001 "format": "short", 3002 "logBase": 1, 3003 "max": null, 3004 "min": null, 3005 "show": true 3006 } 3007 ], 3008 "yaxis": { 3009 "align": false, 3010 "alignLevel": null 3011 } 3012 }, 3013 { 3014 "aliasColors": {}, 3015 "bars": false, 3016 "dashLength": 10, 3017 "dashes": false, 3018 "datasource": "$datasource", 3019 "editable": true, 3020 "error": false, 3021 "fill": 0, 3022 "grid": {}, 3023 "gridPos": { 3024 "h": 7, 3025 "w": 12, 3026 "x": 0, 3027 "y": 44 3028 }, 3029 "id": 27, 3030 "legend": { 3031 "avg": false, 3032 "current": false, 3033 "max": false, 3034 "min": false, 3035 "show": false, 3036 "total": false, 3037 "values": false 3038 }, 3039 "lines": true, 3040 "linewidth": 1, 3041 "links": [], 3042 "nullPointMode": "connected", 3043 "percentage": false, 3044 "pointradius": 5, 3045 "points": false, 3046 "renderer": "flot", 3047 "seriesOverrides": [], 3048 "spaceLength": 10, 3049 "stack": false, 3050 "steppedLine": false, 3051 "targets": [ 3052 { 3053 "expr": "sum(database_tick_active_series{instance=~\"$instance\"})", 3054 "format": "time_series", 3055 "intervalFactor": 1, 3056 "key": 0.7552494727739296, 3057 "legendFormat": "totalActiveSeries", 3058 "refId": "B" 3059 } 3060 ], 3061 "thresholds": [], 3062 "timeFrom": null, 3063 "timeShift": null, 3064 "title": "Ticking", 3065 "tooltip": { 3066 "shared": false, 3067 "sort": 0, 3068 "value_type": "cumulative" 3069 }, 3070 "type": "graph", 3071 "xaxis": { 3072 "buckets": null, 3073 "mode": "time", 3074 "name": null, 3075 "show": true, 3076 "values": [] 3077 }, 3078 "yaxes": [ 3079 { 3080 "format": "short", 3081 "logBase": 1, 3082 "max": null, 3083 "min": null, 3084 "show": true 3085 }, 3086 { 3087 "format": "short", 3088 "logBase": 1, 3089 "max": null, 3090 "min": null, 3091 "show": true 3092 } 3093 ], 3094 "yaxis": { 3095 "align": false, 3096 "alignLevel": null 3097 } 3098 }, 3099 { 3100 "aliasColors": {}, 3101 "bars": false, 3102 "dashLength": 10, 3103 "dashes": false, 3104 "datasource": "$datasource", 3105 "editable": true, 3106 "error": false, 3107 "fill": 0, 3108 "grid": {}, 3109 "gridPos": { 3110 "h": 7, 3111 "w": 12, 3112 "x": 12, 3113 "y": 44 3114 }, 3115 "id": 16, 3116 "legend": { 3117 "avg": false, 3118 "current": false, 3119 "max": false, 3120 "min": false, 3121 "show": false, 3122 "total": false, 3123 "values": false 3124 }, 3125 "lines": true, 3126 "linewidth": 1, 3127 "links": [], 3128 "nullPointMode": "connected", 3129 "percentage": false, 3130 "pointradius": 5, 3131 "points": false, 3132 "renderer": "flot", 3133 "seriesOverrides": [], 3134 "spaceLength": 10, 3135 "stack": false, 3136 "steppedLine": false, 3137 "targets": [ 3138 { 3139 "expr": "database_fs_flush{instance=~\"$instance\"}", 3140 "format": "time_series", 3141 "intervalFactor": 1, 3142 "key": 0.025515486279266364, 3143 "legendFormat": "{{instance}}", 3144 "refId": "A" 3145 } 3146 ], 3147 "thresholds": [], 3148 "timeFrom": null, 3149 "timeShift": null, 3150 "title": "Flushing", 3151 "tooltip": { 3152 "shared": false, 3153 "sort": 0, 3154 "value_type": "cumulative" 3155 }, 3156 "type": "graph", 3157 "xaxis": { 3158 "buckets": null, 3159 "mode": "time", 3160 "name": null, 3161 "show": true, 3162 "values": [] 3163 }, 3164 "yaxes": [ 3165 { 3166 "format": "short", 3167 "logBase": 1, 3168 "max": null, 3169 "min": null, 3170 "show": true 3171 }, 3172 { 3173 "format": "short", 3174 "logBase": 1, 3175 "max": null, 3176 "min": null, 3177 "show": true 3178 } 3179 ], 3180 "yaxis": { 3181 "align": false, 3182 "alignLevel": null 3183 } 3184 }, 3185 { 3186 "aliasColors": {}, 3187 "bars": false, 3188 "dashLength": 10, 3189 "dashes": false, 3190 "datasource": "$datasource", 3191 "fill": 1, 3192 "gridPos": { 3193 "h": 7, 3194 "w": 12, 3195 "x": 0, 3196 "y": 51 3197 }, 3198 "id": 65, 3199 "legend": { 3200 "avg": false, 3201 "current": false, 3202 "max": false, 3203 "min": false, 3204 "show": false, 3205 "total": false, 3206 "values": false 3207 }, 3208 "lines": true, 3209 "linewidth": 1, 3210 "links": [], 3211 "nullPointMode": "null", 3212 "percentage": false, 3213 "pointradius": 5, 3214 "points": false, 3215 "renderer": "flot", 3216 "seriesOverrides": [], 3217 "spaceLength": 10, 3218 "stack": false, 3219 "steppedLine": false, 3220 "targets": [ 3221 { 3222 "expr": "database_fs_snapshot{instance=~\"$instance\"}", 3223 "format": "time_series", 3224 "intervalFactor": 1, 3225 "legendFormat": "{{instance}}", 3226 "refId": "A" 3227 } 3228 ], 3229 "thresholds": [], 3230 "timeFrom": null, 3231 "timeShift": null, 3232 "title": "Snapshotting", 3233 "tooltip": { 3234 "shared": true, 3235 "sort": 0, 3236 "value_type": "individual" 3237 }, 3238 "type": "graph", 3239 "xaxis": { 3240 "buckets": null, 3241 "mode": "time", 3242 "name": null, 3243 "show": true, 3244 "values": [] 3245 }, 3246 "yaxes": [ 3247 { 3248 "format": "short", 3249 "label": null, 3250 "logBase": 1, 3251 "max": null, 3252 "min": null, 3253 "show": true 3254 }, 3255 { 3256 "format": "short", 3257 "label": null, 3258 "logBase": 1, 3259 "max": null, 3260 "min": null, 3261 "show": true 3262 } 3263 ], 3264 "yaxis": { 3265 "align": false, 3266 "alignLevel": null 3267 } 3268 }, 3269 { 3270 "aliasColors": {}, 3271 "bars": false, 3272 "dashLength": 10, 3273 "dashes": false, 3274 "datasource": "$datasource", 3275 "fill": 1, 3276 "gridPos": { 3277 "h": 7, 3278 "w": 12, 3279 "x": 12, 3280 "y": 51 3281 }, 3282 "id": 75, 3283 "legend": { 3284 "avg": false, 3285 "current": false, 3286 "max": false, 3287 "min": false, 3288 "show": false, 3289 "total": false, 3290 "values": false 3291 }, 3292 "lines": true, 3293 "linewidth": 1, 3294 "links": [], 3295 "nullPointMode": "null", 3296 "percentage": false, 3297 "pointradius": 5, 3298 "points": false, 3299 "renderer": "flot", 3300 "seriesOverrides": [], 3301 "spaceLength": 10, 3302 "stack": false, 3303 "steppedLine": false, 3304 "targets": [ 3305 { 3306 "expr": "database_fs_index_flush{instance=~\"$instance\"}", 3307 "format": "time_series", 3308 "intervalFactor": 1, 3309 "legendFormat": "{{instance}}", 3310 "refId": "A" 3311 } 3312 ], 3313 "thresholds": [], 3314 "timeFrom": null, 3315 "timeShift": null, 3316 "title": "Index Flushing", 3317 "tooltip": { 3318 "shared": true, 3319 "sort": 0, 3320 "value_type": "individual" 3321 }, 3322 "type": "graph", 3323 "xaxis": { 3324 "buckets": null, 3325 "mode": "time", 3326 "name": null, 3327 "show": true, 3328 "values": [] 3329 }, 3330 "yaxes": [ 3331 { 3332 "format": "short", 3333 "label": null, 3334 "logBase": 1, 3335 "max": null, 3336 "min": null, 3337 "show": true 3338 }, 3339 { 3340 "format": "short", 3341 "label": null, 3342 "logBase": 1, 3343 "max": null, 3344 "min": null, 3345 "show": true 3346 } 3347 ], 3348 "yaxis": { 3349 "align": false, 3350 "alignLevel": null 3351 } 3352 } 3353 ], 3354 "repeat": null, 3355 "title": "Background Tasks", 3356 "type": "row" 3357 }, 3358 { 3359 "collapsed": true, 3360 "gridPos": { 3361 "h": 1, 3362 "w": 24, 3363 "x": 0, 3364 "y": 37 3365 }, 3366 "id": 96, 3367 "panels": [ 3368 { 3369 "aliasColors": {}, 3370 "bars": false, 3371 "dashLength": 10, 3372 "dashes": false, 3373 "datasource": "$datasource", 3374 "editable": true, 3375 "error": false, 3376 "fill": 0, 3377 "grid": {}, 3378 "gridPos": { 3379 "h": 5, 3380 "w": 6, 3381 "x": 0, 3382 "y": 59 3383 }, 3384 "id": 38, 3385 "legend": { 3386 "avg": false, 3387 "current": false, 3388 "max": false, 3389 "min": false, 3390 "show": false, 3391 "total": false, 3392 "values": false 3393 }, 3394 "lines": true, 3395 "linewidth": 1, 3396 "links": [], 3397 "nullPointMode": "connected", 3398 "percentage": false, 3399 "pointradius": 5, 3400 "points": false, 3401 "renderer": "flot", 3402 "seriesOverrides": [], 3403 "spaceLength": 10, 3404 "stack": false, 3405 "steppedLine": false, 3406 "targets": [ 3407 { 3408 "expr": "database_tick_wired_blocks{instance=~\"$instance\"}", 3409 "format": "time_series", 3410 "intervalFactor": 1, 3411 "key": 0.6091384812937135, 3412 "legendFormat": "wiredBlocks-{{instance}}", 3413 "refId": "A" 3414 }, 3415 { 3416 "expr": "database_tick_unwired_blocks{instance=~\"$instance\"}", 3417 "format": "time_series", 3418 "intervalFactor": 1, 3419 "key": 0.6091384812937135, 3420 "legendFormat": "unwiredBlocks-{{instance}}", 3421 "refId": "B" 3422 }, 3423 { 3424 "expr": "database_tick_active_blocks{instance=~\"$instance\"}", 3425 "format": "time_series", 3426 "intervalFactor": 1, 3427 "legendFormat": "activeBlocks-{{instance}}", 3428 "refId": "C" 3429 }, 3430 { 3431 "expr": "database_tick_open_blocks{instance=~\"$instance\"}", 3432 "format": "time_series", 3433 "intervalFactor": 1, 3434 "legendFormat": "openBlocks-{{instance}}", 3435 "refId": "D" 3436 } 3437 ], 3438 "thresholds": [], 3439 "timeFrom": null, 3440 "timeShift": null, 3441 "title": "Wired and Unwired Blocks", 3442 "tooltip": { 3443 "shared": false, 3444 "sort": 0, 3445 "value_type": "cumulative" 3446 }, 3447 "type": "graph", 3448 "xaxis": { 3449 "buckets": null, 3450 "mode": "time", 3451 "name": null, 3452 "show": true, 3453 "values": [] 3454 }, 3455 "yaxes": [ 3456 { 3457 "format": "short", 3458 "logBase": 1, 3459 "max": null, 3460 "min": null, 3461 "show": true 3462 }, 3463 { 3464 "format": "short", 3465 "logBase": 1, 3466 "max": null, 3467 "min": null, 3468 "show": true 3469 } 3470 ], 3471 "yaxis": { 3472 "align": false, 3473 "alignLevel": null 3474 } 3475 }, 3476 { 3477 "aliasColors": {}, 3478 "bars": false, 3479 "dashLength": 10, 3480 "dashes": false, 3481 "datasource": "$datasource", 3482 "editable": true, 3483 "error": false, 3484 "fill": 0, 3485 "grid": {}, 3486 "gridPos": { 3487 "h": 5, 3488 "w": 6, 3489 "x": 6, 3490 "y": 59 3491 }, 3492 "id": 46, 3493 "legend": { 3494 "avg": false, 3495 "current": false, 3496 "max": false, 3497 "min": false, 3498 "show": false, 3499 "total": false, 3500 "values": false 3501 }, 3502 "lines": true, 3503 "linewidth": 1, 3504 "links": [], 3505 "nullPointMode": "connected", 3506 "percentage": false, 3507 "pointradius": 5, 3508 "points": false, 3509 "renderer": "flot", 3510 "seriesOverrides": [], 3511 "spaceLength": 10, 3512 "stack": false, 3513 "steppedLine": false, 3514 "targets": [ 3515 { 3516 "expr": "rate(database_tick_made_expired_blocks{instance=~\"$instance\"}[$step])", 3517 "format": "time_series", 3518 "intervalFactor": 1, 3519 "key": 0.12716494400774314, 3520 "legendFormat": "madeExpiredBlocks-{{instance}}", 3521 "refId": "A" 3522 }, 3523 { 3524 "expr": "rate(database_tick_made_unwired_blocks{instance=~\"$instance\"}[$step])", 3525 "format": "time_series", 3526 "intervalFactor": 1, 3527 "legendFormat": "madeUnwiredBlocks-{{instance}}", 3528 "refId": "B" 3529 }, 3530 { 3531 "expr": "rate(database_tick_merged_out_of_order_blocks{instance=~\"$instance\"}[$step])", 3532 "format": "time_series", 3533 "intervalFactor": 1, 3534 "legendFormat": "mergedOutOfOrderBlocks-{{instance}}", 3535 "refId": "C" 3536 }, 3537 { 3538 "expr": "rate(database_tick_made_wired_blocks{instance=~\"$instance\"}[$step])", 3539 "format": "time_series", 3540 "intervalFactor": 1, 3541 "legendFormat": "madeWiredBlocks-{{instance}}", 3542 "refId": "D" 3543 } 3544 ], 3545 "thresholds": [], 3546 "timeFrom": null, 3547 "timeShift": null, 3548 "title": "Made Wired/Unwired & Merged Out of Order Blocks", 3549 "tooltip": { 3550 "shared": false, 3551 "sort": 0, 3552 "value_type": "cumulative" 3553 }, 3554 "type": "graph", 3555 "xaxis": { 3556 "buckets": null, 3557 "mode": "time", 3558 "name": null, 3559 "show": true, 3560 "values": [] 3561 }, 3562 "yaxes": [ 3563 { 3564 "format": "short", 3565 "logBase": 1, 3566 "max": null, 3567 "min": null, 3568 "show": true 3569 }, 3570 { 3571 "format": "short", 3572 "logBase": 1, 3573 "max": null, 3574 "min": null, 3575 "show": true 3576 } 3577 ], 3578 "yaxis": { 3579 "align": false, 3580 "alignLevel": null 3581 } 3582 }, 3583 { 3584 "aliasColors": {}, 3585 "bars": false, 3586 "dashLength": 10, 3587 "dashes": false, 3588 "datasource": "$datasource", 3589 "editable": true, 3590 "error": false, 3591 "fill": 0, 3592 "grid": {}, 3593 "gridPos": { 3594 "h": 5, 3595 "w": 6, 3596 "x": 12, 3597 "y": 59 3598 }, 3599 "id": 80, 3600 "legend": { 3601 "avg": false, 3602 "current": false, 3603 "max": false, 3604 "min": false, 3605 "show": false, 3606 "total": false, 3607 "values": false 3608 }, 3609 "lines": true, 3610 "linewidth": 1, 3611 "links": [], 3612 "nullPointMode": "connected", 3613 "percentage": false, 3614 "pointradius": 5, 3615 "points": false, 3616 "renderer": "flot", 3617 "seriesOverrides": [], 3618 "spaceLength": 10, 3619 "stack": false, 3620 "steppedLine": false, 3621 "targets": [ 3622 { 3623 "expr": "rate(database_series_encoder_created{instance=~\"$instance\"}[$step])", 3624 "format": "time_series", 3625 "intervalFactor": 1, 3626 "key": 0.12716494400774314, 3627 "legendFormat": "seriesEncoderCreated-{{instance}}", 3628 "refId": "A" 3629 } 3630 ], 3631 "thresholds": [], 3632 "timeFrom": null, 3633 "timeShift": null, 3634 "title": "New Encoder Created / Second", 3635 "tooltip": { 3636 "shared": false, 3637 "sort": 0, 3638 "value_type": "cumulative" 3639 }, 3640 "type": "graph", 3641 "xaxis": { 3642 "buckets": null, 3643 "mode": "time", 3644 "name": null, 3645 "show": true, 3646 "values": [] 3647 }, 3648 "yaxes": [ 3649 { 3650 "format": "short", 3651 "logBase": 1, 3652 "max": null, 3653 "min": null, 3654 "show": true 3655 }, 3656 { 3657 "format": "short", 3658 "logBase": 1, 3659 "max": null, 3660 "min": null, 3661 "show": true 3662 } 3663 ], 3664 "yaxis": { 3665 "align": false, 3666 "alignLevel": null 3667 } 3668 }, 3669 { 3670 "aliasColors": {}, 3671 "bars": false, 3672 "dashLength": 10, 3673 "dashes": false, 3674 "datasource": "$datasource", 3675 "editable": true, 3676 "error": false, 3677 "fill": 0, 3678 "grid": {}, 3679 "gridPos": { 3680 "h": 5, 3681 "w": 6, 3682 "x": 18, 3683 "y": 59 3684 }, 3685 "id": 40, 3686 "legend": { 3687 "avg": false, 3688 "current": false, 3689 "max": false, 3690 "min": false, 3691 "show": true, 3692 "total": false, 3693 "values": false 3694 }, 3695 "lines": true, 3696 "linewidth": 1, 3697 "links": [], 3698 "nullPointMode": "connected", 3699 "percentage": false, 3700 "pointradius": 5, 3701 "points": false, 3702 "renderer": "flot", 3703 "seriesOverrides": [], 3704 "spaceLength": 10, 3705 "stack": false, 3706 "steppedLine": false, 3707 "targets": [ 3708 { 3709 "expr": "sum(cluster_shards_available{instance=~\"$instance\"})", 3710 "format": "time_series", 3711 "intervalFactor": 1, 3712 "key": 0.8040141995856238, 3713 "legendFormat": "available", 3714 "refId": "A" 3715 }, 3716 { 3717 "expr": "sum(cluster_shards_initializing{instance=~\"$instance\"})", 3718 "format": "time_series", 3719 "intervalFactor": 1, 3720 "key": 0.8040141995856238, 3721 "legendFormat": "initializing", 3722 "refId": "B" 3723 }, 3724 { 3725 "expr": "sum(cluster_shards_leaving{instance=~\"$instance\"})", 3726 "format": "time_series", 3727 "intervalFactor": 1, 3728 "key": 0.8040141995856238, 3729 "legendFormat": "leaving", 3730 "refId": "C" 3731 } 3732 ], 3733 "thresholds": [], 3734 "timeFrom": null, 3735 "timeShift": null, 3736 "title": "Shard State", 3737 "tooltip": { 3738 "shared": false, 3739 "sort": 0, 3740 "value_type": "cumulative" 3741 }, 3742 "type": "graph", 3743 "xaxis": { 3744 "buckets": null, 3745 "mode": "time", 3746 "name": null, 3747 "show": true, 3748 "values": [] 3749 }, 3750 "yaxes": [ 3751 { 3752 "format": "short", 3753 "logBase": 1, 3754 "max": null, 3755 "min": null, 3756 "show": true 3757 }, 3758 { 3759 "format": "short", 3760 "logBase": 1, 3761 "max": null, 3762 "min": null, 3763 "show": true 3764 } 3765 ], 3766 "yaxis": { 3767 "align": false, 3768 "alignLevel": null 3769 } 3770 }, 3771 { 3772 "aliasColors": {}, 3773 "bars": false, 3774 "dashLength": 10, 3775 "dashes": false, 3776 "datasource": "$datasource", 3777 "fill": 1, 3778 "gridPos": { 3779 "h": 5, 3780 "w": 12, 3781 "x": 0, 3782 "y": 64 3783 }, 3784 "id": 62, 3785 "legend": { 3786 "avg": false, 3787 "current": false, 3788 "max": false, 3789 "min": false, 3790 "show": false, 3791 "total": false, 3792 "values": false 3793 }, 3794 "lines": true, 3795 "linewidth": 1, 3796 "links": [], 3797 "nullPointMode": "null", 3798 "percentage": false, 3799 "pointradius": 5, 3800 "points": false, 3801 "renderer": "flot", 3802 "seriesOverrides": [], 3803 "spaceLength": 10, 3804 "stack": false, 3805 "steppedLine": false, 3806 "targets": [ 3807 { 3808 "expr": "wired_list_limit{instance=~\"$instance\"}", 3809 "format": "time_series", 3810 "hide": false, 3811 "intervalFactor": 1, 3812 "refId": "A" 3813 }, 3814 { 3815 "expr": "rate(wired_list_evicted{instance=~\"$instance\"}[$step])", 3816 "format": "time_series", 3817 "intervalFactor": 1, 3818 "refId": "B" 3819 }, 3820 { 3821 "expr": "wired_list_unwireable{instance=~\"$instance\"}", 3822 "format": "time_series", 3823 "intervalFactor": 1, 3824 "refId": "C" 3825 } 3826 ], 3827 "thresholds": [], 3828 "timeFrom": null, 3829 "timeShift": null, 3830 "title": "Wired List Capacity / Size / Evictions", 3831 "tooltip": { 3832 "shared": true, 3833 "sort": 0, 3834 "value_type": "individual" 3835 }, 3836 "type": "graph", 3837 "xaxis": { 3838 "buckets": null, 3839 "mode": "time", 3840 "name": null, 3841 "show": true, 3842 "values": [] 3843 }, 3844 "yaxes": [ 3845 { 3846 "format": "short", 3847 "label": null, 3848 "logBase": 1, 3849 "max": null, 3850 "min": null, 3851 "show": true 3852 }, 3853 { 3854 "format": "short", 3855 "label": null, 3856 "logBase": 1, 3857 "max": null, 3858 "min": null, 3859 "show": true 3860 } 3861 ], 3862 "yaxis": { 3863 "align": false, 3864 "alignLevel": null 3865 } 3866 }, 3867 { 3868 "aliasColors": {}, 3869 "bars": false, 3870 "dashLength": 10, 3871 "dashes": false, 3872 "datasource": "$datasource", 3873 "fill": 1, 3874 "gridPos": { 3875 "h": 5, 3876 "w": 10, 3877 "x": 12, 3878 "y": 64 3879 }, 3880 "id": 63, 3881 "legend": { 3882 "avg": false, 3883 "current": false, 3884 "max": false, 3885 "min": false, 3886 "show": false, 3887 "total": false, 3888 "values": false 3889 }, 3890 "lines": true, 3891 "linewidth": 1, 3892 "links": [], 3893 "nullPointMode": "null", 3894 "percentage": false, 3895 "pointradius": 5, 3896 "points": false, 3897 "renderer": "flot", 3898 "seriesOverrides": [], 3899 "spaceLength": 10, 3900 "stack": false, 3901 "steppedLine": false, 3902 "targets": [ 3903 { 3904 "expr": "wired_list_evicted_after_duration{instance=~\"$instance\",quantile=\"0.99\"}", 3905 "format": "time_series", 3906 "intervalFactor": 1, 3907 "refId": "A" 3908 } 3909 ], 3910 "thresholds": [], 3911 "timeFrom": null, 3912 "timeShift": null, 3913 "title": "Time spent in Wired List - P99", 3914 "tooltip": { 3915 "shared": true, 3916 "sort": 0, 3917 "value_type": "individual" 3918 }, 3919 "type": "graph", 3920 "xaxis": { 3921 "buckets": null, 3922 "mode": "time", 3923 "name": null, 3924 "show": true, 3925 "values": [] 3926 }, 3927 "yaxes": [ 3928 { 3929 "format": "ms", 3930 "label": null, 3931 "logBase": 1, 3932 "max": null, 3933 "min": null, 3934 "show": true 3935 }, 3936 { 3937 "format": "short", 3938 "label": null, 3939 "logBase": 1, 3940 "max": null, 3941 "min": null, 3942 "show": true 3943 } 3944 ], 3945 "yaxis": { 3946 "align": false, 3947 "alignLevel": null 3948 } 3949 } 3950 ], 3951 "repeat": null, 3952 "title": "Wired & Unwired Blocks", 3953 "type": "row" 3954 }, 3955 { 3956 "collapsed": true, 3957 "gridPos": { 3958 "h": 1, 3959 "w": 24, 3960 "x": 0, 3961 "y": 38 3962 }, 3963 "id": 97, 3964 "panels": [ 3965 { 3966 "aliasColors": {}, 3967 "bars": false, 3968 "dashLength": 10, 3969 "dashes": false, 3970 "datasource": "$datasource", 3971 "editable": true, 3972 "error": false, 3973 "fill": 0, 3974 "grid": {}, 3975 "gridPos": { 3976 "h": 7, 3977 "w": 12, 3978 "x": 0, 3979 "y": 39 3980 }, 3981 "id": 15, 3982 "legend": { 3983 "avg": false, 3984 "current": false, 3985 "max": false, 3986 "min": false, 3987 "show": false, 3988 "total": false, 3989 "values": false 3990 }, 3991 "lines": true, 3992 "linewidth": 1, 3993 "links": [], 3994 "nullPointMode": "connected", 3995 "percentage": false, 3996 "pointradius": 5, 3997 "points": false, 3998 "renderer": "flot", 3999 "seriesOverrides": [], 4000 "spaceLength": 10, 4001 "stack": false, 4002 "steppedLine": false, 4003 "targets": [ 4004 { 4005 "key": 0.7090064740553321, 4006 "refId": "A", 4007 "textEditor": true 4008 } 4009 ], 4010 "thresholds": [], 4011 "timeFrom": null, 4012 "timeShift": null, 4013 "title": "Network In", 4014 "tooltip": { 4015 "shared": false, 4016 "sort": 0, 4017 "value_type": "cumulative" 4018 }, 4019 "type": "graph", 4020 "xaxis": { 4021 "buckets": null, 4022 "mode": "time", 4023 "name": null, 4024 "show": true, 4025 "values": [] 4026 }, 4027 "yaxes": [ 4028 { 4029 "format": "bps", 4030 "logBase": 1, 4031 "max": null, 4032 "min": null, 4033 "show": true 4034 }, 4035 { 4036 "format": "short", 4037 "logBase": 1, 4038 "max": null, 4039 "min": null, 4040 "show": true 4041 } 4042 ], 4043 "yaxis": { 4044 "align": false, 4045 "alignLevel": null 4046 } 4047 }, 4048 { 4049 "aliasColors": {}, 4050 "bars": false, 4051 "dashLength": 10, 4052 "dashes": false, 4053 "datasource": "$datasource", 4054 "editable": true, 4055 "error": false, 4056 "fill": 0, 4057 "grid": {}, 4058 "gridPos": { 4059 "h": 7, 4060 "w": 12, 4061 "x": 12, 4062 "y": 39 4063 }, 4064 "id": 18, 4065 "legend": { 4066 "avg": false, 4067 "current": false, 4068 "max": false, 4069 "min": false, 4070 "show": false, 4071 "total": false, 4072 "values": false 4073 }, 4074 "lines": true, 4075 "linewidth": 1, 4076 "links": [], 4077 "nullPointMode": "connected", 4078 "percentage": false, 4079 "pointradius": 5, 4080 "points": false, 4081 "renderer": "flot", 4082 "seriesOverrides": [], 4083 "spaceLength": 10, 4084 "stack": false, 4085 "steppedLine": false, 4086 "targets": [ 4087 { 4088 "key": 0.7090064740553321, 4089 "refId": "A", 4090 "textEditor": true 4091 } 4092 ], 4093 "thresholds": [], 4094 "timeFrom": null, 4095 "timeShift": null, 4096 "title": "Network Out", 4097 "tooltip": { 4098 "shared": false, 4099 "sort": 0, 4100 "value_type": "cumulative" 4101 }, 4102 "type": "graph", 4103 "xaxis": { 4104 "buckets": null, 4105 "mode": "time", 4106 "name": null, 4107 "show": true, 4108 "values": [] 4109 }, 4110 "yaxes": [ 4111 { 4112 "format": "bps", 4113 "logBase": 1, 4114 "max": null, 4115 "min": null, 4116 "show": true 4117 }, 4118 { 4119 "format": "short", 4120 "logBase": 1, 4121 "max": null, 4122 "min": null, 4123 "show": true 4124 } 4125 ], 4126 "yaxis": { 4127 "align": false, 4128 "alignLevel": null 4129 } 4130 } 4131 ], 4132 "repeat": null, 4133 "title": "Network In/Out - Not Implemented", 4134 "type": "row" 4135 }, 4136 { 4137 "collapsed": true, 4138 "gridPos": { 4139 "h": 1, 4140 "w": 24, 4141 "x": 0, 4142 "y": 39 4143 }, 4144 "id": 98, 4145 "panels": [ 4146 { 4147 "aliasColors": {}, 4148 "bars": false, 4149 "dashLength": 10, 4150 "dashes": false, 4151 "datasource": "$datasource", 4152 "editable": true, 4153 "error": false, 4154 "fill": 0, 4155 "grid": {}, 4156 "gridPos": { 4157 "h": 7, 4158 "w": 12, 4159 "x": 0, 4160 "y": 61 4161 }, 4162 "id": 48, 4163 "legend": { 4164 "avg": false, 4165 "current": false, 4166 "max": false, 4167 "min": false, 4168 "show": true, 4169 "total": false, 4170 "values": false 4171 }, 4172 "lines": true, 4173 "linewidth": 1, 4174 "links": [], 4175 "nullPointMode": "connected", 4176 "percentage": false, 4177 "pointradius": 5, 4178 "points": false, 4179 "renderer": "flot", 4180 "seriesOverrides": [], 4181 "spaceLength": 10, 4182 "stack": false, 4183 "steppedLine": false, 4184 "targets": [ 4185 { 4186 "expr": "sum(rate(database_write_tagged_success{instance=~\"$instance\"}[$step])) by (namespace)", 4187 "format": "time_series", 4188 "hide": false, 4189 "intervalFactor": 1, 4190 "key": 0.05448509070742946, 4191 "legendFormat": "{{namespace}}_tagged_success", 4192 "refId": "C", 4193 "textEditor": true 4194 }, 4195 { 4196 "expr": "sum(rate(database_write_tagged_errors{instance=~\"$instance\"}[$step])) by (namespace)", 4197 "format": "time_series", 4198 "intervalFactor": 1, 4199 "key": 0.8767351594065642, 4200 "legendFormat": "{{namespace}}_tagged_errors", 4201 "refId": "A" 4202 }, 4203 { 4204 "expr": "sum(rate(database_write_success{instance=~\"$instance\"}[$step])) by (namespace)", 4205 "format": "time_series", 4206 "intervalFactor": 1, 4207 "key": 0.8767351594065642, 4208 "legendFormat": "{{namespace}}_success", 4209 "refId": "B" 4210 }, 4211 { 4212 "expr": "sum(rate(database_write_errors{instance=~\"$instance\"}[$step])) by (namespace)", 4213 "format": "time_series", 4214 "intervalFactor": 1, 4215 "key": 0.8767351594065642, 4216 "legendFormat": "{{namespace}}_errors", 4217 "refId": "D" 4218 } 4219 ], 4220 "thresholds": [], 4221 "timeFrom": null, 4222 "timeShift": null, 4223 "title": "Writes / Second", 4224 "tooltip": { 4225 "shared": false, 4226 "sort": 0, 4227 "value_type": "cumulative" 4228 }, 4229 "type": "graph", 4230 "xaxis": { 4231 "buckets": null, 4232 "mode": "time", 4233 "name": null, 4234 "show": true, 4235 "values": [] 4236 }, 4237 "yaxes": [ 4238 { 4239 "format": "short", 4240 "logBase": 1, 4241 "max": null, 4242 "min": null, 4243 "show": true 4244 }, 4245 { 4246 "format": "percentunit", 4247 "label": "", 4248 "logBase": 1, 4249 "max": null, 4250 "min": null, 4251 "show": true 4252 } 4253 ], 4254 "yaxis": { 4255 "align": false, 4256 "alignLevel": null 4257 } 4258 }, 4259 { 4260 "aliasColors": {}, 4261 "bars": false, 4262 "dashLength": 10, 4263 "dashes": false, 4264 "datasource": "$datasource", 4265 "editable": true, 4266 "error": false, 4267 "fill": 0, 4268 "grid": {}, 4269 "gridPos": { 4270 "h": 7, 4271 "w": 12, 4272 "x": 12, 4273 "y": 61 4274 }, 4275 "id": 109, 4276 "legend": { 4277 "avg": false, 4278 "current": false, 4279 "max": false, 4280 "min": false, 4281 "show": true, 4282 "total": false, 4283 "values": false 4284 }, 4285 "lines": true, 4286 "linewidth": 1, 4287 "links": [], 4288 "nullPointMode": "connected", 4289 "percentage": false, 4290 "pointradius": 5, 4291 "points": false, 4292 "renderer": "flot", 4293 "seriesOverrides": [], 4294 "spaceLength": 10, 4295 "stack": false, 4296 "steppedLine": false, 4297 "targets": [ 4298 { 4299 "expr": "sum(rate(database_read_tagged_success{instance=~\"$instance\"}[$step])) by (namespace)", 4300 "format": "time_series", 4301 "hide": false, 4302 "intervalFactor": 1, 4303 "key": 0.05448509070742946, 4304 "legendFormat": "{{namespace}}_tagged_success", 4305 "refId": "C", 4306 "textEditor": true 4307 }, 4308 { 4309 "expr": "sum(rate(database_read_tagged_errors{instance=~\"$instance\"}[$step])) by (namespace)", 4310 "format": "time_series", 4311 "intervalFactor": 1, 4312 "key": 0.8767351594065642, 4313 "legendFormat": "{{namespace}}_tagged_errors", 4314 "refId": "A" 4315 }, 4316 { 4317 "expr": "sum(rate(database_read_success{instance=~\"$instance\"}[$step])) by (namespace)", 4318 "format": "time_series", 4319 "intervalFactor": 1, 4320 "key": 0.8767351594065642, 4321 "legendFormat": "{{namespace}}_success", 4322 "refId": "B" 4323 }, 4324 { 4325 "expr": "sum(rate(database_reads_errors{instance=~\"$instance\"}[$step])) by (namespace)", 4326 "format": "time_series", 4327 "intervalFactor": 1, 4328 "key": 0.8767351594065642, 4329 "legendFormat": "{{namespace}}_errors", 4330 "refId": "D" 4331 } 4332 ], 4333 "thresholds": [], 4334 "timeFrom": null, 4335 "timeShift": null, 4336 "title": "Reads / Second", 4337 "tooltip": { 4338 "shared": false, 4339 "sort": 0, 4340 "value_type": "cumulative" 4341 }, 4342 "type": "graph", 4343 "xaxis": { 4344 "buckets": null, 4345 "mode": "time", 4346 "name": null, 4347 "show": true, 4348 "values": [] 4349 }, 4350 "yaxes": [ 4351 { 4352 "format": "short", 4353 "logBase": 1, 4354 "max": null, 4355 "min": null, 4356 "show": true 4357 }, 4358 { 4359 "format": "percentunit", 4360 "label": "", 4361 "logBase": 1, 4362 "max": null, 4363 "min": null, 4364 "show": true 4365 } 4366 ], 4367 "yaxis": { 4368 "align": false, 4369 "alignLevel": null 4370 } 4371 }, 4372 { 4373 "aliasColors": {}, 4374 "bars": false, 4375 "dashLength": 10, 4376 "dashes": false, 4377 "datasource": "$datasource", 4378 "editable": true, 4379 "error": false, 4380 "fill": 0, 4381 "grid": {}, 4382 "gridPos": { 4383 "h": 7, 4384 "w": 12, 4385 "x": 12, 4386 "y": 68 4387 }, 4388 "id": 77, 4389 "legend": { 4390 "avg": false, 4391 "current": false, 4392 "max": false, 4393 "min": false, 4394 "show": true, 4395 "total": false, 4396 "values": false 4397 }, 4398 "lines": true, 4399 "linewidth": 1, 4400 "links": [], 4401 "nullPointMode": "connected", 4402 "percentage": false, 4403 "pointradius": 5, 4404 "points": false, 4405 "renderer": "flot", 4406 "seriesOverrides": [], 4407 "spaceLength": 10, 4408 "stack": false, 4409 "steppedLine": false, 4410 "targets": [ 4411 { 4412 "expr": "sum(rate(database_queryIDs_success{instance=~\"$instance\"}[$step])) by (namespace)", 4413 "format": "time_series", 4414 "hide": false, 4415 "intervalFactor": 1, 4416 "key": 0.05448509070742946, 4417 "legendFormat": "{{namespace}}_query_ids_success", 4418 "refId": "C", 4419 "textEditor": true 4420 }, 4421 { 4422 "expr": "sum(rate(database_queryIDs_errors{instance=~\"$instance\"}[$step])) by (namespace)", 4423 "format": "time_series", 4424 "hide": true, 4425 "intervalFactor": 1, 4426 "key": 0.8767351594065642, 4427 "legendFormat": "{{namespace}}_query_ids_errors", 4428 "refId": "A" 4429 } 4430 ], 4431 "thresholds": [], 4432 "timeFrom": null, 4433 "timeShift": null, 4434 "title": "QueryIDs / Second", 4435 "tooltip": { 4436 "shared": false, 4437 "sort": 0, 4438 "value_type": "cumulative" 4439 }, 4440 "type": "graph", 4441 "xaxis": { 4442 "buckets": null, 4443 "mode": "time", 4444 "name": null, 4445 "show": true, 4446 "values": [] 4447 }, 4448 "yaxes": [ 4449 { 4450 "format": "short", 4451 "logBase": 1, 4452 "max": null, 4453 "min": null, 4454 "show": true 4455 }, 4456 { 4457 "format": "percentunit", 4458 "label": "", 4459 "logBase": 1, 4460 "max": null, 4461 "min": null, 4462 "show": true 4463 } 4464 ], 4465 "yaxis": { 4466 "align": false, 4467 "alignLevel": null 4468 } 4469 }, 4470 { 4471 "aliasColors": {}, 4472 "bars": false, 4473 "dashLength": 10, 4474 "dashes": false, 4475 "datasource": "$datasource", 4476 "editable": true, 4477 "error": false, 4478 "fill": 0, 4479 "grid": {}, 4480 "gridPos": { 4481 "h": 7, 4482 "w": 6, 4483 "x": 12, 4484 "y": 75 4485 }, 4486 "id": 64, 4487 "legend": { 4488 "avg": false, 4489 "current": false, 4490 "max": false, 4491 "min": false, 4492 "show": true, 4493 "total": false, 4494 "values": false 4495 }, 4496 "lines": true, 4497 "linewidth": 1, 4498 "links": [], 4499 "nullPointMode": "connected", 4500 "percentage": false, 4501 "pointradius": 5, 4502 "points": false, 4503 "renderer": "flot", 4504 "seriesOverrides": [], 4505 "spaceLength": 10, 4506 "stack": false, 4507 "steppedLine": false, 4508 "targets": [ 4509 { 4510 "expr": "sum(increase(database_flush_success{instance=~\"$instance\"}[$step])) by (namespace)", 4511 "format": "time_series", 4512 "hide": false, 4513 "intervalFactor": 1, 4514 "key": 0.44937754638999294, 4515 "legendFormat": "{{namespace}}_flush_success", 4516 "refId": "C", 4517 "textEditor": true 4518 }, 4519 { 4520 "expr": "sum(increase(database_flush_errors{instance=~\"$instance\"}[$step])) by (namespace)", 4521 "format": "time_series", 4522 "hide": false, 4523 "intervalFactor": 1, 4524 "key": 0.44937754638999294, 4525 "legendFormat": "{{namespace}}_flush_errors", 4526 "refId": "A", 4527 "textEditor": true 4528 } 4529 ], 4530 "thresholds": [], 4531 "timeFrom": null, 4532 "timeShift": null, 4533 "title": "Flush", 4534 "tooltip": { 4535 "shared": false, 4536 "sort": 0, 4537 "value_type": "cumulative" 4538 }, 4539 "type": "graph", 4540 "xaxis": { 4541 "buckets": null, 4542 "mode": "time", 4543 "name": null, 4544 "show": true, 4545 "values": [] 4546 }, 4547 "yaxes": [ 4548 { 4549 "format": "short", 4550 "logBase": 1, 4551 "max": null, 4552 "min": null, 4553 "show": true 4554 }, 4555 { 4556 "format": "percentunit", 4557 "label": "", 4558 "logBase": 1, 4559 "max": null, 4560 "min": null, 4561 "show": true 4562 } 4563 ], 4564 "yaxis": { 4565 "align": false, 4566 "alignLevel": null 4567 } 4568 }, 4569 { 4570 "aliasColors": {}, 4571 "bars": false, 4572 "dashLength": 10, 4573 "dashes": false, 4574 "datasource": "$datasource", 4575 "editable": true, 4576 "error": false, 4577 "fill": 0, 4578 "grid": {}, 4579 "gridPos": { 4580 "h": 7, 4581 "w": 6, 4582 "x": 18, 4583 "y": 75 4584 }, 4585 "id": 78, 4586 "legend": { 4587 "avg": false, 4588 "current": false, 4589 "max": false, 4590 "min": false, 4591 "show": true, 4592 "total": false, 4593 "values": false 4594 }, 4595 "lines": true, 4596 "linewidth": 1, 4597 "links": [], 4598 "nullPointMode": "connected", 4599 "percentage": false, 4600 "pointradius": 5, 4601 "points": false, 4602 "renderer": "flot", 4603 "seriesOverrides": [], 4604 "spaceLength": 10, 4605 "stack": false, 4606 "steppedLine": false, 4607 "targets": [ 4608 { 4609 "expr": "sum(increase(database_index_flush_success{instance=~\"$instance\"}[$step])) by (namespace)", 4610 "format": "time_series", 4611 "hide": false, 4612 "intervalFactor": 1, 4613 "key": 0.44937754638999294, 4614 "legendFormat": "{{namespace}}_index_flush_success", 4615 "refId": "C", 4616 "textEditor": true 4617 }, 4618 { 4619 "expr": "sum(increase(database_index_flush_errors{instance=~\"$instance\"}[$step])) by (namespace)", 4620 "format": "time_series", 4621 "intervalFactor": 1, 4622 "legendFormat": "{{namespace}}_index_flush_errors", 4623 "refId": "A" 4624 } 4625 ], 4626 "thresholds": [], 4627 "timeFrom": null, 4628 "timeShift": null, 4629 "title": "IndexFlush", 4630 "tooltip": { 4631 "shared": false, 4632 "sort": 0, 4633 "value_type": "cumulative" 4634 }, 4635 "type": "graph", 4636 "xaxis": { 4637 "buckets": null, 4638 "mode": "time", 4639 "name": null, 4640 "show": true, 4641 "values": [] 4642 }, 4643 "yaxes": [ 4644 { 4645 "format": "short", 4646 "logBase": 1, 4647 "max": null, 4648 "min": null, 4649 "show": true 4650 }, 4651 { 4652 "format": "percentunit", 4653 "label": "", 4654 "logBase": 1, 4655 "max": null, 4656 "min": null, 4657 "show": true 4658 } 4659 ], 4660 "yaxis": { 4661 "align": false, 4662 "alignLevel": null 4663 } 4664 } 4665 ], 4666 "repeat": null, 4667 "title": "Namespace", 4668 "type": "row" 4669 }, 4670 { 4671 "collapsed": true, 4672 "gridPos": { 4673 "h": 1, 4674 "w": 24, 4675 "x": 0, 4676 "y": 40 4677 }, 4678 "id": 100, 4679 "panels": [ 4680 { 4681 "aliasColors": {}, 4682 "bars": false, 4683 "dashLength": 10, 4684 "dashes": false, 4685 "datasource": "$datasource", 4686 "editable": true, 4687 "error": false, 4688 "fill": 1, 4689 "grid": {}, 4690 "gridPos": { 4691 "h": 7, 4692 "w": 8, 4693 "x": 0, 4694 "y": 62 4695 }, 4696 "id": 23, 4697 "legend": { 4698 "avg": false, 4699 "current": false, 4700 "max": false, 4701 "min": false, 4702 "show": false, 4703 "total": false, 4704 "values": false 4705 }, 4706 "lines": true, 4707 "linewidth": 2, 4708 "links": [], 4709 "nullPointMode": "null", 4710 "percentage": false, 4711 "pointradius": 5, 4712 "points": true, 4713 "renderer": "flot", 4714 "seriesOverrides": [], 4715 "spaceLength": 10, 4716 "stack": false, 4717 "steppedLine": false, 4718 "targets": [ 4719 { 4720 "expr": "m3dbclient_stream_from_peers_fetch_blocks_inprogress{instance=~\"$instance\"}", 4721 "format": "time_series", 4722 "intervalFactor": 1, 4723 "key": 0.26636320136208314, 4724 "legendFormat": "fetchBlocksInProgress-{{instance}}", 4725 "refId": "A" 4726 } 4727 ], 4728 "thresholds": [], 4729 "timeFrom": null, 4730 "timeShift": null, 4731 "title": "Fetch Shard Blocks In Progress", 4732 "tooltip": { 4733 "shared": false, 4734 "sort": 0, 4735 "value_type": "cumulative" 4736 }, 4737 "type": "graph", 4738 "xaxis": { 4739 "buckets": null, 4740 "mode": "time", 4741 "name": null, 4742 "show": true, 4743 "values": [] 4744 }, 4745 "yaxes": [ 4746 { 4747 "format": "short", 4748 "logBase": 1, 4749 "max": null, 4750 "min": null, 4751 "show": true 4752 }, 4753 { 4754 "format": "short", 4755 "logBase": 1, 4756 "max": null, 4757 "min": null, 4758 "show": true 4759 } 4760 ], 4761 "yaxis": { 4762 "align": false, 4763 "alignLevel": null 4764 } 4765 }, 4766 { 4767 "aliasColors": {}, 4768 "bars": false, 4769 "dashLength": 10, 4770 "dashes": false, 4771 "datasource": "$datasource", 4772 "editable": true, 4773 "error": false, 4774 "fill": 1, 4775 "grid": {}, 4776 "gridPos": { 4777 "h": 7, 4778 "w": 8, 4779 "x": 8, 4780 "y": 62 4781 }, 4782 "id": 21, 4783 "legend": { 4784 "avg": false, 4785 "current": false, 4786 "max": false, 4787 "min": false, 4788 "show": false, 4789 "total": false, 4790 "values": false 4791 }, 4792 "lines": true, 4793 "linewidth": 2, 4794 "links": [], 4795 "nullPointMode": "null", 4796 "percentage": false, 4797 "pointradius": 5, 4798 "points": true, 4799 "renderer": "flot", 4800 "seriesOverrides": [], 4801 "spaceLength": 10, 4802 "stack": false, 4803 "steppedLine": false, 4804 "targets": [ 4805 { 4806 "expr": "m3dbclient_stream_from_peers_fetch_metadata_peers_inprogress{instance=~\"$instance\"}", 4807 "format": "time_series", 4808 "intervalFactor": 1, 4809 "key": 0.6565937560035238, 4810 "legendFormat": "fetchBlocksMetadataInProgress-{{instance}}", 4811 "refId": "A" 4812 } 4813 ], 4814 "thresholds": [], 4815 "timeFrom": null, 4816 "timeShift": null, 4817 "title": "Fetch Shard Blocks Metadata In Progress", 4818 "tooltip": { 4819 "shared": false, 4820 "sort": 0, 4821 "value_type": "cumulative" 4822 }, 4823 "type": "graph", 4824 "xaxis": { 4825 "buckets": null, 4826 "mode": "time", 4827 "name": null, 4828 "show": true, 4829 "values": [] 4830 }, 4831 "yaxes": [ 4832 { 4833 "format": "short", 4834 "logBase": 1, 4835 "max": null, 4836 "min": null, 4837 "show": true 4838 }, 4839 { 4840 "format": "short", 4841 "logBase": 1, 4842 "max": null, 4843 "min": null, 4844 "show": true 4845 } 4846 ], 4847 "yaxis": { 4848 "align": false, 4849 "alignLevel": null 4850 } 4851 }, 4852 { 4853 "aliasColors": {}, 4854 "bars": false, 4855 "dashLength": 10, 4856 "dashes": false, 4857 "datasource": "$datasource", 4858 "editable": true, 4859 "error": false, 4860 "fill": 1, 4861 "grid": {}, 4862 "gridPos": { 4863 "h": 7, 4864 "w": 8, 4865 "x": 16, 4866 "y": 62 4867 }, 4868 "id": 22, 4869 "legend": { 4870 "avg": false, 4871 "current": false, 4872 "max": false, 4873 "min": false, 4874 "show": false, 4875 "total": false, 4876 "values": false 4877 }, 4878 "lines": true, 4879 "linewidth": 2, 4880 "links": [], 4881 "nullPointMode": "null", 4882 "percentage": false, 4883 "pointradius": 5, 4884 "points": true, 4885 "renderer": "flot", 4886 "seriesOverrides": [], 4887 "spaceLength": 10, 4888 "stack": false, 4889 "steppedLine": false, 4890 "targets": [ 4891 { 4892 "expr": "m3dbclient_stream_from_peers_fetch_blocks_enqueue_channel_length{instance=~\"$instance\"}", 4893 "format": "time_series", 4894 "intervalFactor": 1, 4895 "key": 0.024380707546677316, 4896 "legendFormat": "fetchBlocksEnqueueChannelLength-{{instance}}", 4897 "refId": "A" 4898 } 4899 ], 4900 "thresholds": [], 4901 "timeFrom": null, 4902 "timeShift": null, 4903 "title": "Fetch Shard Blocks Enqueue Channel Length", 4904 "tooltip": { 4905 "shared": false, 4906 "sort": 0, 4907 "value_type": "cumulative" 4908 }, 4909 "type": "graph", 4910 "xaxis": { 4911 "buckets": null, 4912 "mode": "time", 4913 "name": null, 4914 "show": true, 4915 "values": [] 4916 }, 4917 "yaxes": [ 4918 { 4919 "format": "short", 4920 "logBase": 1, 4921 "max": null, 4922 "min": null, 4923 "show": true 4924 }, 4925 { 4926 "format": "short", 4927 "logBase": 1, 4928 "max": null, 4929 "min": null, 4930 "show": true 4931 } 4932 ], 4933 "yaxis": { 4934 "align": false, 4935 "alignLevel": null 4936 } 4937 }, 4938 { 4939 "aliasColors": {}, 4940 "bars": false, 4941 "dashLength": 10, 4942 "dashes": false, 4943 "datasource": "$datasource", 4944 "editable": true, 4945 "error": false, 4946 "fill": 1, 4947 "grid": {}, 4948 "gridPos": { 4949 "h": 7, 4950 "w": 8, 4951 "x": 0, 4952 "y": 69 4953 }, 4954 "id": 19, 4955 "legend": { 4956 "avg": false, 4957 "current": false, 4958 "max": false, 4959 "min": false, 4960 "show": false, 4961 "total": false, 4962 "values": false 4963 }, 4964 "lines": true, 4965 "linewidth": 2, 4966 "links": [], 4967 "nullPointMode": "null as zero", 4968 "percentage": false, 4969 "pointradius": 5, 4970 "points": false, 4971 "renderer": "flot", 4972 "seriesOverrides": [], 4973 "spaceLength": 10, 4974 "stack": false, 4975 "steppedLine": false, 4976 "targets": [ 4977 { 4978 "expr": "sum(rate(m3dbclient_stream_from_peers_fetch_metadata_peers_batch_call{instance=~\"$instance\"}[$step])) by (instance)", 4979 "format": "time_series", 4980 "intervalFactor": 1, 4981 "key": 0.8052472520531426, 4982 "legendFormat": "fetchBlocksMetadataBatchCalls-{{instance}}", 4983 "refId": "A" 4984 } 4985 ], 4986 "thresholds": [], 4987 "timeFrom": null, 4988 "timeShift": null, 4989 "title": "Fetch Shard Blocks Metadata Batch Calls / Sec", 4990 "tooltip": { 4991 "shared": false, 4992 "sort": 0, 4993 "value_type": "cumulative" 4994 }, 4995 "type": "graph", 4996 "xaxis": { 4997 "buckets": null, 4998 "mode": "time", 4999 "name": null, 5000 "show": true, 5001 "values": [] 5002 }, 5003 "yaxes": [ 5004 { 5005 "format": "short", 5006 "logBase": 1, 5007 "max": null, 5008 "min": null, 5009 "show": true 5010 }, 5011 { 5012 "format": "short", 5013 "logBase": 1, 5014 "max": null, 5015 "min": null, 5016 "show": true 5017 } 5018 ], 5019 "yaxis": { 5020 "align": false, 5021 "alignLevel": null 5022 } 5023 }, 5024 { 5025 "aliasColors": {}, 5026 "bars": false, 5027 "dashLength": 10, 5028 "dashes": false, 5029 "datasource": "$datasource", 5030 "editable": true, 5031 "error": false, 5032 "fill": 1, 5033 "grid": {}, 5034 "gridPos": { 5035 "h": 7, 5036 "w": 8, 5037 "x": 8, 5038 "y": 69 5039 }, 5040 "id": 20, 5041 "legend": { 5042 "avg": false, 5043 "current": false, 5044 "max": false, 5045 "min": false, 5046 "show": false, 5047 "total": false, 5048 "values": false 5049 }, 5050 "lines": true, 5051 "linewidth": 2, 5052 "links": [], 5053 "nullPointMode": "null as zero", 5054 "percentage": false, 5055 "pointradius": 5, 5056 "points": false, 5057 "renderer": "flot", 5058 "seriesOverrides": [], 5059 "spaceLength": 10, 5060 "stack": false, 5061 "steppedLine": false, 5062 "targets": [ 5063 { 5064 "expr": "sum(rate(m3dbclient_stream_from_peers_fetch_metadata_peers_received{instance=~\"$instance\"}[$step])) by (host)", 5065 "format": "time_series", 5066 "intervalFactor": 1, 5067 "key": 0.359145903986988, 5068 "legendFormat": "fetchBlocksMetadataReceived-{{instance}}", 5069 "refId": "A" 5070 } 5071 ], 5072 "thresholds": [], 5073 "timeFrom": null, 5074 "timeShift": null, 5075 "title": "Fetch Shard Blocks Metadata Received / Sec", 5076 "tooltip": { 5077 "shared": false, 5078 "sort": 0, 5079 "value_type": "cumulative" 5080 }, 5081 "type": "graph", 5082 "xaxis": { 5083 "buckets": null, 5084 "mode": "time", 5085 "name": null, 5086 "show": true, 5087 "values": [] 5088 }, 5089 "yaxes": [ 5090 { 5091 "format": "short", 5092 "logBase": 1, 5093 "max": null, 5094 "min": null, 5095 "show": true 5096 }, 5097 { 5098 "format": "short", 5099 "logBase": 1, 5100 "max": null, 5101 "min": null, 5102 "show": true 5103 } 5104 ], 5105 "yaxis": { 5106 "align": false, 5107 "alignLevel": null 5108 } 5109 }, 5110 { 5111 "aliasColors": {}, 5112 "bars": false, 5113 "dashLength": 10, 5114 "dashes": false, 5115 "datasource": "$datasource", 5116 "editable": true, 5117 "error": false, 5118 "fill": 1, 5119 "grid": {}, 5120 "gridPos": { 5121 "h": 7, 5122 "w": 8, 5123 "x": 16, 5124 "y": 69 5125 }, 5126 "id": 66, 5127 "legend": { 5128 "avg": false, 5129 "current": false, 5130 "max": false, 5131 "min": false, 5132 "show": false, 5133 "total": false, 5134 "values": false 5135 }, 5136 "lines": true, 5137 "linewidth": 2, 5138 "links": [], 5139 "nullPointMode": "null as zero", 5140 "percentage": false, 5141 "pointradius": 5, 5142 "points": false, 5143 "renderer": "flot", 5144 "seriesOverrides": [], 5145 "spaceLength": 10, 5146 "stack": false, 5147 "steppedLine": false, 5148 "targets": [ 5149 { 5150 "expr": "sum(rate(m3dbclient_stream_from_peers_fetch_metadata_peers_peer_retry{instance=~\"$instance\"}[$step])) by (instance)", 5151 "format": "time_series", 5152 "intervalFactor": 1, 5153 "key": 0.359145903986988, 5154 "legendFormat": "fetchBlocksMetadataPaginationRetry-{{instance}}", 5155 "refId": "A" 5156 } 5157 ], 5158 "thresholds": [], 5159 "timeFrom": null, 5160 "timeShift": null, 5161 "title": "Fetch Shard Blocks Metadata Pagination Retry / Sec", 5162 "tooltip": { 5163 "shared": false, 5164 "sort": 0, 5165 "value_type": "cumulative" 5166 }, 5167 "type": "graph", 5168 "xaxis": { 5169 "buckets": null, 5170 "mode": "time", 5171 "name": null, 5172 "show": true, 5173 "values": [] 5174 }, 5175 "yaxes": [ 5176 { 5177 "format": "short", 5178 "logBase": 1, 5179 "max": null, 5180 "min": null, 5181 "show": true 5182 }, 5183 { 5184 "format": "short", 5185 "logBase": 1, 5186 "max": null, 5187 "min": null, 5188 "show": true 5189 } 5190 ], 5191 "yaxis": { 5192 "align": false, 5193 "alignLevel": null 5194 } 5195 } 5196 ], 5197 "repeat": null, 5198 "title": "Peers Bootstrapping", 5199 "type": "row" 5200 }, 5201 { 5202 "collapsed": true, 5203 "gridPos": { 5204 "h": 1, 5205 "w": 24, 5206 "x": 0, 5207 "y": 41 5208 }, 5209 "id": 101, 5210 "panels": [ 5211 { 5212 "aliasColors": {}, 5213 "bars": false, 5214 "dashLength": 10, 5215 "dashes": false, 5216 "datasource": "$datasource", 5217 "editable": true, 5218 "error": false, 5219 "fill": 0, 5220 "grid": {}, 5221 "gridPos": { 5222 "h": 7, 5223 "w": 8, 5224 "x": 0, 5225 "y": 42 5226 }, 5227 "id": 43, 5228 "legend": { 5229 "avg": false, 5230 "current": false, 5231 "max": false, 5232 "min": false, 5233 "show": false, 5234 "total": false, 5235 "values": false 5236 }, 5237 "lines": true, 5238 "linewidth": 1, 5239 "links": [], 5240 "nullPointMode": "connected", 5241 "percentage": false, 5242 "pointradius": 5, 5243 "points": false, 5244 "renderer": "flot", 5245 "seriesOverrides": [], 5246 "spaceLength": 10, 5247 "stack": false, 5248 "steppedLine": false, 5249 "targets": [ 5250 { 5251 "expr": "rate(service_overload_rejected{instance=~\"$instance\"}[$step])", 5252 "format": "time_series", 5253 "intervalFactor": 1, 5254 "key": 0.05455062296227564, 5255 "refId": "A" 5256 } 5257 ], 5258 "thresholds": [], 5259 "timeFrom": null, 5260 "timeShift": null, 5261 "title": "Overloaded", 5262 "tooltip": { 5263 "shared": false, 5264 "sort": 0, 5265 "value_type": "cumulative" 5266 }, 5267 "type": "graph", 5268 "xaxis": { 5269 "buckets": null, 5270 "mode": "time", 5271 "name": null, 5272 "show": true, 5273 "values": [] 5274 }, 5275 "yaxes": [ 5276 { 5277 "format": "short", 5278 "logBase": 1, 5279 "max": null, 5280 "min": null, 5281 "show": true 5282 }, 5283 { 5284 "format": "short", 5285 "logBase": 1, 5286 "max": null, 5287 "min": null, 5288 "show": true 5289 } 5290 ], 5291 "yaxis": { 5292 "align": false, 5293 "alignLevel": null 5294 } 5295 }, 5296 { 5297 "aliasColors": {}, 5298 "bars": false, 5299 "dashLength": 10, 5300 "dashes": false, 5301 "datasource": "$datasource", 5302 "editable": true, 5303 "error": false, 5304 "fill": 0, 5305 "grid": {}, 5306 "gridPos": { 5307 "h": 7, 5308 "w": 16, 5309 "x": 8, 5310 "y": 42 5311 }, 5312 "id": 44, 5313 "legend": { 5314 "avg": false, 5315 "current": false, 5316 "max": false, 5317 "min": false, 5318 "show": false, 5319 "total": false, 5320 "values": false 5321 }, 5322 "lines": true, 5323 "linewidth": 1, 5324 "links": [], 5325 "nullPointMode": "connected", 5326 "percentage": false, 5327 "pointradius": 5, 5328 "points": true, 5329 "renderer": "flot", 5330 "seriesOverrides": [], 5331 "spaceLength": 10, 5332 "stack": false, 5333 "steppedLine": false, 5334 "targets": [ 5335 { 5336 "expr": "database_fs_persist_write_duration_ms{instance=~\"$instance\"}", 5337 "format": "time_series", 5338 "intervalFactor": 1, 5339 "key": 0.8368215616799846, 5340 "refId": "A" 5341 }, 5342 { 5343 "expr": "database_fs_persist_throttle_duration_ms{instance=~\"$instance\"}", 5344 "format": "time_series", 5345 "intervalFactor": 1, 5346 "key": 0.2814048282536148, 5347 "refId": "A" 5348 } 5349 ], 5350 "thresholds": [], 5351 "timeFrom": null, 5352 "timeShift": null, 5353 "title": "Persistence", 5354 "tooltip": { 5355 "shared": false, 5356 "sort": 0, 5357 "value_type": "cumulative" 5358 }, 5359 "type": "graph", 5360 "xaxis": { 5361 "buckets": null, 5362 "mode": "time", 5363 "name": null, 5364 "show": true, 5365 "values": [] 5366 }, 5367 "yaxes": [ 5368 { 5369 "format": "s", 5370 "logBase": 1, 5371 "max": null, 5372 "min": null, 5373 "show": true 5374 }, 5375 { 5376 "format": "short", 5377 "logBase": 1, 5378 "max": null, 5379 "min": null, 5380 "show": true 5381 } 5382 ], 5383 "yaxis": { 5384 "align": false, 5385 "alignLevel": null 5386 } 5387 } 5388 ], 5389 "repeat": null, 5390 "title": "Overload/Persistence", 5391 "type": "row" 5392 }, 5393 { 5394 "collapsed": true, 5395 "gridPos": { 5396 "h": 1, 5397 "w": 24, 5398 "x": 0, 5399 "y": 42 5400 }, 5401 "id": 102, 5402 "panels": [ 5403 { 5404 "aliasColors": {}, 5405 "bars": false, 5406 "dashLength": 10, 5407 "dashes": false, 5408 "datasource": "$datasource", 5409 "editable": true, 5410 "error": false, 5411 "fill": 1, 5412 "grid": {}, 5413 "gridPos": { 5414 "h": 7, 5415 "w": 6, 5416 "x": 0, 5417 "y": 78 5418 }, 5419 "id": 31, 5420 "legend": { 5421 "avg": false, 5422 "current": false, 5423 "max": false, 5424 "min": false, 5425 "show": false, 5426 "total": false, 5427 "values": false 5428 }, 5429 "lines": true, 5430 "linewidth": 2, 5431 "links": [], 5432 "nullPointMode": "null", 5433 "percentage": false, 5434 "pointradius": 5, 5435 "points": false, 5436 "renderer": "flot", 5437 "seriesOverrides": [], 5438 "spaceLength": 10, 5439 "stack": false, 5440 "steppedLine": false, 5441 "targets": [ 5442 { 5443 "expr": "sum(rate(m3dbclient_stream_from_peers_fetch_block_success{instance=~\"$instance\"}[$step])) by (instance)", 5444 "format": "time_series", 5445 "intervalFactor": 1, 5446 "key": 0.4195302108331671, 5447 "legendFormat": "fetchBlockSuccess-{{instance}}", 5448 "refId": "A" 5449 } 5450 ], 5451 "thresholds": [], 5452 "timeFrom": null, 5453 "timeShift": null, 5454 "title": "Fetch Block Success/Second", 5455 "tooltip": { 5456 "shared": false, 5457 "sort": 0, 5458 "value_type": "cumulative" 5459 }, 5460 "type": "graph", 5461 "xaxis": { 5462 "buckets": null, 5463 "mode": "time", 5464 "name": null, 5465 "show": true, 5466 "values": [] 5467 }, 5468 "yaxes": [ 5469 { 5470 "format": "short", 5471 "logBase": 1, 5472 "max": null, 5473 "min": null, 5474 "show": true 5475 }, 5476 { 5477 "format": "short", 5478 "logBase": 1, 5479 "max": null, 5480 "min": null, 5481 "show": true 5482 } 5483 ], 5484 "yaxis": { 5485 "align": false, 5486 "alignLevel": null 5487 } 5488 }, 5489 { 5490 "aliasColors": {}, 5491 "bars": false, 5492 "dashLength": 10, 5493 "dashes": false, 5494 "datasource": "$datasource", 5495 "editable": true, 5496 "error": false, 5497 "fill": 1, 5498 "grid": {}, 5499 "gridPos": { 5500 "h": 7, 5501 "w": 6, 5502 "x": 6, 5503 "y": 78 5504 }, 5505 "id": 32, 5506 "legend": { 5507 "avg": false, 5508 "current": false, 5509 "max": false, 5510 "min": false, 5511 "show": false, 5512 "total": false, 5513 "values": false 5514 }, 5515 "lines": true, 5516 "linewidth": 2, 5517 "links": [], 5518 "nullPointMode": "null", 5519 "percentage": false, 5520 "pointradius": 5, 5521 "points": false, 5522 "renderer": "flot", 5523 "seriesOverrides": [], 5524 "spaceLength": 10, 5525 "stack": false, 5526 "steppedLine": false, 5527 "targets": [ 5528 { 5529 "expr": "sum(rate(m3dbclient_stream_from_peers_fetch_block_error{instance=~\"$instance\"}[$step])) by (instance)", 5530 "format": "time_series", 5531 "intervalFactor": 1, 5532 "key": 0.7411861401478703, 5533 "legendFormat": "fetchBlockError-{{instance}}", 5534 "refId": "A" 5535 } 5536 ], 5537 "thresholds": [], 5538 "timeFrom": null, 5539 "timeShift": null, 5540 "title": "Fetch Block Error/Second", 5541 "tooltip": { 5542 "shared": false, 5543 "sort": 0, 5544 "value_type": "cumulative" 5545 }, 5546 "type": "graph", 5547 "xaxis": { 5548 "buckets": null, 5549 "mode": "time", 5550 "name": null, 5551 "show": true, 5552 "values": [] 5553 }, 5554 "yaxes": [ 5555 { 5556 "format": "short", 5557 "logBase": 1, 5558 "max": null, 5559 "min": null, 5560 "show": true 5561 }, 5562 { 5563 "format": "short", 5564 "logBase": 1, 5565 "max": null, 5566 "min": null, 5567 "show": true 5568 } 5569 ], 5570 "yaxis": { 5571 "align": false, 5572 "alignLevel": null 5573 } 5574 }, 5575 { 5576 "aliasColors": {}, 5577 "bars": false, 5578 "dashLength": 10, 5579 "dashes": false, 5580 "datasource": "$datasource", 5581 "editable": true, 5582 "error": false, 5583 "fill": 1, 5584 "grid": {}, 5585 "gridPos": { 5586 "h": 7, 5587 "w": 6, 5588 "x": 12, 5589 "y": 78 5590 }, 5591 "id": 41, 5592 "legend": { 5593 "avg": false, 5594 "current": false, 5595 "max": false, 5596 "min": false, 5597 "show": false, 5598 "total": false, 5599 "values": false 5600 }, 5601 "lines": true, 5602 "linewidth": 2, 5603 "links": [], 5604 "nullPointMode": "null", 5605 "percentage": false, 5606 "pointradius": 5, 5607 "points": false, 5608 "renderer": "flot", 5609 "seriesOverrides": [], 5610 "spaceLength": 10, 5611 "stack": false, 5612 "steppedLine": false, 5613 "targets": [ 5614 { 5615 "expr": "sum(rate(m3dbclient_stream_from_peers_fetch_block_full_retry{instance=~\"$instance\"}[$step])) by (instance)", 5616 "format": "time_series", 5617 "intervalFactor": 1, 5618 "key": 0.3848186046051656, 5619 "legendFormat": "fetchBlockFullRetry-{{instance}}", 5620 "refId": "A" 5621 } 5622 ], 5623 "thresholds": [], 5624 "timeFrom": null, 5625 "timeShift": null, 5626 "title": "Fetch Block Full-Retry/Second", 5627 "tooltip": { 5628 "shared": false, 5629 "sort": 0, 5630 "value_type": "cumulative" 5631 }, 5632 "type": "graph", 5633 "xaxis": { 5634 "buckets": null, 5635 "mode": "time", 5636 "name": null, 5637 "show": true, 5638 "values": [] 5639 }, 5640 "yaxes": [ 5641 { 5642 "format": "short", 5643 "logBase": 1, 5644 "max": null, 5645 "min": null, 5646 "show": true 5647 }, 5648 { 5649 "format": "short", 5650 "logBase": 1, 5651 "max": null, 5652 "min": null, 5653 "show": true 5654 } 5655 ], 5656 "yaxis": { 5657 "align": false, 5658 "alignLevel": null 5659 } 5660 }, 5661 { 5662 "aliasColors": {}, 5663 "bars": false, 5664 "dashLength": 10, 5665 "dashes": false, 5666 "datasource": "$datasource", 5667 "editable": true, 5668 "error": false, 5669 "fill": 1, 5670 "grid": {}, 5671 "gridPos": { 5672 "h": 7, 5673 "w": 6, 5674 "x": 18, 5675 "y": 78 5676 }, 5677 "id": 67, 5678 "legend": { 5679 "avg": false, 5680 "current": false, 5681 "max": false, 5682 "min": false, 5683 "show": false, 5684 "total": false, 5685 "values": false 5686 }, 5687 "lines": true, 5688 "linewidth": 2, 5689 "links": [], 5690 "nullPointMode": "null", 5691 "percentage": false, 5692 "pointradius": 5, 5693 "points": false, 5694 "renderer": "flot", 5695 "seriesOverrides": [], 5696 "spaceLength": 10, 5697 "stack": false, 5698 "steppedLine": false, 5699 "targets": [ 5700 { 5701 "expr": "sum(rate(m3dbclient_stream_from_peers_fetch_block_final_error{instance=~\"$instance\"}[$step])) by (instance)", 5702 "format": "time_series", 5703 "intervalFactor": 1, 5704 "key": 0.3848186046051656, 5705 "legendFormat": "fetchBlockFinalError-{{instance}}", 5706 "refId": "A" 5707 } 5708 ], 5709 "thresholds": [], 5710 "timeFrom": null, 5711 "timeShift": null, 5712 "title": "Fetch Block Final Error/Second", 5713 "tooltip": { 5714 "shared": false, 5715 "sort": 0, 5716 "value_type": "cumulative" 5717 }, 5718 "type": "graph", 5719 "xaxis": { 5720 "buckets": null, 5721 "mode": "time", 5722 "name": null, 5723 "show": true, 5724 "values": [] 5725 }, 5726 "yaxes": [ 5727 { 5728 "format": "short", 5729 "logBase": 1, 5730 "max": null, 5731 "min": null, 5732 "show": true 5733 }, 5734 { 5735 "format": "short", 5736 "logBase": 1, 5737 "max": null, 5738 "min": null, 5739 "show": true 5740 } 5741 ], 5742 "yaxis": { 5743 "align": false, 5744 "alignLevel": null 5745 } 5746 } 5747 ], 5748 "repeat": null, 5749 "title": "Fetch Blocks Detail", 5750 "type": "row" 5751 }, 5752 { 5753 "collapsed": true, 5754 "gridPos": { 5755 "h": 1, 5756 "w": 24, 5757 "x": 0, 5758 "y": 43 5759 }, 5760 "id": 103, 5761 "panels": [ 5762 { 5763 "aliasColors": {}, 5764 "bars": false, 5765 "dashLength": 10, 5766 "dashes": false, 5767 "datasource": "$datasource", 5768 "editable": true, 5769 "error": false, 5770 "fill": 1, 5771 "grid": {}, 5772 "gridPos": { 5773 "h": 7, 5774 "w": 12, 5775 "x": 0, 5776 "y": 79 5777 }, 5778 "id": 11, 5779 "legend": { 5780 "avg": false, 5781 "current": false, 5782 "max": false, 5783 "min": false, 5784 "show": false, 5785 "total": false, 5786 "values": false 5787 }, 5788 "lines": true, 5789 "linewidth": 2, 5790 "links": [], 5791 "nullPointMode": "null", 5792 "percentage": false, 5793 "pointradius": 5, 5794 "points": false, 5795 "renderer": "flot", 5796 "seriesOverrides": [], 5797 "spaceLength": 10, 5798 "stack": false, 5799 "steppedLine": false, 5800 "targets": [ 5801 { 5802 "expr": "[[PoolType]]_free{instance=~\"$instance\"}", 5803 "format": "time_series", 5804 "intervalFactor": 1, 5805 "key": 0.4590639612241416, 5806 "refId": "A" 5807 }, 5808 { 5809 "expr": "[[PoolType]]_put_on_full{instance=~\"$instance\"}", 5810 "format": "time_series", 5811 "hide": true, 5812 "intervalFactor": 1, 5813 "key": 0.4590639612241416, 5814 "refId": "B" 5815 } 5816 ], 5817 "thresholds": [], 5818 "timeFrom": null, 5819 "timeShift": null, 5820 "title": "Free & Put On Full", 5821 "tooltip": { 5822 "shared": false, 5823 "sort": 0, 5824 "value_type": "cumulative" 5825 }, 5826 "type": "graph", 5827 "xaxis": { 5828 "buckets": null, 5829 "mode": "time", 5830 "name": null, 5831 "show": true, 5832 "values": [] 5833 }, 5834 "yaxes": [ 5835 { 5836 "format": "short", 5837 "logBase": 1, 5838 "max": null, 5839 "min": null, 5840 "show": true 5841 }, 5842 { 5843 "format": "short", 5844 "logBase": 1, 5845 "max": null, 5846 "min": null, 5847 "show": true 5848 } 5849 ], 5850 "yaxis": { 5851 "align": false, 5852 "alignLevel": null 5853 } 5854 }, 5855 { 5856 "aliasColors": {}, 5857 "bars": true, 5858 "dashLength": 10, 5859 "dashes": false, 5860 "datasource": "$datasource", 5861 "editable": true, 5862 "error": false, 5863 "fill": 1, 5864 "grid": {}, 5865 "gridPos": { 5866 "h": 7, 5867 "w": 12, 5868 "x": 12, 5869 "y": 79 5870 }, 5871 "id": 47, 5872 "legend": { 5873 "avg": false, 5874 "current": false, 5875 "max": false, 5876 "min": false, 5877 "show": true, 5878 "total": false, 5879 "values": false 5880 }, 5881 "lines": false, 5882 "linewidth": 2, 5883 "links": [], 5884 "maxDataPoints": "", 5885 "nullPointMode": "null", 5886 "percentage": false, 5887 "pointradius": 5, 5888 "points": false, 5889 "renderer": "flot", 5890 "seriesOverrides": [], 5891 "spaceLength": 10, 5892 "stack": false, 5893 "steppedLine": false, 5894 "targets": [ 5895 { 5896 "expr": "", 5897 "format": "time_series", 5898 "intervalFactor": 1, 5899 "key": 0.3914310519012809, 5900 "refId": "A" 5901 } 5902 ], 5903 "thresholds": [], 5904 "timeFrom": null, 5905 "timeShift": null, 5906 "title": "% Pool Used - Not Implemented", 5907 "tooltip": { 5908 "shared": true, 5909 "sort": 0, 5910 "value_type": "individual" 5911 }, 5912 "type": "graph", 5913 "xaxis": { 5914 "buckets": null, 5915 "mode": "time", 5916 "name": null, 5917 "show": true, 5918 "values": [] 5919 }, 5920 "yaxes": [ 5921 { 5922 "format": "percent", 5923 "logBase": 1, 5924 "max": null, 5925 "min": null, 5926 "show": true 5927 }, 5928 { 5929 "format": "short", 5930 "logBase": 1, 5931 "max": null, 5932 "min": null, 5933 "show": true 5934 } 5935 ], 5936 "yaxis": { 5937 "align": false, 5938 "alignLevel": null 5939 } 5940 } 5941 ], 5942 "repeat": null, 5943 "title": "Pooling", 5944 "type": "row" 5945 }, 5946 { 5947 "collapsed": true, 5948 "gridPos": { 5949 "h": 1, 5950 "w": 24, 5951 "x": 0, 5952 "y": 44 5953 }, 5954 "id": 106, 5955 "panels": [ 5956 { 5957 "aliasColors": {}, 5958 "bars": false, 5959 "dashLength": 10, 5960 "dashes": false, 5961 "datasource": "$datasource", 5962 "editable": true, 5963 "error": false, 5964 "fill": 1, 5965 "grid": {}, 5966 "gridPos": { 5967 "h": 7, 5968 "w": 12, 5969 "x": 0, 5970 "y": 45 5971 }, 5972 "id": 57, 5973 "legend": { 5974 "avg": false, 5975 "current": false, 5976 "max": false, 5977 "min": false, 5978 "show": true, 5979 "total": false, 5980 "values": false 5981 }, 5982 "lines": true, 5983 "linewidth": 2, 5984 "links": [], 5985 "nullPointMode": "null", 5986 "percentage": false, 5987 "pointradius": 5, 5988 "points": false, 5989 "renderer": "flot", 5990 "seriesOverrides": [], 5991 "spaceLength": 10, 5992 "stack": false, 5993 "steppedLine": false, 5994 "targets": [ 5995 { 5996 "expr": "sum(build_information{}) by (go_version)", 5997 "format": "time_series", 5998 "intervalFactor": 1, 5999 "key": 0.7855942131678251, 6000 "legendFormat": "{{go_version}}", 6001 "refId": "A" 6002 } 6003 ], 6004 "thresholds": [], 6005 "timeFrom": null, 6006 "timeShift": null, 6007 "title": "Runtime Version", 6008 "tooltip": { 6009 "shared": true, 6010 "sort": 0, 6011 "value_type": "cumulative" 6012 }, 6013 "type": "graph", 6014 "xaxis": { 6015 "buckets": null, 6016 "mode": "time", 6017 "name": null, 6018 "show": true, 6019 "values": [] 6020 }, 6021 "yaxes": [ 6022 { 6023 "format": "short", 6024 "logBase": 1, 6025 "max": null, 6026 "min": null, 6027 "show": true 6028 }, 6029 { 6030 "format": "short", 6031 "logBase": 1, 6032 "max": null, 6033 "min": null, 6034 "show": true 6035 } 6036 ], 6037 "yaxis": { 6038 "align": false, 6039 "alignLevel": null 6040 } 6041 }, 6042 { 6043 "aliasColors": {}, 6044 "bars": false, 6045 "dashLength": 10, 6046 "dashes": false, 6047 "datasource": "$datasource", 6048 "editable": true, 6049 "error": false, 6050 "fill": 1, 6051 "grid": {}, 6052 "gridPos": { 6053 "h": 7, 6054 "w": 12, 6055 "x": 12, 6056 "y": 45 6057 }, 6058 "id": 58, 6059 "legend": { 6060 "avg": false, 6061 "current": false, 6062 "hideEmpty": true, 6063 "hideZero": true, 6064 "max": false, 6065 "min": false, 6066 "show": true, 6067 "total": false, 6068 "values": false 6069 }, 6070 "lines": true, 6071 "linewidth": 2, 6072 "links": [], 6073 "nullPointMode": "null", 6074 "percentage": false, 6075 "pointradius": 5, 6076 "points": false, 6077 "renderer": "flot", 6078 "seriesOverrides": [ 6079 { 6080 "alias": "6fafa81", 6081 "yaxis": 1 6082 } 6083 ], 6084 "spaceLength": 10, 6085 "stack": false, 6086 "steppedLine": false, 6087 "targets": [ 6088 { 6089 "expr": "sum(build_information{}) by (revision)", 6090 "format": "time_series", 6091 "intervalFactor": 1, 6092 "key": 0.5783520603949805, 6093 "legendFormat": "{{revision}}", 6094 "refId": "A" 6095 } 6096 ], 6097 "thresholds": [], 6098 "timeFrom": null, 6099 "timeShift": null, 6100 "title": "Git Revision", 6101 "tooltip": { 6102 "shared": true, 6103 "sort": 0, 6104 "value_type": "cumulative" 6105 }, 6106 "type": "graph", 6107 "xaxis": { 6108 "buckets": null, 6109 "mode": "time", 6110 "name": null, 6111 "show": true, 6112 "values": [] 6113 }, 6114 "yaxes": [ 6115 { 6116 "format": "short", 6117 "logBase": 1, 6118 "max": null, 6119 "min": null, 6120 "show": true 6121 }, 6122 { 6123 "format": "short", 6124 "logBase": 1, 6125 "max": null, 6126 "min": null, 6127 "show": true 6128 } 6129 ], 6130 "yaxis": { 6131 "align": false, 6132 "alignLevel": null 6133 } 6134 } 6135 ], 6136 "repeat": null, 6137 "title": "Build Versions", 6138 "type": "row" 6139 }, 6140 { 6141 "collapsed": true, 6142 "gridPos": { 6143 "h": 1, 6144 "w": 24, 6145 "x": 0, 6146 "y": 45 6147 }, 6148 "id": 107, 6149 "panels": [ 6150 { 6151 "aliasColors": {}, 6152 "bars": false, 6153 "dashLength": 10, 6154 "dashes": false, 6155 "datasource": "$datasource", 6156 "fill": 1, 6157 "gridPos": { 6158 "h": 7, 6159 "w": 8, 6160 "x": 0, 6161 "y": 46 6162 }, 6163 "id": 69, 6164 "legend": { 6165 "avg": false, 6166 "current": false, 6167 "max": false, 6168 "min": false, 6169 "show": true, 6170 "total": false, 6171 "values": false 6172 }, 6173 "lines": true, 6174 "linewidth": 1, 6175 "links": [], 6176 "nullPointMode": "null", 6177 "percentage": false, 6178 "pointradius": 5, 6179 "points": false, 6180 "renderer": "flot", 6181 "seriesOverrides": [ 6182 { 6183 "alias": "name:index-error error_type:async-insert | sum", 6184 "yaxis": 2 6185 } 6186 ], 6187 "spaceLength": 10, 6188 "stack": false, 6189 "steppedLine": false, 6190 "targets": [ 6191 { 6192 "expr": "rate(dbindex_insert_queue_index_queue_num_pending{instance=~\"$instance\"}[$step])", 6193 "format": "time_series", 6194 "hide": false, 6195 "intervalFactor": 1, 6196 "refId": "A" 6197 }, 6198 { 6199 "expr": "rate(dbindex_index_error{instance=~\"$instance\"}[$step])", 6200 "format": "time_series", 6201 "intervalFactor": 1, 6202 "refId": "B" 6203 } 6204 ], 6205 "thresholds": [], 6206 "timeFrom": null, 6207 "timeShift": null, 6208 "title": "Index Queue", 6209 "tooltip": { 6210 "shared": true, 6211 "sort": 0, 6212 "value_type": "individual" 6213 }, 6214 "type": "graph", 6215 "xaxis": { 6216 "buckets": null, 6217 "mode": "time", 6218 "name": null, 6219 "show": true, 6220 "values": [] 6221 }, 6222 "yaxes": [ 6223 { 6224 "format": "short", 6225 "label": null, 6226 "logBase": 1, 6227 "max": null, 6228 "min": null, 6229 "show": true 6230 }, 6231 { 6232 "format": "short", 6233 "label": null, 6234 "logBase": 1, 6235 "max": null, 6236 "min": null, 6237 "show": true 6238 } 6239 ], 6240 "yaxis": { 6241 "align": false, 6242 "alignLevel": null 6243 } 6244 }, 6245 { 6246 "aliasColors": {}, 6247 "bars": false, 6248 "dashLength": 10, 6249 "dashes": false, 6250 "datasource": "$datasource", 6251 "fill": 0, 6252 "gridPos": { 6253 "h": 7, 6254 "w": 8, 6255 "x": 16, 6256 "y": 46 6257 }, 6258 "id": 79, 6259 "legend": { 6260 "avg": false, 6261 "current": false, 6262 "max": false, 6263 "min": false, 6264 "show": false, 6265 "total": false, 6266 "values": false 6267 }, 6268 "lines": true, 6269 "linewidth": 1, 6270 "links": [], 6271 "nullPointMode": "null", 6272 "percentage": false, 6273 "pointradius": 5, 6274 "points": false, 6275 "renderer": "flot", 6276 "seriesOverrides": [], 6277 "spaceLength": 10, 6278 "stack": false, 6279 "steppedLine": false, 6280 "targets": [ 6281 { 6282 "expr": "dbindex_insert_end_to_end_latency{instance=~\"$instance\",quantile=\"0.99\"}", 6283 "format": "time_series", 6284 "intervalFactor": 1, 6285 "refId": "A" 6286 } 6287 ], 6288 "thresholds": [], 6289 "timeFrom": null, 6290 "timeShift": null, 6291 "title": "Indexing End-to-End Latency - P99", 6292 "tooltip": { 6293 "shared": false, 6294 "sort": 0, 6295 "value_type": "individual" 6296 }, 6297 "type": "graph", 6298 "xaxis": { 6299 "buckets": null, 6300 "mode": "time", 6301 "name": null, 6302 "show": true, 6303 "values": [] 6304 }, 6305 "yaxes": [ 6306 { 6307 "format": "s", 6308 "label": null, 6309 "logBase": 1, 6310 "max": null, 6311 "min": null, 6312 "show": true 6313 }, 6314 { 6315 "format": "short", 6316 "label": null, 6317 "logBase": 1, 6318 "max": null, 6319 "min": null, 6320 "show": true 6321 } 6322 ], 6323 "yaxis": { 6324 "align": false, 6325 "alignLevel": null 6326 } 6327 } 6328 ], 6329 "repeat": null, 6330 "title": "Index Queue", 6331 "type": "row" 6332 }, 6333 { 6334 "collapsed": true, 6335 "gridPos": { 6336 "h": 1, 6337 "w": 24, 6338 "x": 0, 6339 "y": 46 6340 }, 6341 "id": 108, 6342 "panels": [ 6343 { 6344 "aliasColors": {}, 6345 "bars": false, 6346 "dashLength": 10, 6347 "dashes": false, 6348 "datasource": "$datasource", 6349 "fill": 0, 6350 "gridPos": { 6351 "h": 7, 6352 "w": 12, 6353 "x": 0, 6354 "y": 47 6355 }, 6356 "id": 85, 6357 "legend": { 6358 "avg": false, 6359 "current": false, 6360 "max": false, 6361 "min": false, 6362 "show": false, 6363 "total": false, 6364 "values": false 6365 }, 6366 "lines": true, 6367 "linewidth": 1, 6368 "links": [], 6369 "nullPointMode": "null", 6370 "percentage": false, 6371 "pointradius": 5, 6372 "points": false, 6373 "renderer": "flot", 6374 "seriesOverrides": [], 6375 "spaceLength": 10, 6376 "stack": false, 6377 "steppedLine": false, 6378 "targets": [ 6379 { 6380 "expr": "database_tick_index_num_docs{instance=~\"$instance\"}", 6381 "format": "time_series", 6382 "intervalFactor": 1, 6383 "refId": "A" 6384 } 6385 ], 6386 "thresholds": [], 6387 "timeFrom": null, 6388 "timeShift": null, 6389 "title": "Num Docs", 6390 "tooltip": { 6391 "shared": true, 6392 "sort": 0, 6393 "value_type": "individual" 6394 }, 6395 "type": "graph", 6396 "xaxis": { 6397 "buckets": null, 6398 "mode": "time", 6399 "name": null, 6400 "show": true, 6401 "values": [] 6402 }, 6403 "yaxes": [ 6404 { 6405 "format": "short", 6406 "label": null, 6407 "logBase": 1, 6408 "max": null, 6409 "min": null, 6410 "show": true 6411 }, 6412 { 6413 "format": "short", 6414 "label": null, 6415 "logBase": 1, 6416 "max": null, 6417 "min": null, 6418 "show": true 6419 } 6420 ], 6421 "yaxis": { 6422 "align": false, 6423 "alignLevel": null 6424 } 6425 }, 6426 { 6427 "aliasColors": {}, 6428 "bars": false, 6429 "dashLength": 10, 6430 "dashes": false, 6431 "datasource": "$datasource", 6432 "fill": 0, 6433 "gridPos": { 6434 "h": 7, 6435 "w": 12, 6436 "x": 12, 6437 "y": 47 6438 }, 6439 "id": 86, 6440 "legend": { 6441 "avg": false, 6442 "current": false, 6443 "max": false, 6444 "min": false, 6445 "show": false, 6446 "total": false, 6447 "values": false 6448 }, 6449 "lines": true, 6450 "linewidth": 1, 6451 "links": [], 6452 "nullPointMode": "null", 6453 "percentage": false, 6454 "pointradius": 5, 6455 "points": false, 6456 "renderer": "flot", 6457 "seriesOverrides": [], 6458 "spaceLength": 10, 6459 "stack": false, 6460 "steppedLine": false, 6461 "targets": [ 6462 { 6463 "expr": "database_tick_index_num_segments{instance=~\"$instance\"}", 6464 "format": "time_series", 6465 "intervalFactor": 1, 6466 "refId": "A" 6467 } 6468 ], 6469 "thresholds": [], 6470 "timeFrom": null, 6471 "timeShift": null, 6472 "title": "Num Segments", 6473 "tooltip": { 6474 "shared": true, 6475 "sort": 0, 6476 "value_type": "individual" 6477 }, 6478 "type": "graph", 6479 "xaxis": { 6480 "buckets": null, 6481 "mode": "time", 6482 "name": null, 6483 "show": true, 6484 "values": [] 6485 }, 6486 "yaxes": [ 6487 { 6488 "format": "short", 6489 "label": null, 6490 "logBase": 1, 6491 "max": null, 6492 "min": null, 6493 "show": true 6494 }, 6495 { 6496 "format": "short", 6497 "label": null, 6498 "logBase": 1, 6499 "max": null, 6500 "min": null, 6501 "show": true 6502 } 6503 ], 6504 "yaxis": { 6505 "align": false, 6506 "alignLevel": null 6507 } 6508 }, 6509 { 6510 "aliasColors": {}, 6511 "bars": false, 6512 "dashLength": 10, 6513 "dashes": false, 6514 "datasource": "$datasource", 6515 "fill": 0, 6516 "gridPos": { 6517 "h": 7, 6518 "w": 8, 6519 "x": 0, 6520 "y": 54 6521 }, 6522 "id": 87, 6523 "legend": { 6524 "avg": false, 6525 "current": false, 6526 "max": false, 6527 "min": false, 6528 "show": false, 6529 "total": false, 6530 "values": false 6531 }, 6532 "lines": true, 6533 "linewidth": 1, 6534 "links": [], 6535 "nullPointMode": "null", 6536 "percentage": false, 6537 "pointradius": 5, 6538 "points": false, 6539 "renderer": "flot", 6540 "seriesOverrides": [], 6541 "spaceLength": 10, 6542 "stack": false, 6543 "steppedLine": false, 6544 "targets": [ 6545 { 6546 "expr": "dbindex_num_active_compactions{instance=~\"$instance\"}", 6547 "format": "time_series", 6548 "intervalFactor": 1, 6549 "refId": "A" 6550 }, 6551 { 6552 "expr": "dbindex_num_segments_compacting{instance=~\"$instance\"}", 6553 "format": "time_series", 6554 "hide": true, 6555 "intervalFactor": 1, 6556 "refId": "B" 6557 } 6558 ], 6559 "thresholds": [], 6560 "timeFrom": null, 6561 "timeShift": null, 6562 "title": "Num Compactions", 6563 "tooltip": { 6564 "shared": true, 6565 "sort": 0, 6566 "value_type": "individual" 6567 }, 6568 "type": "graph", 6569 "xaxis": { 6570 "buckets": null, 6571 "mode": "time", 6572 "name": null, 6573 "show": true, 6574 "values": [] 6575 }, 6576 "yaxes": [ 6577 { 6578 "format": "short", 6579 "label": null, 6580 "logBase": 1, 6581 "max": null, 6582 "min": null, 6583 "show": true 6584 }, 6585 { 6586 "format": "short", 6587 "label": null, 6588 "logBase": 1, 6589 "max": null, 6590 "min": null, 6591 "show": true 6592 } 6593 ], 6594 "yaxis": { 6595 "align": false, 6596 "alignLevel": null 6597 } 6598 }, 6599 { 6600 "aliasColors": {}, 6601 "bars": false, 6602 "dashLength": 10, 6603 "dashes": false, 6604 "datasource": "$datasource", 6605 "fill": 0, 6606 "gridPos": { 6607 "h": 7, 6608 "w": 8, 6609 "x": 16, 6610 "y": 54 6611 }, 6612 "id": 88, 6613 "legend": { 6614 "avg": false, 6615 "current": false, 6616 "max": false, 6617 "min": false, 6618 "show": false, 6619 "total": false, 6620 "values": false 6621 }, 6622 "lines": true, 6623 "linewidth": 1, 6624 "links": [], 6625 "nullPointMode": "null", 6626 "percentage": false, 6627 "pointradius": 5, 6628 "points": false, 6629 "renderer": "flot", 6630 "seriesOverrides": [], 6631 "spaceLength": 10, 6632 "stack": false, 6633 "steppedLine": false, 6634 "targets": [ 6635 { 6636 "expr": "dbindex_compaction_latency{instance=~\"$instance\"}", 6637 "format": "time_series", 6638 "intervalFactor": 1, 6639 "refId": "A" 6640 } 6641 ], 6642 "thresholds": [], 6643 "timeFrom": null, 6644 "timeShift": null, 6645 "title": "Compaction Latency", 6646 "tooltip": { 6647 "shared": true, 6648 "sort": 0, 6649 "value_type": "individual" 6650 }, 6651 "type": "graph", 6652 "xaxis": { 6653 "buckets": null, 6654 "mode": "time", 6655 "name": null, 6656 "show": true, 6657 "values": [] 6658 }, 6659 "yaxes": [ 6660 { 6661 "format": "ms", 6662 "label": null, 6663 "logBase": 1, 6664 "max": null, 6665 "min": null, 6666 "show": true 6667 }, 6668 { 6669 "format": "short", 6670 "label": null, 6671 "logBase": 1, 6672 "max": null, 6673 "min": null, 6674 "show": true 6675 } 6676 ], 6677 "yaxis": { 6678 "align": false, 6679 "alignLevel": null 6680 } 6681 }, 6682 { 6683 "aliasColors": {}, 6684 "bars": false, 6685 "dashLength": 10, 6686 "dashes": false, 6687 "datasource": "$datasource", 6688 "fill": 0, 6689 "gridPos": { 6690 "h": 7, 6691 "w": 12, 6692 "x": 0, 6693 "y": 61 6694 }, 6695 "id": 74, 6696 "legend": { 6697 "avg": false, 6698 "current": false, 6699 "max": false, 6700 "min": false, 6701 "show": false, 6702 "total": false, 6703 "values": false 6704 }, 6705 "lines": false, 6706 "linewidth": 1, 6707 "links": [], 6708 "nullPointMode": "connected", 6709 "percentage": false, 6710 "pointradius": 5, 6711 "points": true, 6712 "renderer": "flot", 6713 "seriesOverrides": [], 6714 "spaceLength": 10, 6715 "stack": false, 6716 "steppedLine": false, 6717 "targets": [ 6718 { 6719 "expr": "increase(database_tick_index_num_blocks_evicted{instance=~\"$instance\"}[$step])", 6720 "format": "time_series", 6721 "intervalFactor": 1, 6722 "refId": "A" 6723 }, 6724 { 6725 "expr": "increase(database_tick_index_num_blocks_sealed{instance=~\"$instance\"}[$step])", 6726 "format": "time_series", 6727 "intervalFactor": 1, 6728 "refId": "B" 6729 } 6730 ], 6731 "thresholds": [], 6732 "timeFrom": null, 6733 "timeShift": null, 6734 "title": "Evicted/Sealed blocks", 6735 "tooltip": { 6736 "shared": true, 6737 "sort": 0, 6738 "value_type": "individual" 6739 }, 6740 "type": "graph", 6741 "xaxis": { 6742 "buckets": null, 6743 "mode": "time", 6744 "name": null, 6745 "show": true, 6746 "values": [] 6747 }, 6748 "yaxes": [ 6749 { 6750 "format": "short", 6751 "label": null, 6752 "logBase": 1, 6753 "max": null, 6754 "min": null, 6755 "show": true 6756 }, 6757 { 6758 "format": "short", 6759 "label": null, 6760 "logBase": 1, 6761 "max": null, 6762 "min": null, 6763 "show": true 6764 } 6765 ], 6766 "yaxis": { 6767 "align": false, 6768 "alignLevel": null 6769 } 6770 } 6771 ], 6772 "repeat": null, 6773 "title": "Index Stats", 6774 "type": "row" 6775 } 6776 ], 6777 "refresh": false, 6778 "schemaVersion": 16, 6779 "style": "dark", 6780 "tags": [ 6781 "disable-sync" 6782 ], 6783 "templating": { 6784 "list": [ 6785 { 6786 "allFormat": "glob", 6787 "allValue": null, 6788 "current": { 6789 "selected": true, 6790 "text": "bytes_pool", 6791 "value": "bytes_pool" 6792 }, 6793 "hide": 0, 6794 "includeAll": true, 6795 "label": "", 6796 "multi": false, 6797 "multiFormat": "glob", 6798 "name": "PoolType", 6799 "options": [ 6800 { 6801 "selected": false, 6802 "text": "All", 6803 "value": "$__all" 6804 }, 6805 { 6806 "selected": false, 6807 "text": "series_pool", 6808 "value": "series_pool" 6809 }, 6810 { 6811 "selected": false, 6812 "text": "block_pool", 6813 "value": "block_pool" 6814 }, 6815 { 6816 "selected": false, 6817 "text": "encoder_pool", 6818 "value": "encoder_pool" 6819 }, 6820 { 6821 "selected": false, 6822 "text": "context_pool", 6823 "value": "context_pool" 6824 }, 6825 { 6826 "selected": false, 6827 "text": "iterator_pool", 6828 "value": "iterator_pool" 6829 }, 6830 { 6831 "selected": false, 6832 "text": "multi_iterator_pool", 6833 "value": "multi_iterator_pool" 6834 }, 6835 { 6836 "selected": false, 6837 "text": "segment_reader_pool", 6838 "value": "segment_reader_pool" 6839 }, 6840 { 6841 "selected": true, 6842 "text": "bytes_pool", 6843 "value": "bytes_pool" 6844 }, 6845 { 6846 "selected": false, 6847 "text": "fetch_block_metadata_results_pool", 6848 "value": "fetch_block_metadata_results_pool" 6849 }, 6850 { 6851 "selected": false, 6852 "text": "fetch_blocks_metadata_results_pool", 6853 "value": "fetch_blocks_metadata_results_pool" 6854 }, 6855 { 6856 "selected": false, 6857 "text": "block_metadata_pool", 6858 "value": "block_metadata_pool" 6859 }, 6860 { 6861 "selected": false, 6862 "text": "block_metadata_slice_pool", 6863 "value": "block_metadata_slice_pool" 6864 }, 6865 { 6866 "selected": false, 6867 "text": "blocks_metadata_pool", 6868 "value": "blocks_metadata_pool" 6869 }, 6870 { 6871 "selected": false, 6872 "text": "blocks_metadata_slice_pool", 6873 "value": "blocks_metadata_slice_pool" 6874 }, 6875 { 6876 "selected": false, 6877 "text": "host_block_metadata_slice_pool", 6878 "value": "host_block_metadata_slice_pool" 6879 }, 6880 { 6881 "selected": false, 6882 "text": "identifier_pool", 6883 "value": "identifier_pool" 6884 } 6885 ], 6886 "query": "series_pool,block_pool,encoder_pool,context_pool,iterator_pool,multi_iterator_pool,segment_reader_pool,bytes_pool,fetch_block_metadata_results_pool,fetch_blocks_metadata_results_pool,block_metadata_pool,block_metadata_slice_pool,blocks_metadata_pool,blocks_metadata_slice_pool,host_block_metadata_slice_pool,identifier_pool", 6887 "refresh": 0, 6888 "type": "custom" 6889 }, 6890 { 6891 "allValue": null, 6892 "current": { 6893 "selected": true, 6894 "text": "30s", 6895 "value": "30s" 6896 }, 6897 "hide": 0, 6898 "includeAll": false, 6899 "label": "step", 6900 "multi": false, 6901 "name": "step", 6902 "options": [ 6903 { 6904 "selected": true, 6905 "text": "30s", 6906 "value": "30s" 6907 }, 6908 { 6909 "selected": false, 6910 "text": "1m", 6911 "value": "1m" 6912 }, 6913 { 6914 "selected": false, 6915 "text": "5m", 6916 "value": "5m" 6917 }, 6918 { 6919 "selected": false, 6920 "text": "10m", 6921 "value": "10m" 6922 } 6923 ], 6924 "query": "30s,1m,5m,10m", 6925 "type": "custom" 6926 }, 6927 { 6928 "allValue": null, 6929 "current": {}, 6930 "datasource": "$datasource", 6931 "hide": 0, 6932 "includeAll": true, 6933 "label": "instance", 6934 "multi": true, 6935 "name": "instance", 6936 "options": [], 6937 "query": "label_values(commitlog_writes_queued,instance)", 6938 "refresh": 2, 6939 "regex": "", 6940 "sort": 0, 6941 "tagValuesQuery": "", 6942 "tags": [], 6943 "tagsQuery": "", 6944 "type": "query", 6945 "useTags": false 6946 }, 6947 { 6948 "current": { 6949 "text": "M3Query - Prometheus", 6950 "value": "M3Query - Prometheus" 6951 }, 6952 "hide": 0, 6953 "label": null, 6954 "name": "datasource", 6955 "options": [], 6956 "query": "prometheus", 6957 "refresh": 1, 6958 "regex": "", 6959 "skipUrlSync": false, 6960 "type": "datasource" 6961 } 6962 ] 6963 }, 6964 "time": { 6965 "from": "now-1h", 6966 "to": "now" 6967 }, 6968 "timepicker": { 6969 "now": true, 6970 "refresh_intervals": [ 6971 "5s", 6972 "10s", 6973 "30s", 6974 "1m", 6975 "5m", 6976 "15m", 6977 "30m", 6978 "1h", 6979 "2h", 6980 "1d" 6981 ], 6982 "time_options": [ 6983 "5m", 6984 "15m", 6985 "1h", 6986 "6h", 6987 "12h", 6988 "24h", 6989 "2d", 6990 "7d", 6991 "30d" 6992 ] 6993 }, 6994 "timezone": "browser", 6995 "title": "M3DB Node Details", 6996 "uid": "99SFck0iza", 6997 "version": 4 6998 } 6999 kind: ConfigMap 7000 metadata: 7001 name: grafana-dashboard-m3db-node-details 7002 namespace: monitoring 7003 - apiVersion: v1 7004 data: 7005 promremotebench.json: |- 7006 { 7007 "annotations": { 7008 "list": [ 7009 { 7010 "builtIn": 1, 7011 "datasource": "-- Grafana --", 7012 "enable": true, 7013 "hide": true, 7014 "iconColor": "rgba(0, 211, 255, 1)", 7015 "name": "Annotations & Alerts", 7016 "type": "dashboard" 7017 } 7018 ] 7019 }, 7020 "editable": true, 7021 "gnetId": null, 7022 "graphTooltip": 0, 7023 "id": 12, 7024 "iteration": 1580489930515, 7025 "links": [], 7026 "panels": [ 7027 { 7028 "aliasColors": {}, 7029 "bars": false, 7030 "dashLength": 10, 7031 "dashes": false, 7032 "datasource": "prometheus", 7033 "fill": 1, 7034 "gridPos": { 7035 "h": 9, 7036 "w": 12, 7037 "x": 0, 7038 "y": 0 7039 }, 7040 "id": 4, 7041 "legend": { 7042 "avg": false, 7043 "current": false, 7044 "max": false, 7045 "min": false, 7046 "show": true, 7047 "total": false, 7048 "values": false 7049 }, 7050 "lines": true, 7051 "linewidth": 1, 7052 "links": [], 7053 "nullPointMode": "null", 7054 "paceLength": 10, 7055 "percentage": false, 7056 "pointradius": 2, 7057 "points": false, 7058 "renderer": "flot", 7059 "seriesOverrides": [], 7060 "stack": false, 7061 "steppedLine": false, 7062 "targets": [ 7063 { 7064 "expr": "sum(rate(promremotebench_queries_success[$step])) by (url)", 7065 "format": "time_series", 7066 "intervalFactor": 1, 7067 "legendFormat": "success {{ url }}", 7068 "refId": "A" 7069 } 7070 ], 7071 "thresholds": [], 7072 "timeFrom": null, 7073 "timeRegions": [], 7074 "timeShift": null, 7075 "title": "Query Success", 7076 "tooltip": { 7077 "shared": true, 7078 "sort": 0, 7079 "value_type": "individual" 7080 }, 7081 "type": "graph", 7082 "xaxis": { 7083 "buckets": null, 7084 "mode": "time", 7085 "name": null, 7086 "show": true, 7087 "values": [] 7088 }, 7089 "yaxes": [ 7090 { 7091 "format": "short", 7092 "label": null, 7093 "logBase": 1, 7094 "max": null, 7095 "min": null, 7096 "show": true 7097 }, 7098 { 7099 "format": "short", 7100 "label": null, 7101 "logBase": 1, 7102 "max": null, 7103 "min": null, 7104 "show": true 7105 } 7106 ], 7107 "yaxis": { 7108 "align": false, 7109 "alignLevel": null 7110 } 7111 }, 7112 { 7113 "aliasColors": {}, 7114 "bars": false, 7115 "dashLength": 10, 7116 "dashes": false, 7117 "datasource": "prometheus", 7118 "fill": 1, 7119 "gridPos": { 7120 "h": 9, 7121 "w": 12, 7122 "x": 12, 7123 "y": 0 7124 }, 7125 "id": 2, 7126 "legend": { 7127 "avg": false, 7128 "current": false, 7129 "max": false, 7130 "min": false, 7131 "show": true, 7132 "total": false, 7133 "values": false 7134 }, 7135 "lines": true, 7136 "linewidth": 1, 7137 "links": [], 7138 "nullPointMode": "null", 7139 "paceLength": 10, 7140 "percentage": false, 7141 "pointradius": 2, 7142 "points": false, 7143 "renderer": "flot", 7144 "seriesOverrides": [], 7145 "stack": false, 7146 "steppedLine": false, 7147 "targets": [ 7148 { 7149 "expr": "sum(rate(promremotebench_queries_error_validation_failed[$step])) by (url)", 7150 "format": "time_series", 7151 "intervalFactor": 1, 7152 "legendFormat": "error_validation_failed {{ url }}", 7153 "refId": "A" 7154 }, 7155 { 7156 "expr": "sum(rate(promremotebench_queries_error_mismatched_response[$step])) by (url)", 7157 "format": "time_series", 7158 "hide": true, 7159 "intervalFactor": 1, 7160 "legendFormat": "error_mismatched_response", 7161 "refId": "B" 7162 }, 7163 { 7164 "expr": "sum(rate(promremotebench_queries_error_fanout_failed[$step]))", 7165 "format": "time_series", 7166 "hide": true, 7167 "intervalFactor": 1, 7168 "legendFormat": "error_fanout_failed", 7169 "refId": "C" 7170 }, 7171 { 7172 "expr": "sum(rate(promremotebench_queries_error_invalid_response[$step]))", 7173 "format": "time_series", 7174 "hide": true, 7175 "intervalFactor": 1, 7176 "legendFormat": "error_invalid_response", 7177 "refId": "D" 7178 } 7179 ], 7180 "thresholds": [], 7181 "timeFrom": null, 7182 "timeRegions": [], 7183 "timeShift": null, 7184 "title": "Query Errors", 7185 "tooltip": { 7186 "shared": true, 7187 "sort": 0, 7188 "value_type": "individual" 7189 }, 7190 "type": "graph", 7191 "xaxis": { 7192 "buckets": null, 7193 "mode": "time", 7194 "name": null, 7195 "show": true, 7196 "values": [] 7197 }, 7198 "yaxes": [ 7199 { 7200 "format": "short", 7201 "label": null, 7202 "logBase": 1, 7203 "max": null, 7204 "min": null, 7205 "show": true 7206 }, 7207 { 7208 "format": "short", 7209 "label": null, 7210 "logBase": 1, 7211 "max": null, 7212 "min": null, 7213 "show": true 7214 } 7215 ], 7216 "yaxis": { 7217 "align": false, 7218 "alignLevel": null 7219 } 7220 }, 7221 { 7222 "aliasColors": {}, 7223 "bars": false, 7224 "dashLength": 10, 7225 "dashes": false, 7226 "datasource": "prometheus", 7227 "fill": 1, 7228 "gridPos": { 7229 "h": 8, 7230 "w": 12, 7231 "x": 0, 7232 "y": 9 7233 }, 7234 "id": 6, 7235 "legend": { 7236 "avg": false, 7237 "current": false, 7238 "max": false, 7239 "min": false, 7240 "show": true, 7241 "total": false, 7242 "values": false 7243 }, 7244 "lines": true, 7245 "linewidth": 1, 7246 "links": [], 7247 "nullPointMode": "null", 7248 "paceLength": 10, 7249 "percentage": false, 7250 "pointradius": 2, 7251 "points": false, 7252 "renderer": "flot", 7253 "seriesOverrides": [], 7254 "stack": false, 7255 "steppedLine": false, 7256 "targets": [ 7257 { 7258 "expr": "sum(rate(promremotebench_writes_success[$step])) by (url)", 7259 "format": "time_series", 7260 "intervalFactor": 1, 7261 "legendFormat": "success {{ url }}", 7262 "refId": "A" 7263 } 7264 ], 7265 "thresholds": [], 7266 "timeFrom": null, 7267 "timeRegions": [], 7268 "timeShift": null, 7269 "title": "Write Success", 7270 "tooltip": { 7271 "shared": true, 7272 "sort": 0, 7273 "value_type": "individual" 7274 }, 7275 "type": "graph", 7276 "xaxis": { 7277 "buckets": null, 7278 "mode": "time", 7279 "name": null, 7280 "show": true, 7281 "values": [] 7282 }, 7283 "yaxes": [ 7284 { 7285 "format": "short", 7286 "label": null, 7287 "logBase": 1, 7288 "max": null, 7289 "min": null, 7290 "show": true 7291 }, 7292 { 7293 "format": "short", 7294 "label": null, 7295 "logBase": 1, 7296 "max": null, 7297 "min": null, 7298 "show": true 7299 } 7300 ], 7301 "yaxis": { 7302 "align": false, 7303 "alignLevel": null 7304 } 7305 }, 7306 { 7307 "aliasColors": {}, 7308 "bars": false, 7309 "dashLength": 10, 7310 "dashes": false, 7311 "datasource": "prometheus", 7312 "fill": 1, 7313 "gridPos": { 7314 "h": 8, 7315 "w": 12, 7316 "x": 12, 7317 "y": 9 7318 }, 7319 "id": 8, 7320 "legend": { 7321 "avg": false, 7322 "current": false, 7323 "max": false, 7324 "min": false, 7325 "show": true, 7326 "total": false, 7327 "values": false 7328 }, 7329 "lines": true, 7330 "linewidth": 1, 7331 "links": [], 7332 "nullPointMode": "null", 7333 "paceLength": 10, 7334 "percentage": false, 7335 "pointradius": 2, 7336 "points": false, 7337 "renderer": "flot", 7338 "seriesOverrides": [], 7339 "stack": false, 7340 "steppedLine": false, 7341 "targets": [ 7342 { 7343 "expr": "sum(rate(promremotebench_writes_errors[$step])) by (url)", 7344 "format": "time_series", 7345 "intervalFactor": 1, 7346 "legendFormat": "error {{ url }}", 7347 "refId": "A" 7348 } 7349 ], 7350 "thresholds": [], 7351 "timeFrom": null, 7352 "timeRegions": [], 7353 "timeShift": null, 7354 "title": "Write Errors", 7355 "tooltip": { 7356 "shared": true, 7357 "sort": 0, 7358 "value_type": "individual" 7359 }, 7360 "type": "graph", 7361 "xaxis": { 7362 "buckets": null, 7363 "mode": "time", 7364 "name": null, 7365 "show": true, 7366 "values": [] 7367 }, 7368 "yaxes": [ 7369 { 7370 "format": "short", 7371 "label": null, 7372 "logBase": 1, 7373 "max": null, 7374 "min": null, 7375 "show": true 7376 }, 7377 { 7378 "format": "short", 7379 "label": null, 7380 "logBase": 1, 7381 "max": null, 7382 "min": null, 7383 "show": true 7384 } 7385 ], 7386 "yaxis": { 7387 "align": false, 7388 "alignLevel": null 7389 } 7390 } 7391 ], 7392 "schemaVersion": 18, 7393 "style": "dark", 7394 "tags": [], 7395 "templating": { 7396 "list": [ 7397 { 7398 "allValue": null, 7399 "current": { 7400 "text": "30s", 7401 "value": "30s" 7402 }, 7403 "hide": 0, 7404 "includeAll": false, 7405 "label": "step", 7406 "multi": false, 7407 "name": "step", 7408 "options": [ 7409 { 7410 "selected": true, 7411 "text": "30s", 7412 "value": "30s" 7413 }, 7414 { 7415 "selected": false, 7416 "text": "1m", 7417 "value": "1m" 7418 }, 7419 { 7420 "selected": false, 7421 "text": "5m", 7422 "value": "5m" 7423 }, 7424 { 7425 "selected": false, 7426 "text": "10m", 7427 "value": "10m" 7428 } 7429 ], 7430 "query": "30s,1m,5m,10m", 7431 "skipUrlSync": false, 7432 "type": "custom" 7433 } 7434 ] 7435 }, 7436 "time": { 7437 "from": "now-15m", 7438 "to": "now" 7439 }, 7440 "timepicker": { 7441 "refresh_intervals": [ 7442 "5s", 7443 "10s", 7444 "30s", 7445 "1m", 7446 "5m", 7447 "15m", 7448 "30m", 7449 "1h", 7450 "2h", 7451 "1d" 7452 ], 7453 "time_options": [ 7454 "5m", 7455 "15m", 7456 "1h", 7457 "6h", 7458 "12h", 7459 "24h", 7460 "2d", 7461 "7d", 7462 "30d" 7463 ] 7464 }, 7465 "timezone": "", 7466 "title": "Promremotebench", 7467 "uid": "B4EhM6yWk", 7468 "version": 5 7469 } 7470 kind: ConfigMap 7471 metadata: 7472 name: grafana-dashboard-promremotebench 7473 namespace: monitoring 7474 - apiVersion: v1 7475 data: 7476 k8s-node-rsrc-use.json: |- 7477 { 7478 "annotations": { 7479 "list": [ 7480 7481 ] 7482 }, 7483 "editable": true, 7484 "gnetId": null, 7485 "graphTooltip": 0, 7486 "hideControls": false, 7487 "links": [ 7488 7489 ], 7490 "refresh": "10s", 7491 "rows": [ 7492 { 7493 "collapse": false, 7494 "height": "250px", 7495 "panels": [ 7496 { 7497 "aliasColors": { 7498 7499 }, 7500 "bars": false, 7501 "dashLength": 10, 7502 "dashes": false, 7503 "datasource": "$datasource", 7504 "fill": 1, 7505 "id": 1, 7506 "legend": { 7507 "avg": false, 7508 "current": false, 7509 "max": false, 7510 "min": false, 7511 "show": true, 7512 "total": false, 7513 "values": false 7514 }, 7515 "lines": true, 7516 "linewidth": 1, 7517 "links": [ 7518 7519 ], 7520 "nullPointMode": "null as zero", 7521 "percentage": false, 7522 "pointradius": 5, 7523 "points": false, 7524 "renderer": "flot", 7525 "seriesOverrides": [ 7526 7527 ], 7528 "spaceLength": 10, 7529 "span": 6, 7530 "stack": false, 7531 "steppedLine": false, 7532 "targets": [ 7533 { 7534 "expr": "node:node_cpu_utilisation:avg1m{cluster=\"$cluster\", node=\"$node\"}", 7535 "format": "time_series", 7536 "intervalFactor": 2, 7537 "legendFormat": "Utilisation", 7538 "legendLink": null, 7539 "step": 10 7540 } 7541 ], 7542 "thresholds": [ 7543 7544 ], 7545 "timeFrom": null, 7546 "timeShift": null, 7547 "title": "CPU Utilisation", 7548 "tooltip": { 7549 "shared": false, 7550 "sort": 0, 7551 "value_type": "individual" 7552 }, 7553 "type": "graph", 7554 "xaxis": { 7555 "buckets": null, 7556 "mode": "time", 7557 "name": null, 7558 "show": true, 7559 "values": [ 7560 7561 ] 7562 }, 7563 "yaxes": [ 7564 { 7565 "format": "percentunit", 7566 "label": null, 7567 "logBase": 1, 7568 "max": null, 7569 "min": 0, 7570 "show": true 7571 }, 7572 { 7573 "format": "short", 7574 "label": null, 7575 "logBase": 1, 7576 "max": null, 7577 "min": null, 7578 "show": false 7579 } 7580 ] 7581 }, 7582 { 7583 "aliasColors": { 7584 7585 }, 7586 "bars": false, 7587 "dashLength": 10, 7588 "dashes": false, 7589 "datasource": "$datasource", 7590 "fill": 1, 7591 "id": 2, 7592 "legend": { 7593 "avg": false, 7594 "current": false, 7595 "max": false, 7596 "min": false, 7597 "show": true, 7598 "total": false, 7599 "values": false 7600 }, 7601 "lines": true, 7602 "linewidth": 1, 7603 "links": [ 7604 7605 ], 7606 "nullPointMode": "null as zero", 7607 "percentage": false, 7608 "pointradius": 5, 7609 "points": false, 7610 "renderer": "flot", 7611 "seriesOverrides": [ 7612 7613 ], 7614 "spaceLength": 10, 7615 "span": 6, 7616 "stack": false, 7617 "steppedLine": false, 7618 "targets": [ 7619 { 7620 "expr": "node:node_cpu_saturation_load1:{cluster=\"$cluster\", node=\"$node\"}", 7621 "format": "time_series", 7622 "intervalFactor": 2, 7623 "legendFormat": "Saturation", 7624 "legendLink": null, 7625 "step": 10 7626 } 7627 ], 7628 "thresholds": [ 7629 7630 ], 7631 "timeFrom": null, 7632 "timeShift": null, 7633 "title": "CPU Saturation (Load1)", 7634 "tooltip": { 7635 "shared": false, 7636 "sort": 0, 7637 "value_type": "individual" 7638 }, 7639 "type": "graph", 7640 "xaxis": { 7641 "buckets": null, 7642 "mode": "time", 7643 "name": null, 7644 "show": true, 7645 "values": [ 7646 7647 ] 7648 }, 7649 "yaxes": [ 7650 { 7651 "format": "percentunit", 7652 "label": null, 7653 "logBase": 1, 7654 "max": null, 7655 "min": 0, 7656 "show": true 7657 }, 7658 { 7659 "format": "short", 7660 "label": null, 7661 "logBase": 1, 7662 "max": null, 7663 "min": null, 7664 "show": false 7665 } 7666 ] 7667 } 7668 ], 7669 "repeat": null, 7670 "repeatIteration": null, 7671 "repeatRowId": null, 7672 "showTitle": true, 7673 "title": "CPU", 7674 "titleSize": "h6" 7675 }, 7676 { 7677 "collapse": false, 7678 "height": "250px", 7679 "panels": [ 7680 { 7681 "aliasColors": { 7682 7683 }, 7684 "bars": false, 7685 "dashLength": 10, 7686 "dashes": false, 7687 "datasource": "$datasource", 7688 "fill": 1, 7689 "id": 3, 7690 "legend": { 7691 "avg": false, 7692 "current": false, 7693 "max": false, 7694 "min": false, 7695 "show": true, 7696 "total": false, 7697 "values": false 7698 }, 7699 "lines": true, 7700 "linewidth": 1, 7701 "links": [ 7702 7703 ], 7704 "nullPointMode": "null as zero", 7705 "percentage": false, 7706 "pointradius": 5, 7707 "points": false, 7708 "renderer": "flot", 7709 "seriesOverrides": [ 7710 7711 ], 7712 "spaceLength": 10, 7713 "span": 6, 7714 "stack": false, 7715 "steppedLine": false, 7716 "targets": [ 7717 { 7718 "expr": "node:node_memory_utilisation:{cluster=\"$cluster\", node=\"$node\"}", 7719 "format": "time_series", 7720 "intervalFactor": 2, 7721 "legendFormat": "Memory", 7722 "legendLink": null, 7723 "step": 10 7724 } 7725 ], 7726 "thresholds": [ 7727 7728 ], 7729 "timeFrom": null, 7730 "timeShift": null, 7731 "title": "Memory Utilisation", 7732 "tooltip": { 7733 "shared": false, 7734 "sort": 0, 7735 "value_type": "individual" 7736 }, 7737 "type": "graph", 7738 "xaxis": { 7739 "buckets": null, 7740 "mode": "time", 7741 "name": null, 7742 "show": true, 7743 "values": [ 7744 7745 ] 7746 }, 7747 "yaxes": [ 7748 { 7749 "format": "percentunit", 7750 "label": null, 7751 "logBase": 1, 7752 "max": null, 7753 "min": 0, 7754 "show": true 7755 }, 7756 { 7757 "format": "short", 7758 "label": null, 7759 "logBase": 1, 7760 "max": null, 7761 "min": null, 7762 "show": false 7763 } 7764 ] 7765 }, 7766 { 7767 "aliasColors": { 7768 7769 }, 7770 "bars": false, 7771 "dashLength": 10, 7772 "dashes": false, 7773 "datasource": "$datasource", 7774 "fill": 1, 7775 "id": 4, 7776 "legend": { 7777 "avg": false, 7778 "current": false, 7779 "max": false, 7780 "min": false, 7781 "show": true, 7782 "total": false, 7783 "values": false 7784 }, 7785 "lines": true, 7786 "linewidth": 1, 7787 "links": [ 7788 7789 ], 7790 "nullPointMode": "null as zero", 7791 "percentage": false, 7792 "pointradius": 5, 7793 "points": false, 7794 "renderer": "flot", 7795 "seriesOverrides": [ 7796 7797 ], 7798 "spaceLength": 10, 7799 "span": 6, 7800 "stack": false, 7801 "steppedLine": false, 7802 "targets": [ 7803 { 7804 "expr": "node:node_memory_swap_io_bytes:sum_rate{cluster=\"$cluster\", node=\"$node\"}", 7805 "format": "time_series", 7806 "intervalFactor": 2, 7807 "legendFormat": "Swap IO", 7808 "legendLink": null, 7809 "step": 10 7810 } 7811 ], 7812 "thresholds": [ 7813 7814 ], 7815 "timeFrom": null, 7816 "timeShift": null, 7817 "title": "Memory Saturation (Swap I/O)", 7818 "tooltip": { 7819 "shared": false, 7820 "sort": 0, 7821 "value_type": "individual" 7822 }, 7823 "type": "graph", 7824 "xaxis": { 7825 "buckets": null, 7826 "mode": "time", 7827 "name": null, 7828 "show": true, 7829 "values": [ 7830 7831 ] 7832 }, 7833 "yaxes": [ 7834 { 7835 "format": "Bps", 7836 "label": null, 7837 "logBase": 1, 7838 "max": null, 7839 "min": 0, 7840 "show": true 7841 }, 7842 { 7843 "format": "short", 7844 "label": null, 7845 "logBase": 1, 7846 "max": null, 7847 "min": null, 7848 "show": false 7849 } 7850 ] 7851 } 7852 ], 7853 "repeat": null, 7854 "repeatIteration": null, 7855 "repeatRowId": null, 7856 "showTitle": true, 7857 "title": "Memory", 7858 "titleSize": "h6" 7859 }, 7860 { 7861 "collapse": false, 7862 "height": "250px", 7863 "panels": [ 7864 { 7865 "aliasColors": { 7866 7867 }, 7868 "bars": false, 7869 "dashLength": 10, 7870 "dashes": false, 7871 "datasource": "$datasource", 7872 "fill": 1, 7873 "id": 5, 7874 "legend": { 7875 "avg": false, 7876 "current": false, 7877 "max": false, 7878 "min": false, 7879 "show": true, 7880 "total": false, 7881 "values": false 7882 }, 7883 "lines": true, 7884 "linewidth": 1, 7885 "links": [ 7886 7887 ], 7888 "nullPointMode": "null as zero", 7889 "percentage": false, 7890 "pointradius": 5, 7891 "points": false, 7892 "renderer": "flot", 7893 "seriesOverrides": [ 7894 7895 ], 7896 "spaceLength": 10, 7897 "span": 6, 7898 "stack": false, 7899 "steppedLine": false, 7900 "targets": [ 7901 { 7902 "expr": "node:node_disk_utilisation:avg_irate{cluster=\"$cluster\", node=\"$node\"}", 7903 "format": "time_series", 7904 "intervalFactor": 2, 7905 "legendFormat": "Utilisation", 7906 "legendLink": null, 7907 "step": 10 7908 } 7909 ], 7910 "thresholds": [ 7911 7912 ], 7913 "timeFrom": null, 7914 "timeShift": null, 7915 "title": "Disk IO Utilisation", 7916 "tooltip": { 7917 "shared": false, 7918 "sort": 0, 7919 "value_type": "individual" 7920 }, 7921 "type": "graph", 7922 "xaxis": { 7923 "buckets": null, 7924 "mode": "time", 7925 "name": null, 7926 "show": true, 7927 "values": [ 7928 7929 ] 7930 }, 7931 "yaxes": [ 7932 { 7933 "format": "percentunit", 7934 "label": null, 7935 "logBase": 1, 7936 "max": null, 7937 "min": 0, 7938 "show": true 7939 }, 7940 { 7941 "format": "short", 7942 "label": null, 7943 "logBase": 1, 7944 "max": null, 7945 "min": null, 7946 "show": false 7947 } 7948 ] 7949 }, 7950 { 7951 "aliasColors": { 7952 7953 }, 7954 "bars": false, 7955 "dashLength": 10, 7956 "dashes": false, 7957 "datasource": "$datasource", 7958 "fill": 1, 7959 "id": 6, 7960 "legend": { 7961 "avg": false, 7962 "current": false, 7963 "max": false, 7964 "min": false, 7965 "show": true, 7966 "total": false, 7967 "values": false 7968 }, 7969 "lines": true, 7970 "linewidth": 1, 7971 "links": [ 7972 7973 ], 7974 "nullPointMode": "null as zero", 7975 "percentage": false, 7976 "pointradius": 5, 7977 "points": false, 7978 "renderer": "flot", 7979 "seriesOverrides": [ 7980 7981 ], 7982 "spaceLength": 10, 7983 "span": 6, 7984 "stack": false, 7985 "steppedLine": false, 7986 "targets": [ 7987 { 7988 "expr": "node:node_disk_saturation:avg_irate{cluster=\"$cluster\", node=\"$node\"}", 7989 "format": "time_series", 7990 "intervalFactor": 2, 7991 "legendFormat": "Saturation", 7992 "legendLink": null, 7993 "step": 10 7994 } 7995 ], 7996 "thresholds": [ 7997 7998 ], 7999 "timeFrom": null, 8000 "timeShift": null, 8001 "title": "Disk IO Saturation", 8002 "tooltip": { 8003 "shared": false, 8004 "sort": 0, 8005 "value_type": "individual" 8006 }, 8007 "type": "graph", 8008 "xaxis": { 8009 "buckets": null, 8010 "mode": "time", 8011 "name": null, 8012 "show": true, 8013 "values": [ 8014 8015 ] 8016 }, 8017 "yaxes": [ 8018 { 8019 "format": "percentunit", 8020 "label": null, 8021 "logBase": 1, 8022 "max": null, 8023 "min": 0, 8024 "show": true 8025 }, 8026 { 8027 "format": "short", 8028 "label": null, 8029 "logBase": 1, 8030 "max": null, 8031 "min": null, 8032 "show": false 8033 } 8034 ] 8035 } 8036 ], 8037 "repeat": null, 8038 "repeatIteration": null, 8039 "repeatRowId": null, 8040 "showTitle": true, 8041 "title": "Disk", 8042 "titleSize": "h6" 8043 }, 8044 { 8045 "collapse": false, 8046 "height": "250px", 8047 "panels": [ 8048 { 8049 "aliasColors": { 8050 8051 }, 8052 "bars": false, 8053 "dashLength": 10, 8054 "dashes": false, 8055 "datasource": "$datasource", 8056 "fill": 1, 8057 "id": 7, 8058 "legend": { 8059 "avg": false, 8060 "current": false, 8061 "max": false, 8062 "min": false, 8063 "show": true, 8064 "total": false, 8065 "values": false 8066 }, 8067 "lines": true, 8068 "linewidth": 1, 8069 "links": [ 8070 8071 ], 8072 "nullPointMode": "null as zero", 8073 "percentage": false, 8074 "pointradius": 5, 8075 "points": false, 8076 "renderer": "flot", 8077 "seriesOverrides": [ 8078 8079 ], 8080 "spaceLength": 10, 8081 "span": 6, 8082 "stack": false, 8083 "steppedLine": false, 8084 "targets": [ 8085 { 8086 "expr": "node:node_net_utilisation:sum_irate{cluster=\"$cluster\", node=\"$node\"}", 8087 "format": "time_series", 8088 "intervalFactor": 2, 8089 "legendFormat": "Utilisation", 8090 "legendLink": null, 8091 "step": 10 8092 } 8093 ], 8094 "thresholds": [ 8095 8096 ], 8097 "timeFrom": null, 8098 "timeShift": null, 8099 "title": "Net Utilisation (Transmitted)", 8100 "tooltip": { 8101 "shared": false, 8102 "sort": 0, 8103 "value_type": "individual" 8104 }, 8105 "type": "graph", 8106 "xaxis": { 8107 "buckets": null, 8108 "mode": "time", 8109 "name": null, 8110 "show": true, 8111 "values": [ 8112 8113 ] 8114 }, 8115 "yaxes": [ 8116 { 8117 "format": "Bps", 8118 "label": null, 8119 "logBase": 1, 8120 "max": null, 8121 "min": 0, 8122 "show": true 8123 }, 8124 { 8125 "format": "short", 8126 "label": null, 8127 "logBase": 1, 8128 "max": null, 8129 "min": null, 8130 "show": false 8131 } 8132 ] 8133 }, 8134 { 8135 "aliasColors": { 8136 8137 }, 8138 "bars": false, 8139 "dashLength": 10, 8140 "dashes": false, 8141 "datasource": "$datasource", 8142 "fill": 1, 8143 "id": 8, 8144 "legend": { 8145 "avg": false, 8146 "current": false, 8147 "max": false, 8148 "min": false, 8149 "show": true, 8150 "total": false, 8151 "values": false 8152 }, 8153 "lines": true, 8154 "linewidth": 1, 8155 "links": [ 8156 8157 ], 8158 "nullPointMode": "null as zero", 8159 "percentage": false, 8160 "pointradius": 5, 8161 "points": false, 8162 "renderer": "flot", 8163 "seriesOverrides": [ 8164 8165 ], 8166 "spaceLength": 10, 8167 "span": 6, 8168 "stack": false, 8169 "steppedLine": false, 8170 "targets": [ 8171 { 8172 "expr": "node:node_net_saturation:sum_irate{cluster=\"$cluster\", node=\"$node\"}", 8173 "format": "time_series", 8174 "intervalFactor": 2, 8175 "legendFormat": "Saturation", 8176 "legendLink": null, 8177 "step": 10 8178 } 8179 ], 8180 "thresholds": [ 8181 8182 ], 8183 "timeFrom": null, 8184 "timeShift": null, 8185 "title": "Net Saturation (Dropped)", 8186 "tooltip": { 8187 "shared": false, 8188 "sort": 0, 8189 "value_type": "individual" 8190 }, 8191 "type": "graph", 8192 "xaxis": { 8193 "buckets": null, 8194 "mode": "time", 8195 "name": null, 8196 "show": true, 8197 "values": [ 8198 8199 ] 8200 }, 8201 "yaxes": [ 8202 { 8203 "format": "Bps", 8204 "label": null, 8205 "logBase": 1, 8206 "max": null, 8207 "min": 0, 8208 "show": true 8209 }, 8210 { 8211 "format": "short", 8212 "label": null, 8213 "logBase": 1, 8214 "max": null, 8215 "min": null, 8216 "show": false 8217 } 8218 ] 8219 } 8220 ], 8221 "repeat": null, 8222 "repeatIteration": null, 8223 "repeatRowId": null, 8224 "showTitle": true, 8225 "title": "Net", 8226 "titleSize": "h6" 8227 }, 8228 { 8229 "collapse": false, 8230 "height": "250px", 8231 "panels": [ 8232 { 8233 "aliasColors": { 8234 8235 }, 8236 "bars": false, 8237 "dashLength": 10, 8238 "dashes": false, 8239 "datasource": "$datasource", 8240 "fill": 1, 8241 "id": 9, 8242 "legend": { 8243 "avg": false, 8244 "current": false, 8245 "max": false, 8246 "min": false, 8247 "show": true, 8248 "total": false, 8249 "values": false 8250 }, 8251 "lines": true, 8252 "linewidth": 1, 8253 "links": [ 8254 8255 ], 8256 "nullPointMode": "null as zero", 8257 "percentage": false, 8258 "pointradius": 5, 8259 "points": false, 8260 "renderer": "flot", 8261 "seriesOverrides": [ 8262 8263 ], 8264 "spaceLength": 10, 8265 "span": 12, 8266 "stack": false, 8267 "steppedLine": false, 8268 "targets": [ 8269 { 8270 "expr": "node:node_filesystem_usage:{cluster=\"$cluster\"}\n* on (namespace, pod) group_left (node) node_namespace_pod:kube_pod_info:{cluster=\"$cluster\", node=\"$node\"}\n", 8271 "format": "time_series", 8272 "intervalFactor": 2, 8273 "legendFormat": "{{device}}", 8274 "legendLink": null, 8275 "step": 10 8276 } 8277 ], 8278 "thresholds": [ 8279 8280 ], 8281 "timeFrom": null, 8282 "timeShift": null, 8283 "title": "Disk Utilisation", 8284 "tooltip": { 8285 "shared": false, 8286 "sort": 0, 8287 "value_type": "individual" 8288 }, 8289 "type": "graph", 8290 "xaxis": { 8291 "buckets": null, 8292 "mode": "time", 8293 "name": null, 8294 "show": true, 8295 "values": [ 8296 8297 ] 8298 }, 8299 "yaxes": [ 8300 { 8301 "format": "percentunit", 8302 "label": null, 8303 "logBase": 1, 8304 "max": null, 8305 "min": 0, 8306 "show": true 8307 }, 8308 { 8309 "format": "short", 8310 "label": null, 8311 "logBase": 1, 8312 "max": null, 8313 "min": null, 8314 "show": false 8315 } 8316 ] 8317 } 8318 ], 8319 "repeat": null, 8320 "repeatIteration": null, 8321 "repeatRowId": null, 8322 "showTitle": true, 8323 "title": "Disk", 8324 "titleSize": "h6" 8325 } 8326 ], 8327 "schemaVersion": 14, 8328 "style": "dark", 8329 "tags": [ 8330 "kubernetes-mixin" 8331 ], 8332 "templating": { 8333 "list": [ 8334 { 8335 "current": { 8336 "text": "Prometheus", 8337 "value": "Prometheus" 8338 }, 8339 "hide": 0, 8340 "label": null, 8341 "name": "datasource", 8342 "options": [ 8343 8344 ], 8345 "query": "prometheus", 8346 "refresh": 1, 8347 "regex": "", 8348 "type": "datasource" 8349 }, 8350 { 8351 "allValue": null, 8352 "current": { 8353 "text": "prod", 8354 "value": "prod" 8355 }, 8356 "datasource": "$datasource", 8357 "hide": 2, 8358 "includeAll": false, 8359 "label": "cluster", 8360 "multi": false, 8361 "name": "cluster", 8362 "options": [ 8363 8364 ], 8365 "query": "label_values(kube_node_info, cluster)", 8366 "refresh": 1, 8367 "regex": "", 8368 "sort": 2, 8369 "tagValuesQuery": "", 8370 "tags": [ 8371 8372 ], 8373 "tagsQuery": "", 8374 "type": "query", 8375 "useTags": false 8376 }, 8377 { 8378 "allValue": null, 8379 "current": { 8380 "text": "prod", 8381 "value": "prod" 8382 }, 8383 "datasource": "$datasource", 8384 "hide": 0, 8385 "includeAll": false, 8386 "label": "node", 8387 "multi": false, 8388 "name": "node", 8389 "options": [ 8390 8391 ], 8392 "query": "label_values(kube_node_info{cluster=\"$cluster\"}, node)", 8393 "refresh": 1, 8394 "regex": "", 8395 "sort": 2, 8396 "tagValuesQuery": "", 8397 "tags": [ 8398 8399 ], 8400 "tagsQuery": "", 8401 "type": "query", 8402 "useTags": false 8403 } 8404 ] 8405 }, 8406 "time": { 8407 "from": "now-1h", 8408 "to": "now" 8409 }, 8410 "timepicker": { 8411 "refresh_intervals": [ 8412 "5s", 8413 "10s", 8414 "30s", 8415 "1m", 8416 "5m", 8417 "15m", 8418 "30m", 8419 "1h", 8420 "2h", 8421 "1d" 8422 ], 8423 "time_options": [ 8424 "5m", 8425 "15m", 8426 "1h", 8427 "6h", 8428 "12h", 8429 "24h", 8430 "2d", 8431 "7d", 8432 "30d" 8433 ] 8434 }, 8435 "timezone": "", 8436 "title": "Kubernetes / USE Method / Node", 8437 "uid": "4ac4f123aae0ff6dbaf4f4f66120033b", 8438 "version": 0 8439 } 8440 kind: ConfigMap 8441 metadata: 8442 name: grafana-dashboard-k8s-node-rsrc-use 8443 namespace: monitoring 8444 - apiVersion: v1 8445 data: 8446 k8s-resources-cluster.json: |- 8447 { 8448 "annotations": { 8449 "list": [ 8450 8451 ] 8452 }, 8453 "editable": true, 8454 "gnetId": null, 8455 "graphTooltip": 0, 8456 "hideControls": false, 8457 "links": [ 8458 8459 ], 8460 "refresh": "10s", 8461 "rows": [ 8462 { 8463 "collapse": false, 8464 "height": "100px", 8465 "panels": [ 8466 { 8467 "aliasColors": { 8468 8469 }, 8470 "bars": false, 8471 "dashLength": 10, 8472 "dashes": false, 8473 "datasource": "$datasource", 8474 "fill": 1, 8475 "format": "percentunit", 8476 "id": 1, 8477 "legend": { 8478 "avg": false, 8479 "current": false, 8480 "max": false, 8481 "min": false, 8482 "show": true, 8483 "total": false, 8484 "values": false 8485 }, 8486 "lines": true, 8487 "linewidth": 1, 8488 "links": [ 8489 8490 ], 8491 "nullPointMode": "null as zero", 8492 "percentage": false, 8493 "pointradius": 5, 8494 "points": false, 8495 "renderer": "flot", 8496 "seriesOverrides": [ 8497 8498 ], 8499 "spaceLength": 10, 8500 "span": 2, 8501 "stack": false, 8502 "steppedLine": false, 8503 "targets": [ 8504 { 8505 "expr": "1 - avg(rate(node_cpu_seconds_total{mode=\"idle\", cluster=\"$cluster\"}[1m]))", 8506 "format": "time_series", 8507 "instant": true, 8508 "intervalFactor": 2, 8509 "refId": "A" 8510 } 8511 ], 8512 "thresholds": "70,80", 8513 "timeFrom": null, 8514 "timeShift": null, 8515 "title": "CPU Utilisation", 8516 "tooltip": { 8517 "shared": false, 8518 "sort": 0, 8519 "value_type": "individual" 8520 }, 8521 "type": "singlestat", 8522 "xaxis": { 8523 "buckets": null, 8524 "mode": "time", 8525 "name": null, 8526 "show": true, 8527 "values": [ 8528 8529 ] 8530 }, 8531 "yaxes": [ 8532 { 8533 "format": "short", 8534 "label": null, 8535 "logBase": 1, 8536 "max": null, 8537 "min": 0, 8538 "show": true 8539 }, 8540 { 8541 "format": "short", 8542 "label": null, 8543 "logBase": 1, 8544 "max": null, 8545 "min": null, 8546 "show": false 8547 } 8548 ] 8549 }, 8550 { 8551 "aliasColors": { 8552 8553 }, 8554 "bars": false, 8555 "dashLength": 10, 8556 "dashes": false, 8557 "datasource": "$datasource", 8558 "fill": 1, 8559 "format": "percentunit", 8560 "id": 2, 8561 "legend": { 8562 "avg": false, 8563 "current": false, 8564 "max": false, 8565 "min": false, 8566 "show": true, 8567 "total": false, 8568 "values": false 8569 }, 8570 "lines": true, 8571 "linewidth": 1, 8572 "links": [ 8573 8574 ], 8575 "nullPointMode": "null as zero", 8576 "percentage": false, 8577 "pointradius": 5, 8578 "points": false, 8579 "renderer": "flot", 8580 "seriesOverrides": [ 8581 8582 ], 8583 "spaceLength": 10, 8584 "span": 2, 8585 "stack": false, 8586 "steppedLine": false, 8587 "targets": [ 8588 { 8589 "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\"}) / sum(node:node_num_cpu:sum{cluster=\"$cluster\"})", 8590 "format": "time_series", 8591 "instant": true, 8592 "intervalFactor": 2, 8593 "refId": "A" 8594 } 8595 ], 8596 "thresholds": "70,80", 8597 "timeFrom": null, 8598 "timeShift": null, 8599 "title": "CPU Requests Commitment", 8600 "tooltip": { 8601 "shared": false, 8602 "sort": 0, 8603 "value_type": "individual" 8604 }, 8605 "type": "singlestat", 8606 "xaxis": { 8607 "buckets": null, 8608 "mode": "time", 8609 "name": null, 8610 "show": true, 8611 "values": [ 8612 8613 ] 8614 }, 8615 "yaxes": [ 8616 { 8617 "format": "short", 8618 "label": null, 8619 "logBase": 1, 8620 "max": null, 8621 "min": 0, 8622 "show": true 8623 }, 8624 { 8625 "format": "short", 8626 "label": null, 8627 "logBase": 1, 8628 "max": null, 8629 "min": null, 8630 "show": false 8631 } 8632 ] 8633 }, 8634 { 8635 "aliasColors": { 8636 8637 }, 8638 "bars": false, 8639 "dashLength": 10, 8640 "dashes": false, 8641 "datasource": "$datasource", 8642 "fill": 1, 8643 "format": "percentunit", 8644 "id": 3, 8645 "legend": { 8646 "avg": false, 8647 "current": false, 8648 "max": false, 8649 "min": false, 8650 "show": true, 8651 "total": false, 8652 "values": false 8653 }, 8654 "lines": true, 8655 "linewidth": 1, 8656 "links": [ 8657 8658 ], 8659 "nullPointMode": "null as zero", 8660 "percentage": false, 8661 "pointradius": 5, 8662 "points": false, 8663 "renderer": "flot", 8664 "seriesOverrides": [ 8665 8666 ], 8667 "spaceLength": 10, 8668 "span": 2, 8669 "stack": false, 8670 "steppedLine": false, 8671 "targets": [ 8672 { 8673 "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\"}) / sum(node:node_num_cpu:sum{cluster=\"$cluster\"})", 8674 "format": "time_series", 8675 "instant": true, 8676 "intervalFactor": 2, 8677 "refId": "A" 8678 } 8679 ], 8680 "thresholds": "70,80", 8681 "timeFrom": null, 8682 "timeShift": null, 8683 "title": "CPU Limits Commitment", 8684 "tooltip": { 8685 "shared": false, 8686 "sort": 0, 8687 "value_type": "individual" 8688 }, 8689 "type": "singlestat", 8690 "xaxis": { 8691 "buckets": null, 8692 "mode": "time", 8693 "name": null, 8694 "show": true, 8695 "values": [ 8696 8697 ] 8698 }, 8699 "yaxes": [ 8700 { 8701 "format": "short", 8702 "label": null, 8703 "logBase": 1, 8704 "max": null, 8705 "min": 0, 8706 "show": true 8707 }, 8708 { 8709 "format": "short", 8710 "label": null, 8711 "logBase": 1, 8712 "max": null, 8713 "min": null, 8714 "show": false 8715 } 8716 ] 8717 }, 8718 { 8719 "aliasColors": { 8720 8721 }, 8722 "bars": false, 8723 "dashLength": 10, 8724 "dashes": false, 8725 "datasource": "$datasource", 8726 "fill": 1, 8727 "format": "percentunit", 8728 "id": 4, 8729 "legend": { 8730 "avg": false, 8731 "current": false, 8732 "max": false, 8733 "min": false, 8734 "show": true, 8735 "total": false, 8736 "values": false 8737 }, 8738 "lines": true, 8739 "linewidth": 1, 8740 "links": [ 8741 8742 ], 8743 "nullPointMode": "null as zero", 8744 "percentage": false, 8745 "pointradius": 5, 8746 "points": false, 8747 "renderer": "flot", 8748 "seriesOverrides": [ 8749 8750 ], 8751 "spaceLength": 10, 8752 "span": 2, 8753 "stack": false, 8754 "steppedLine": false, 8755 "targets": [ 8756 { 8757 "expr": "1 - sum(:node_memory_MemFreeCachedBuffers_bytes:sum{cluster=\"$cluster\"}) / sum(:node_memory_MemTotal_bytes:sum{cluster=\"$cluster\"})", 8758 "format": "time_series", 8759 "instant": true, 8760 "intervalFactor": 2, 8761 "refId": "A" 8762 } 8763 ], 8764 "thresholds": "70,80", 8765 "timeFrom": null, 8766 "timeShift": null, 8767 "title": "Memory Utilisation", 8768 "tooltip": { 8769 "shared": false, 8770 "sort": 0, 8771 "value_type": "individual" 8772 }, 8773 "type": "singlestat", 8774 "xaxis": { 8775 "buckets": null, 8776 "mode": "time", 8777 "name": null, 8778 "show": true, 8779 "values": [ 8780 8781 ] 8782 }, 8783 "yaxes": [ 8784 { 8785 "format": "short", 8786 "label": null, 8787 "logBase": 1, 8788 "max": null, 8789 "min": 0, 8790 "show": true 8791 }, 8792 { 8793 "format": "short", 8794 "label": null, 8795 "logBase": 1, 8796 "max": null, 8797 "min": null, 8798 "show": false 8799 } 8800 ] 8801 }, 8802 { 8803 "aliasColors": { 8804 8805 }, 8806 "bars": false, 8807 "dashLength": 10, 8808 "dashes": false, 8809 "datasource": "$datasource", 8810 "fill": 1, 8811 "format": "percentunit", 8812 "id": 5, 8813 "legend": { 8814 "avg": false, 8815 "current": false, 8816 "max": false, 8817 "min": false, 8818 "show": true, 8819 "total": false, 8820 "values": false 8821 }, 8822 "lines": true, 8823 "linewidth": 1, 8824 "links": [ 8825 8826 ], 8827 "nullPointMode": "null as zero", 8828 "percentage": false, 8829 "pointradius": 5, 8830 "points": false, 8831 "renderer": "flot", 8832 "seriesOverrides": [ 8833 8834 ], 8835 "spaceLength": 10, 8836 "span": 2, 8837 "stack": false, 8838 "steppedLine": false, 8839 "targets": [ 8840 { 8841 "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\"}) / sum(:node_memory_MemTotal_bytes:sum{cluster=\"$cluster\"})", 8842 "format": "time_series", 8843 "instant": true, 8844 "intervalFactor": 2, 8845 "refId": "A" 8846 } 8847 ], 8848 "thresholds": "70,80", 8849 "timeFrom": null, 8850 "timeShift": null, 8851 "title": "Memory Requests Commitment", 8852 "tooltip": { 8853 "shared": false, 8854 "sort": 0, 8855 "value_type": "individual" 8856 }, 8857 "type": "singlestat", 8858 "xaxis": { 8859 "buckets": null, 8860 "mode": "time", 8861 "name": null, 8862 "show": true, 8863 "values": [ 8864 8865 ] 8866 }, 8867 "yaxes": [ 8868 { 8869 "format": "short", 8870 "label": null, 8871 "logBase": 1, 8872 "max": null, 8873 "min": 0, 8874 "show": true 8875 }, 8876 { 8877 "format": "short", 8878 "label": null, 8879 "logBase": 1, 8880 "max": null, 8881 "min": null, 8882 "show": false 8883 } 8884 ] 8885 }, 8886 { 8887 "aliasColors": { 8888 8889 }, 8890 "bars": false, 8891 "dashLength": 10, 8892 "dashes": false, 8893 "datasource": "$datasource", 8894 "fill": 1, 8895 "format": "percentunit", 8896 "id": 6, 8897 "legend": { 8898 "avg": false, 8899 "current": false, 8900 "max": false, 8901 "min": false, 8902 "show": true, 8903 "total": false, 8904 "values": false 8905 }, 8906 "lines": true, 8907 "linewidth": 1, 8908 "links": [ 8909 8910 ], 8911 "nullPointMode": "null as zero", 8912 "percentage": false, 8913 "pointradius": 5, 8914 "points": false, 8915 "renderer": "flot", 8916 "seriesOverrides": [ 8917 8918 ], 8919 "spaceLength": 10, 8920 "span": 2, 8921 "stack": false, 8922 "steppedLine": false, 8923 "targets": [ 8924 { 8925 "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\"}) / sum(:node_memory_MemTotal_bytes:sum{cluster=\"$cluster\"})", 8926 "format": "time_series", 8927 "instant": true, 8928 "intervalFactor": 2, 8929 "refId": "A" 8930 } 8931 ], 8932 "thresholds": "70,80", 8933 "timeFrom": null, 8934 "timeShift": null, 8935 "title": "Memory Limits Commitment", 8936 "tooltip": { 8937 "shared": false, 8938 "sort": 0, 8939 "value_type": "individual" 8940 }, 8941 "type": "singlestat", 8942 "xaxis": { 8943 "buckets": null, 8944 "mode": "time", 8945 "name": null, 8946 "show": true, 8947 "values": [ 8948 8949 ] 8950 }, 8951 "yaxes": [ 8952 { 8953 "format": "short", 8954 "label": null, 8955 "logBase": 1, 8956 "max": null, 8957 "min": 0, 8958 "show": true 8959 }, 8960 { 8961 "format": "short", 8962 "label": null, 8963 "logBase": 1, 8964 "max": null, 8965 "min": null, 8966 "show": false 8967 } 8968 ] 8969 } 8970 ], 8971 "repeat": null, 8972 "repeatIteration": null, 8973 "repeatRowId": null, 8974 "showTitle": false, 8975 "title": "Headlines", 8976 "titleSize": "h6" 8977 }, 8978 { 8979 "collapse": false, 8980 "height": "250px", 8981 "panels": [ 8982 { 8983 "aliasColors": { 8984 8985 }, 8986 "bars": false, 8987 "dashLength": 10, 8988 "dashes": false, 8989 "datasource": "$datasource", 8990 "fill": 10, 8991 "id": 7, 8992 "legend": { 8993 "avg": false, 8994 "current": false, 8995 "max": false, 8996 "min": false, 8997 "show": true, 8998 "total": false, 8999 "values": false 9000 }, 9001 "lines": true, 9002 "linewidth": 0, 9003 "links": [ 9004 9005 ], 9006 "nullPointMode": "null as zero", 9007 "percentage": false, 9008 "pointradius": 5, 9009 "points": false, 9010 "renderer": "flot", 9011 "seriesOverrides": [ 9012 9013 ], 9014 "spaceLength": 10, 9015 "span": 12, 9016 "stack": true, 9017 "steppedLine": false, 9018 "targets": [ 9019 { 9020 "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\"}) by (namespace)", 9021 "format": "time_series", 9022 "intervalFactor": 2, 9023 "legendFormat": "{{namespace}}", 9024 "legendLink": null, 9025 "step": 10 9026 } 9027 ], 9028 "thresholds": [ 9029 9030 ], 9031 "timeFrom": null, 9032 "timeShift": null, 9033 "title": "CPU Usage", 9034 "tooltip": { 9035 "shared": false, 9036 "sort": 0, 9037 "value_type": "individual" 9038 }, 9039 "type": "graph", 9040 "xaxis": { 9041 "buckets": null, 9042 "mode": "time", 9043 "name": null, 9044 "show": true, 9045 "values": [ 9046 9047 ] 9048 }, 9049 "yaxes": [ 9050 { 9051 "format": "short", 9052 "label": null, 9053 "logBase": 1, 9054 "max": null, 9055 "min": 0, 9056 "show": true 9057 }, 9058 { 9059 "format": "short", 9060 "label": null, 9061 "logBase": 1, 9062 "max": null, 9063 "min": null, 9064 "show": false 9065 } 9066 ] 9067 } 9068 ], 9069 "repeat": null, 9070 "repeatIteration": null, 9071 "repeatRowId": null, 9072 "showTitle": true, 9073 "title": "CPU", 9074 "titleSize": "h6" 9075 }, 9076 { 9077 "collapse": false, 9078 "height": "250px", 9079 "panels": [ 9080 { 9081 "aliasColors": { 9082 9083 }, 9084 "bars": false, 9085 "dashLength": 10, 9086 "dashes": false, 9087 "datasource": "$datasource", 9088 "fill": 1, 9089 "id": 8, 9090 "legend": { 9091 "avg": false, 9092 "current": false, 9093 "max": false, 9094 "min": false, 9095 "show": true, 9096 "total": false, 9097 "values": false 9098 }, 9099 "lines": true, 9100 "linewidth": 1, 9101 "links": [ 9102 9103 ], 9104 "nullPointMode": "null as zero", 9105 "percentage": false, 9106 "pointradius": 5, 9107 "points": false, 9108 "renderer": "flot", 9109 "seriesOverrides": [ 9110 9111 ], 9112 "spaceLength": 10, 9113 "span": 12, 9114 "stack": false, 9115 "steppedLine": false, 9116 "styles": [ 9117 { 9118 "alias": "Time", 9119 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9120 "pattern": "Time", 9121 "type": "hidden" 9122 }, 9123 { 9124 "alias": "Pods", 9125 "colorMode": null, 9126 "colors": [ 9127 9128 ], 9129 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9130 "decimals": 0, 9131 "link": true, 9132 "linkTooltip": "Drill down to pods", 9133 "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", 9134 "pattern": "Value #A", 9135 "thresholds": [ 9136 9137 ], 9138 "type": "number", 9139 "unit": "short" 9140 }, 9141 { 9142 "alias": "Workloads", 9143 "colorMode": null, 9144 "colors": [ 9145 9146 ], 9147 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9148 "decimals": 0, 9149 "link": true, 9150 "linkTooltip": "Drill down to workloads", 9151 "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", 9152 "pattern": "Value #B", 9153 "thresholds": [ 9154 9155 ], 9156 "type": "number", 9157 "unit": "short" 9158 }, 9159 { 9160 "alias": "CPU Usage", 9161 "colorMode": null, 9162 "colors": [ 9163 9164 ], 9165 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9166 "decimals": 2, 9167 "link": false, 9168 "linkTooltip": "Drill down", 9169 "linkUrl": "", 9170 "pattern": "Value #C", 9171 "thresholds": [ 9172 9173 ], 9174 "type": "number", 9175 "unit": "short" 9176 }, 9177 { 9178 "alias": "CPU Requests", 9179 "colorMode": null, 9180 "colors": [ 9181 9182 ], 9183 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9184 "decimals": 2, 9185 "link": false, 9186 "linkTooltip": "Drill down", 9187 "linkUrl": "", 9188 "pattern": "Value #D", 9189 "thresholds": [ 9190 9191 ], 9192 "type": "number", 9193 "unit": "short" 9194 }, 9195 { 9196 "alias": "CPU Requests %", 9197 "colorMode": null, 9198 "colors": [ 9199 9200 ], 9201 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9202 "decimals": 2, 9203 "link": false, 9204 "linkTooltip": "Drill down", 9205 "linkUrl": "", 9206 "pattern": "Value #E", 9207 "thresholds": [ 9208 9209 ], 9210 "type": "number", 9211 "unit": "percentunit" 9212 }, 9213 { 9214 "alias": "CPU Limits", 9215 "colorMode": null, 9216 "colors": [ 9217 9218 ], 9219 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9220 "decimals": 2, 9221 "link": false, 9222 "linkTooltip": "Drill down", 9223 "linkUrl": "", 9224 "pattern": "Value #F", 9225 "thresholds": [ 9226 9227 ], 9228 "type": "number", 9229 "unit": "short" 9230 }, 9231 { 9232 "alias": "CPU Limits %", 9233 "colorMode": null, 9234 "colors": [ 9235 9236 ], 9237 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9238 "decimals": 2, 9239 "link": false, 9240 "linkTooltip": "Drill down", 9241 "linkUrl": "", 9242 "pattern": "Value #G", 9243 "thresholds": [ 9244 9245 ], 9246 "type": "number", 9247 "unit": "percentunit" 9248 }, 9249 { 9250 "alias": "Namespace", 9251 "colorMode": null, 9252 "colors": [ 9253 9254 ], 9255 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9256 "decimals": 2, 9257 "link": true, 9258 "linkTooltip": "Drill down to pods", 9259 "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", 9260 "pattern": "namespace", 9261 "thresholds": [ 9262 9263 ], 9264 "type": "number", 9265 "unit": "short" 9266 }, 9267 { 9268 "alias": "", 9269 "colorMode": null, 9270 "colors": [ 9271 9272 ], 9273 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9274 "decimals": 2, 9275 "pattern": "/.*/", 9276 "thresholds": [ 9277 9278 ], 9279 "type": "string", 9280 "unit": "short" 9281 } 9282 ], 9283 "targets": [ 9284 { 9285 "expr": "count(mixin_pod_workload{cluster=\"$cluster\"}) by (namespace)", 9286 "format": "table", 9287 "instant": true, 9288 "intervalFactor": 2, 9289 "legendFormat": "", 9290 "refId": "A", 9291 "step": 10 9292 }, 9293 { 9294 "expr": "count(avg(mixin_pod_workload{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)", 9295 "format": "table", 9296 "instant": true, 9297 "intervalFactor": 2, 9298 "legendFormat": "", 9299 "refId": "B", 9300 "step": 10 9301 }, 9302 { 9303 "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\"}) by (namespace)", 9304 "format": "table", 9305 "instant": true, 9306 "intervalFactor": 2, 9307 "legendFormat": "", 9308 "refId": "C", 9309 "step": 10 9310 }, 9311 { 9312 "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\"}) by (namespace)", 9313 "format": "table", 9314 "instant": true, 9315 "intervalFactor": 2, 9316 "legendFormat": "", 9317 "refId": "D", 9318 "step": 10 9319 }, 9320 { 9321 "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\"}) by (namespace) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\"}) by (namespace)", 9322 "format": "table", 9323 "instant": true, 9324 "intervalFactor": 2, 9325 "legendFormat": "", 9326 "refId": "E", 9327 "step": 10 9328 }, 9329 { 9330 "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\"}) by (namespace)", 9331 "format": "table", 9332 "instant": true, 9333 "intervalFactor": 2, 9334 "legendFormat": "", 9335 "refId": "F", 9336 "step": 10 9337 }, 9338 { 9339 "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\"}) by (namespace) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\"}) by (namespace)", 9340 "format": "table", 9341 "instant": true, 9342 "intervalFactor": 2, 9343 "legendFormat": "", 9344 "refId": "G", 9345 "step": 10 9346 } 9347 ], 9348 "thresholds": [ 9349 9350 ], 9351 "timeFrom": null, 9352 "timeShift": null, 9353 "title": "CPU Quota", 9354 "tooltip": { 9355 "shared": false, 9356 "sort": 0, 9357 "value_type": "individual" 9358 }, 9359 "transform": "table", 9360 "type": "table", 9361 "xaxis": { 9362 "buckets": null, 9363 "mode": "time", 9364 "name": null, 9365 "show": true, 9366 "values": [ 9367 9368 ] 9369 }, 9370 "yaxes": [ 9371 { 9372 "format": "short", 9373 "label": null, 9374 "logBase": 1, 9375 "max": null, 9376 "min": 0, 9377 "show": true 9378 }, 9379 { 9380 "format": "short", 9381 "label": null, 9382 "logBase": 1, 9383 "max": null, 9384 "min": null, 9385 "show": false 9386 } 9387 ] 9388 } 9389 ], 9390 "repeat": null, 9391 "repeatIteration": null, 9392 "repeatRowId": null, 9393 "showTitle": true, 9394 "title": "CPU Quota", 9395 "titleSize": "h6" 9396 }, 9397 { 9398 "collapse": false, 9399 "height": "250px", 9400 "panels": [ 9401 { 9402 "aliasColors": { 9403 9404 }, 9405 "bars": false, 9406 "dashLength": 10, 9407 "dashes": false, 9408 "datasource": "$datasource", 9409 "fill": 10, 9410 "id": 9, 9411 "legend": { 9412 "avg": false, 9413 "current": false, 9414 "max": false, 9415 "min": false, 9416 "show": true, 9417 "total": false, 9418 "values": false 9419 }, 9420 "lines": true, 9421 "linewidth": 0, 9422 "links": [ 9423 9424 ], 9425 "nullPointMode": "null as zero", 9426 "percentage": false, 9427 "pointradius": 5, 9428 "points": false, 9429 "renderer": "flot", 9430 "seriesOverrides": [ 9431 9432 ], 9433 "spaceLength": 10, 9434 "span": 12, 9435 "stack": true, 9436 "steppedLine": false, 9437 "targets": [ 9438 { 9439 "expr": "sum(container_memory_rss{cluster=\"$cluster\", container_name!=\"\"}) by (namespace)", 9440 "format": "time_series", 9441 "intervalFactor": 2, 9442 "legendFormat": "{{namespace}}", 9443 "legendLink": null, 9444 "step": 10 9445 } 9446 ], 9447 "thresholds": [ 9448 9449 ], 9450 "timeFrom": null, 9451 "timeShift": null, 9452 "title": "Memory Usage (w/o cache)", 9453 "tooltip": { 9454 "shared": false, 9455 "sort": 0, 9456 "value_type": "individual" 9457 }, 9458 "type": "graph", 9459 "xaxis": { 9460 "buckets": null, 9461 "mode": "time", 9462 "name": null, 9463 "show": true, 9464 "values": [ 9465 9466 ] 9467 }, 9468 "yaxes": [ 9469 { 9470 "format": "bytes", 9471 "label": null, 9472 "logBase": 1, 9473 "max": null, 9474 "min": 0, 9475 "show": true 9476 }, 9477 { 9478 "format": "short", 9479 "label": null, 9480 "logBase": 1, 9481 "max": null, 9482 "min": null, 9483 "show": false 9484 } 9485 ] 9486 } 9487 ], 9488 "repeat": null, 9489 "repeatIteration": null, 9490 "repeatRowId": null, 9491 "showTitle": true, 9492 "title": "Memory", 9493 "titleSize": "h6" 9494 }, 9495 { 9496 "collapse": false, 9497 "height": "250px", 9498 "panels": [ 9499 { 9500 "aliasColors": { 9501 9502 }, 9503 "bars": false, 9504 "dashLength": 10, 9505 "dashes": false, 9506 "datasource": "$datasource", 9507 "fill": 1, 9508 "id": 10, 9509 "legend": { 9510 "avg": false, 9511 "current": false, 9512 "max": false, 9513 "min": false, 9514 "show": true, 9515 "total": false, 9516 "values": false 9517 }, 9518 "lines": true, 9519 "linewidth": 1, 9520 "links": [ 9521 9522 ], 9523 "nullPointMode": "null as zero", 9524 "percentage": false, 9525 "pointradius": 5, 9526 "points": false, 9527 "renderer": "flot", 9528 "seriesOverrides": [ 9529 9530 ], 9531 "spaceLength": 10, 9532 "span": 12, 9533 "stack": false, 9534 "steppedLine": false, 9535 "styles": [ 9536 { 9537 "alias": "Time", 9538 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9539 "pattern": "Time", 9540 "type": "hidden" 9541 }, 9542 { 9543 "alias": "Pods", 9544 "colorMode": null, 9545 "colors": [ 9546 9547 ], 9548 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9549 "decimals": 0, 9550 "link": true, 9551 "linkTooltip": "Drill down to pods", 9552 "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", 9553 "pattern": "Value #A", 9554 "thresholds": [ 9555 9556 ], 9557 "type": "number", 9558 "unit": "short" 9559 }, 9560 { 9561 "alias": "Workloads", 9562 "colorMode": null, 9563 "colors": [ 9564 9565 ], 9566 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9567 "decimals": 0, 9568 "link": true, 9569 "linkTooltip": "Drill down to workloads", 9570 "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", 9571 "pattern": "Value #B", 9572 "thresholds": [ 9573 9574 ], 9575 "type": "number", 9576 "unit": "short" 9577 }, 9578 { 9579 "alias": "Memory Usage", 9580 "colorMode": null, 9581 "colors": [ 9582 9583 ], 9584 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9585 "decimals": 2, 9586 "link": false, 9587 "linkTooltip": "Drill down", 9588 "linkUrl": "", 9589 "pattern": "Value #C", 9590 "thresholds": [ 9591 9592 ], 9593 "type": "number", 9594 "unit": "bytes" 9595 }, 9596 { 9597 "alias": "Memory Requests", 9598 "colorMode": null, 9599 "colors": [ 9600 9601 ], 9602 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9603 "decimals": 2, 9604 "link": false, 9605 "linkTooltip": "Drill down", 9606 "linkUrl": "", 9607 "pattern": "Value #D", 9608 "thresholds": [ 9609 9610 ], 9611 "type": "number", 9612 "unit": "bytes" 9613 }, 9614 { 9615 "alias": "Memory Requests %", 9616 "colorMode": null, 9617 "colors": [ 9618 9619 ], 9620 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9621 "decimals": 2, 9622 "link": false, 9623 "linkTooltip": "Drill down", 9624 "linkUrl": "", 9625 "pattern": "Value #E", 9626 "thresholds": [ 9627 9628 ], 9629 "type": "number", 9630 "unit": "percentunit" 9631 }, 9632 { 9633 "alias": "Memory Limits", 9634 "colorMode": null, 9635 "colors": [ 9636 9637 ], 9638 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9639 "decimals": 2, 9640 "link": false, 9641 "linkTooltip": "Drill down", 9642 "linkUrl": "", 9643 "pattern": "Value #F", 9644 "thresholds": [ 9645 9646 ], 9647 "type": "number", 9648 "unit": "bytes" 9649 }, 9650 { 9651 "alias": "Memory Limits %", 9652 "colorMode": null, 9653 "colors": [ 9654 9655 ], 9656 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9657 "decimals": 2, 9658 "link": false, 9659 "linkTooltip": "Drill down", 9660 "linkUrl": "", 9661 "pattern": "Value #G", 9662 "thresholds": [ 9663 9664 ], 9665 "type": "number", 9666 "unit": "percentunit" 9667 }, 9668 { 9669 "alias": "Namespace", 9670 "colorMode": null, 9671 "colors": [ 9672 9673 ], 9674 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9675 "decimals": 2, 9676 "link": true, 9677 "linkTooltip": "Drill down to pods", 9678 "linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", 9679 "pattern": "namespace", 9680 "thresholds": [ 9681 9682 ], 9683 "type": "number", 9684 "unit": "short" 9685 }, 9686 { 9687 "alias": "", 9688 "colorMode": null, 9689 "colors": [ 9690 9691 ], 9692 "dateFormat": "YYYY-MM-DD HH:mm:ss", 9693 "decimals": 2, 9694 "pattern": "/.*/", 9695 "thresholds": [ 9696 9697 ], 9698 "type": "string", 9699 "unit": "short" 9700 } 9701 ], 9702 "targets": [ 9703 { 9704 "expr": "count(mixin_pod_workload{cluster=\"$cluster\"}) by (namespace)", 9705 "format": "table", 9706 "instant": true, 9707 "intervalFactor": 2, 9708 "legendFormat": "", 9709 "refId": "A", 9710 "step": 10 9711 }, 9712 { 9713 "expr": "count(avg(mixin_pod_workload{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)", 9714 "format": "table", 9715 "instant": true, 9716 "intervalFactor": 2, 9717 "legendFormat": "", 9718 "refId": "B", 9719 "step": 10 9720 }, 9721 { 9722 "expr": "sum(container_memory_rss{cluster=\"$cluster\", container_name!=\"\"}) by (namespace)", 9723 "format": "table", 9724 "instant": true, 9725 "intervalFactor": 2, 9726 "legendFormat": "", 9727 "refId": "C", 9728 "step": 10 9729 }, 9730 { 9731 "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\"}) by (namespace)", 9732 "format": "table", 9733 "instant": true, 9734 "intervalFactor": 2, 9735 "legendFormat": "", 9736 "refId": "D", 9737 "step": 10 9738 }, 9739 { 9740 "expr": "sum(container_memory_rss{cluster=\"$cluster\", container_name!=\"\"}) by (namespace) / sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\"}) by (namespace)", 9741 "format": "table", 9742 "instant": true, 9743 "intervalFactor": 2, 9744 "legendFormat": "", 9745 "refId": "E", 9746 "step": 10 9747 }, 9748 { 9749 "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\"}) by (namespace)", 9750 "format": "table", 9751 "instant": true, 9752 "intervalFactor": 2, 9753 "legendFormat": "", 9754 "refId": "F", 9755 "step": 10 9756 }, 9757 { 9758 "expr": "sum(container_memory_rss{cluster=\"$cluster\", container_name!=\"\"}) by (namespace) / sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\"}) by (namespace)", 9759 "format": "table", 9760 "instant": true, 9761 "intervalFactor": 2, 9762 "legendFormat": "", 9763 "refId": "G", 9764 "step": 10 9765 } 9766 ], 9767 "thresholds": [ 9768 9769 ], 9770 "timeFrom": null, 9771 "timeShift": null, 9772 "title": "Requests by Namespace", 9773 "tooltip": { 9774 "shared": false, 9775 "sort": 0, 9776 "value_type": "individual" 9777 }, 9778 "transform": "table", 9779 "type": "table", 9780 "xaxis": { 9781 "buckets": null, 9782 "mode": "time", 9783 "name": null, 9784 "show": true, 9785 "values": [ 9786 9787 ] 9788 }, 9789 "yaxes": [ 9790 { 9791 "format": "short", 9792 "label": null, 9793 "logBase": 1, 9794 "max": null, 9795 "min": 0, 9796 "show": true 9797 }, 9798 { 9799 "format": "short", 9800 "label": null, 9801 "logBase": 1, 9802 "max": null, 9803 "min": null, 9804 "show": false 9805 } 9806 ] 9807 } 9808 ], 9809 "repeat": null, 9810 "repeatIteration": null, 9811 "repeatRowId": null, 9812 "showTitle": true, 9813 "title": "Memory Requests", 9814 "titleSize": "h6" 9815 } 9816 ], 9817 "schemaVersion": 14, 9818 "style": "dark", 9819 "tags": [ 9820 "kubernetes-mixin" 9821 ], 9822 "templating": { 9823 "list": [ 9824 { 9825 "current": { 9826 "text": "Prometheus", 9827 "value": "Prometheus" 9828 }, 9829 "hide": 0, 9830 "label": null, 9831 "name": "datasource", 9832 "options": [ 9833 9834 ], 9835 "query": "prometheus", 9836 "refresh": 1, 9837 "regex": "", 9838 "type": "datasource" 9839 }, 9840 { 9841 "allValue": null, 9842 "current": { 9843 "text": "prod", 9844 "value": "prod" 9845 }, 9846 "datasource": "$datasource", 9847 "hide": 2, 9848 "includeAll": false, 9849 "label": "cluster", 9850 "multi": false, 9851 "name": "cluster", 9852 "options": [ 9853 9854 ], 9855 "query": "label_values(node_cpu_seconds_total, cluster)", 9856 "refresh": 1, 9857 "regex": "", 9858 "sort": 2, 9859 "tagValuesQuery": "", 9860 "tags": [ 9861 9862 ], 9863 "tagsQuery": "", 9864 "type": "query", 9865 "useTags": false 9866 } 9867 ] 9868 }, 9869 "time": { 9870 "from": "now-1h", 9871 "to": "now" 9872 }, 9873 "timepicker": { 9874 "refresh_intervals": [ 9875 "5s", 9876 "10s", 9877 "30s", 9878 "1m", 9879 "5m", 9880 "15m", 9881 "30m", 9882 "1h", 9883 "2h", 9884 "1d" 9885 ], 9886 "time_options": [ 9887 "5m", 9888 "15m", 9889 "1h", 9890 "6h", 9891 "12h", 9892 "24h", 9893 "2d", 9894 "7d", 9895 "30d" 9896 ] 9897 }, 9898 "timezone": "", 9899 "title": "Kubernetes / Compute Resources / Cluster", 9900 "uid": "efa86fd1d0c121a26444b636a3f509a8", 9901 "version": 0 9902 } 9903 kind: ConfigMap 9904 metadata: 9905 name: grafana-dashboard-k8s-resources-cluster 9906 namespace: monitoring 9907 - apiVersion: v1 9908 data: 9909 k8s-resources-namespace.json: |- 9910 { 9911 "annotations": { 9912 "list": [ 9913 9914 ] 9915 }, 9916 "editable": true, 9917 "gnetId": null, 9918 "graphTooltip": 0, 9919 "hideControls": false, 9920 "links": [ 9921 9922 ], 9923 "refresh": "10s", 9924 "rows": [ 9925 { 9926 "collapse": false, 9927 "height": "250px", 9928 "panels": [ 9929 { 9930 "aliasColors": { 9931 9932 }, 9933 "bars": false, 9934 "dashLength": 10, 9935 "dashes": false, 9936 "datasource": "$datasource", 9937 "fill": 10, 9938 "id": 1, 9939 "legend": { 9940 "avg": false, 9941 "current": false, 9942 "max": false, 9943 "min": false, 9944 "show": true, 9945 "total": false, 9946 "values": false 9947 }, 9948 "lines": true, 9949 "linewidth": 0, 9950 "links": [ 9951 9952 ], 9953 "nullPointMode": "null as zero", 9954 "percentage": false, 9955 "pointradius": 5, 9956 "points": false, 9957 "renderer": "flot", 9958 "seriesOverrides": [ 9959 9960 ], 9961 "spaceLength": 10, 9962 "span": 12, 9963 "stack": true, 9964 "steppedLine": false, 9965 "targets": [ 9966 { 9967 "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod_name)", 9968 "format": "time_series", 9969 "intervalFactor": 2, 9970 "legendFormat": "{{pod_name}}", 9971 "legendLink": null, 9972 "step": 10 9973 } 9974 ], 9975 "thresholds": [ 9976 9977 ], 9978 "timeFrom": null, 9979 "timeShift": null, 9980 "title": "CPU Usage", 9981 "tooltip": { 9982 "shared": false, 9983 "sort": 0, 9984 "value_type": "individual" 9985 }, 9986 "type": "graph", 9987 "xaxis": { 9988 "buckets": null, 9989 "mode": "time", 9990 "name": null, 9991 "show": true, 9992 "values": [ 9993 9994 ] 9995 }, 9996 "yaxes": [ 9997 { 9998 "format": "short", 9999 "label": null, 10000 "logBase": 1, 10001 "max": null, 10002 "min": 0, 10003 "show": true 10004 }, 10005 { 10006 "format": "short", 10007 "label": null, 10008 "logBase": 1, 10009 "max": null, 10010 "min": null, 10011 "show": false 10012 } 10013 ] 10014 } 10015 ], 10016 "repeat": null, 10017 "repeatIteration": null, 10018 "repeatRowId": null, 10019 "showTitle": true, 10020 "title": "CPU Usage", 10021 "titleSize": "h6" 10022 }, 10023 { 10024 "collapse": false, 10025 "height": "250px", 10026 "panels": [ 10027 { 10028 "aliasColors": { 10029 10030 }, 10031 "bars": false, 10032 "dashLength": 10, 10033 "dashes": false, 10034 "datasource": "$datasource", 10035 "fill": 1, 10036 "id": 2, 10037 "legend": { 10038 "avg": false, 10039 "current": false, 10040 "max": false, 10041 "min": false, 10042 "show": true, 10043 "total": false, 10044 "values": false 10045 }, 10046 "lines": true, 10047 "linewidth": 1, 10048 "links": [ 10049 10050 ], 10051 "nullPointMode": "null as zero", 10052 "percentage": false, 10053 "pointradius": 5, 10054 "points": false, 10055 "renderer": "flot", 10056 "seriesOverrides": [ 10057 10058 ], 10059 "spaceLength": 10, 10060 "span": 12, 10061 "stack": false, 10062 "steppedLine": false, 10063 "styles": [ 10064 { 10065 "alias": "Time", 10066 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10067 "pattern": "Time", 10068 "type": "hidden" 10069 }, 10070 { 10071 "alias": "CPU Usage", 10072 "colorMode": null, 10073 "colors": [ 10074 10075 ], 10076 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10077 "decimals": 2, 10078 "link": false, 10079 "linkTooltip": "Drill down", 10080 "linkUrl": "", 10081 "pattern": "Value #A", 10082 "thresholds": [ 10083 10084 ], 10085 "type": "number", 10086 "unit": "short" 10087 }, 10088 { 10089 "alias": "CPU Requests", 10090 "colorMode": null, 10091 "colors": [ 10092 10093 ], 10094 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10095 "decimals": 2, 10096 "link": false, 10097 "linkTooltip": "Drill down", 10098 "linkUrl": "", 10099 "pattern": "Value #B", 10100 "thresholds": [ 10101 10102 ], 10103 "type": "number", 10104 "unit": "short" 10105 }, 10106 { 10107 "alias": "CPU Requests %", 10108 "colorMode": null, 10109 "colors": [ 10110 10111 ], 10112 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10113 "decimals": 2, 10114 "link": false, 10115 "linkTooltip": "Drill down", 10116 "linkUrl": "", 10117 "pattern": "Value #C", 10118 "thresholds": [ 10119 10120 ], 10121 "type": "number", 10122 "unit": "percentunit" 10123 }, 10124 { 10125 "alias": "CPU Limits", 10126 "colorMode": null, 10127 "colors": [ 10128 10129 ], 10130 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10131 "decimals": 2, 10132 "link": false, 10133 "linkTooltip": "Drill down", 10134 "linkUrl": "", 10135 "pattern": "Value #D", 10136 "thresholds": [ 10137 10138 ], 10139 "type": "number", 10140 "unit": "short" 10141 }, 10142 { 10143 "alias": "CPU Limits %", 10144 "colorMode": null, 10145 "colors": [ 10146 10147 ], 10148 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10149 "decimals": 2, 10150 "link": false, 10151 "linkTooltip": "Drill down", 10152 "linkUrl": "", 10153 "pattern": "Value #E", 10154 "thresholds": [ 10155 10156 ], 10157 "type": "number", 10158 "unit": "percentunit" 10159 }, 10160 { 10161 "alias": "Pod", 10162 "colorMode": null, 10163 "colors": [ 10164 10165 ], 10166 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10167 "decimals": 2, 10168 "link": true, 10169 "linkTooltip": "Drill down", 10170 "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", 10171 "pattern": "pod", 10172 "thresholds": [ 10173 10174 ], 10175 "type": "number", 10176 "unit": "short" 10177 }, 10178 { 10179 "alias": "", 10180 "colorMode": null, 10181 "colors": [ 10182 10183 ], 10184 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10185 "decimals": 2, 10186 "pattern": "/.*/", 10187 "thresholds": [ 10188 10189 ], 10190 "type": "string", 10191 "unit": "short" 10192 } 10193 ], 10194 "targets": [ 10195 { 10196 "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod)", 10197 "format": "table", 10198 "instant": true, 10199 "intervalFactor": 2, 10200 "legendFormat": "", 10201 "refId": "A", 10202 "step": 10 10203 }, 10204 { 10205 "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", 10206 "format": "table", 10207 "instant": true, 10208 "intervalFactor": 2, 10209 "legendFormat": "", 10210 "refId": "B", 10211 "step": 10 10212 }, 10213 { 10214 "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", 10215 "format": "table", 10216 "instant": true, 10217 "intervalFactor": 2, 10218 "legendFormat": "", 10219 "refId": "C", 10220 "step": 10 10221 }, 10222 { 10223 "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", 10224 "format": "table", 10225 "instant": true, 10226 "intervalFactor": 2, 10227 "legendFormat": "", 10228 "refId": "D", 10229 "step": 10 10230 }, 10231 { 10232 "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", 10233 "format": "table", 10234 "instant": true, 10235 "intervalFactor": 2, 10236 "legendFormat": "", 10237 "refId": "E", 10238 "step": 10 10239 } 10240 ], 10241 "thresholds": [ 10242 10243 ], 10244 "timeFrom": null, 10245 "timeShift": null, 10246 "title": "CPU Quota", 10247 "tooltip": { 10248 "shared": false, 10249 "sort": 0, 10250 "value_type": "individual" 10251 }, 10252 "transform": "table", 10253 "type": "table", 10254 "xaxis": { 10255 "buckets": null, 10256 "mode": "time", 10257 "name": null, 10258 "show": true, 10259 "values": [ 10260 10261 ] 10262 }, 10263 "yaxes": [ 10264 { 10265 "format": "short", 10266 "label": null, 10267 "logBase": 1, 10268 "max": null, 10269 "min": 0, 10270 "show": true 10271 }, 10272 { 10273 "format": "short", 10274 "label": null, 10275 "logBase": 1, 10276 "max": null, 10277 "min": null, 10278 "show": false 10279 } 10280 ] 10281 } 10282 ], 10283 "repeat": null, 10284 "repeatIteration": null, 10285 "repeatRowId": null, 10286 "showTitle": true, 10287 "title": "CPU Quota", 10288 "titleSize": "h6" 10289 }, 10290 { 10291 "collapse": false, 10292 "height": "250px", 10293 "panels": [ 10294 { 10295 "aliasColors": { 10296 10297 }, 10298 "bars": false, 10299 "dashLength": 10, 10300 "dashes": false, 10301 "datasource": "$datasource", 10302 "fill": 10, 10303 "id": 3, 10304 "legend": { 10305 "avg": false, 10306 "current": false, 10307 "max": false, 10308 "min": false, 10309 "show": true, 10310 "total": false, 10311 "values": false 10312 }, 10313 "lines": true, 10314 "linewidth": 0, 10315 "links": [ 10316 10317 ], 10318 "nullPointMode": "null as zero", 10319 "percentage": false, 10320 "pointradius": 5, 10321 "points": false, 10322 "renderer": "flot", 10323 "seriesOverrides": [ 10324 10325 ], 10326 "spaceLength": 10, 10327 "span": 12, 10328 "stack": true, 10329 "steppedLine": false, 10330 "targets": [ 10331 { 10332 "expr": "sum(container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"}) by (pod_name)", 10333 "format": "time_series", 10334 "intervalFactor": 2, 10335 "legendFormat": "{{pod_name}}", 10336 "legendLink": null, 10337 "step": 10 10338 } 10339 ], 10340 "thresholds": [ 10341 10342 ], 10343 "timeFrom": null, 10344 "timeShift": null, 10345 "title": "Memory Usage (w/o cache)", 10346 "tooltip": { 10347 "shared": false, 10348 "sort": 0, 10349 "value_type": "individual" 10350 }, 10351 "type": "graph", 10352 "xaxis": { 10353 "buckets": null, 10354 "mode": "time", 10355 "name": null, 10356 "show": true, 10357 "values": [ 10358 10359 ] 10360 }, 10361 "yaxes": [ 10362 { 10363 "format": "bytes", 10364 "label": null, 10365 "logBase": 1, 10366 "max": null, 10367 "min": 0, 10368 "show": true 10369 }, 10370 { 10371 "format": "short", 10372 "label": null, 10373 "logBase": 1, 10374 "max": null, 10375 "min": null, 10376 "show": false 10377 } 10378 ] 10379 } 10380 ], 10381 "repeat": null, 10382 "repeatIteration": null, 10383 "repeatRowId": null, 10384 "showTitle": true, 10385 "title": "Memory Usage", 10386 "titleSize": "h6" 10387 }, 10388 { 10389 "collapse": false, 10390 "height": "250px", 10391 "panels": [ 10392 { 10393 "aliasColors": { 10394 10395 }, 10396 "bars": false, 10397 "dashLength": 10, 10398 "dashes": false, 10399 "datasource": "$datasource", 10400 "fill": 1, 10401 "id": 4, 10402 "legend": { 10403 "avg": false, 10404 "current": false, 10405 "max": false, 10406 "min": false, 10407 "show": true, 10408 "total": false, 10409 "values": false 10410 }, 10411 "lines": true, 10412 "linewidth": 1, 10413 "links": [ 10414 10415 ], 10416 "nullPointMode": "null as zero", 10417 "percentage": false, 10418 "pointradius": 5, 10419 "points": false, 10420 "renderer": "flot", 10421 "seriesOverrides": [ 10422 10423 ], 10424 "spaceLength": 10, 10425 "span": 12, 10426 "stack": false, 10427 "steppedLine": false, 10428 "styles": [ 10429 { 10430 "alias": "Time", 10431 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10432 "pattern": "Time", 10433 "type": "hidden" 10434 }, 10435 { 10436 "alias": "Memory Usage", 10437 "colorMode": null, 10438 "colors": [ 10439 10440 ], 10441 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10442 "decimals": 2, 10443 "link": false, 10444 "linkTooltip": "Drill down", 10445 "linkUrl": "", 10446 "pattern": "Value #A", 10447 "thresholds": [ 10448 10449 ], 10450 "type": "number", 10451 "unit": "bytes" 10452 }, 10453 { 10454 "alias": "Memory Requests", 10455 "colorMode": null, 10456 "colors": [ 10457 10458 ], 10459 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10460 "decimals": 2, 10461 "link": false, 10462 "linkTooltip": "Drill down", 10463 "linkUrl": "", 10464 "pattern": "Value #B", 10465 "thresholds": [ 10466 10467 ], 10468 "type": "number", 10469 "unit": "bytes" 10470 }, 10471 { 10472 "alias": "Memory Requests %", 10473 "colorMode": null, 10474 "colors": [ 10475 10476 ], 10477 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10478 "decimals": 2, 10479 "link": false, 10480 "linkTooltip": "Drill down", 10481 "linkUrl": "", 10482 "pattern": "Value #C", 10483 "thresholds": [ 10484 10485 ], 10486 "type": "number", 10487 "unit": "percentunit" 10488 }, 10489 { 10490 "alias": "Memory Limits", 10491 "colorMode": null, 10492 "colors": [ 10493 10494 ], 10495 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10496 "decimals": 2, 10497 "link": false, 10498 "linkTooltip": "Drill down", 10499 "linkUrl": "", 10500 "pattern": "Value #D", 10501 "thresholds": [ 10502 10503 ], 10504 "type": "number", 10505 "unit": "bytes" 10506 }, 10507 { 10508 "alias": "Memory Limits %", 10509 "colorMode": null, 10510 "colors": [ 10511 10512 ], 10513 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10514 "decimals": 2, 10515 "link": false, 10516 "linkTooltip": "Drill down", 10517 "linkUrl": "", 10518 "pattern": "Value #E", 10519 "thresholds": [ 10520 10521 ], 10522 "type": "number", 10523 "unit": "percentunit" 10524 }, 10525 { 10526 "alias": "Memory Usage (RSS)", 10527 "colorMode": null, 10528 "colors": [ 10529 10530 ], 10531 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10532 "decimals": 2, 10533 "link": false, 10534 "linkTooltip": "Drill down", 10535 "linkUrl": "", 10536 "pattern": "Value #F", 10537 "thresholds": [ 10538 10539 ], 10540 "type": "number", 10541 "unit": "bytes" 10542 }, 10543 { 10544 "alias": "Memory Usage (Cache)", 10545 "colorMode": null, 10546 "colors": [ 10547 10548 ], 10549 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10550 "decimals": 2, 10551 "link": false, 10552 "linkTooltip": "Drill down", 10553 "linkUrl": "", 10554 "pattern": "Value #G", 10555 "thresholds": [ 10556 10557 ], 10558 "type": "number", 10559 "unit": "bytes" 10560 }, 10561 { 10562 "alias": "Memory Usage (Swap", 10563 "colorMode": null, 10564 "colors": [ 10565 10566 ], 10567 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10568 "decimals": 2, 10569 "link": false, 10570 "linkTooltip": "Drill down", 10571 "linkUrl": "", 10572 "pattern": "Value #H", 10573 "thresholds": [ 10574 10575 ], 10576 "type": "number", 10577 "unit": "bytes" 10578 }, 10579 { 10580 "alias": "Pod", 10581 "colorMode": null, 10582 "colors": [ 10583 10584 ], 10585 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10586 "decimals": 2, 10587 "link": true, 10588 "linkTooltip": "Drill down", 10589 "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", 10590 "pattern": "pod", 10591 "thresholds": [ 10592 10593 ], 10594 "type": "number", 10595 "unit": "short" 10596 }, 10597 { 10598 "alias": "", 10599 "colorMode": null, 10600 "colors": [ 10601 10602 ], 10603 "dateFormat": "YYYY-MM-DD HH:mm:ss", 10604 "decimals": 2, 10605 "pattern": "/.*/", 10606 "thresholds": [ 10607 10608 ], 10609 "type": "string", 10610 "unit": "short" 10611 } 10612 ], 10613 "targets": [ 10614 { 10615 "expr": "sum(label_replace(container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod)", 10616 "format": "table", 10617 "instant": true, 10618 "intervalFactor": 2, 10619 "legendFormat": "", 10620 "refId": "A", 10621 "step": 10 10622 }, 10623 { 10624 "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", 10625 "format": "table", 10626 "instant": true, 10627 "intervalFactor": 2, 10628 "legendFormat": "", 10629 "refId": "B", 10630 "step": 10 10631 }, 10632 { 10633 "expr": "sum(label_replace(container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod) / sum(kube_pod_container_resource_requests_memory_bytes{namespace=\"$namespace\"}) by (pod)", 10634 "format": "table", 10635 "instant": true, 10636 "intervalFactor": 2, 10637 "legendFormat": "", 10638 "refId": "C", 10639 "step": 10 10640 }, 10641 { 10642 "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", 10643 "format": "table", 10644 "instant": true, 10645 "intervalFactor": 2, 10646 "legendFormat": "", 10647 "refId": "D", 10648 "step": 10 10649 }, 10650 { 10651 "expr": "sum(label_replace(container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod) / sum(kube_pod_container_resource_limits_memory_bytes{namespace=\"$namespace\"}) by (pod)", 10652 "format": "table", 10653 "instant": true, 10654 "intervalFactor": 2, 10655 "legendFormat": "", 10656 "refId": "E", 10657 "step": 10 10658 }, 10659 { 10660 "expr": "sum(label_replace(container_memory_rss{cluster=\"$cluster\", namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod)", 10661 "format": "table", 10662 "instant": true, 10663 "intervalFactor": 2, 10664 "legendFormat": "", 10665 "refId": "F", 10666 "step": 10 10667 }, 10668 { 10669 "expr": "sum(label_replace(container_memory_cache{cluster=\"$cluster\", namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod)", 10670 "format": "table", 10671 "instant": true, 10672 "intervalFactor": 2, 10673 "legendFormat": "", 10674 "refId": "G", 10675 "step": 10 10676 }, 10677 { 10678 "expr": "sum(label_replace(container_memory_swap{cluster=\"$cluster\", namespace=\"$namespace\",container_name!=\"\"}, \"pod\", \"$1\", \"pod_name\", \"(.*)\")) by (pod)", 10679 "format": "table", 10680 "instant": true, 10681 "intervalFactor": 2, 10682 "legendFormat": "", 10683 "refId": "H", 10684 "step": 10 10685 } 10686 ], 10687 "thresholds": [ 10688 10689 ], 10690 "timeFrom": null, 10691 "timeShift": null, 10692 "title": "Memory Quota", 10693 "tooltip": { 10694 "shared": false, 10695 "sort": 0, 10696 "value_type": "individual" 10697 }, 10698 "transform": "table", 10699 "type": "table", 10700 "xaxis": { 10701 "buckets": null, 10702 "mode": "time", 10703 "name": null, 10704 "show": true, 10705 "values": [ 10706 10707 ] 10708 }, 10709 "yaxes": [ 10710 { 10711 "format": "short", 10712 "label": null, 10713 "logBase": 1, 10714 "max": null, 10715 "min": 0, 10716 "show": true 10717 }, 10718 { 10719 "format": "short", 10720 "label": null, 10721 "logBase": 1, 10722 "max": null, 10723 "min": null, 10724 "show": false 10725 } 10726 ] 10727 } 10728 ], 10729 "repeat": null, 10730 "repeatIteration": null, 10731 "repeatRowId": null, 10732 "showTitle": true, 10733 "title": "Memory Quota", 10734 "titleSize": "h6" 10735 } 10736 ], 10737 "schemaVersion": 14, 10738 "style": "dark", 10739 "tags": [ 10740 "kubernetes-mixin" 10741 ], 10742 "templating": { 10743 "list": [ 10744 { 10745 "current": { 10746 "text": "Prometheus", 10747 "value": "Prometheus" 10748 }, 10749 "hide": 0, 10750 "label": null, 10751 "name": "datasource", 10752 "options": [ 10753 10754 ], 10755 "query": "prometheus", 10756 "refresh": 1, 10757 "regex": "", 10758 "type": "datasource" 10759 }, 10760 { 10761 "allValue": null, 10762 "current": { 10763 "text": "prod", 10764 "value": "prod" 10765 }, 10766 "datasource": "$datasource", 10767 "hide": 2, 10768 "includeAll": false, 10769 "label": "cluster", 10770 "multi": false, 10771 "name": "cluster", 10772 "options": [ 10773 10774 ], 10775 "query": "label_values(kube_pod_info, cluster)", 10776 "refresh": 1, 10777 "regex": "", 10778 "sort": 2, 10779 "tagValuesQuery": "", 10780 "tags": [ 10781 10782 ], 10783 "tagsQuery": "", 10784 "type": "query", 10785 "useTags": false 10786 }, 10787 { 10788 "allValue": null, 10789 "current": { 10790 "text": "prod", 10791 "value": "prod" 10792 }, 10793 "datasource": "$datasource", 10794 "hide": 0, 10795 "includeAll": false, 10796 "label": "namespace", 10797 "multi": false, 10798 "name": "namespace", 10799 "options": [ 10800 10801 ], 10802 "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", 10803 "refresh": 1, 10804 "regex": "", 10805 "sort": 2, 10806 "tagValuesQuery": "", 10807 "tags": [ 10808 10809 ], 10810 "tagsQuery": "", 10811 "type": "query", 10812 "useTags": false 10813 } 10814 ] 10815 }, 10816 "time": { 10817 "from": "now-1h", 10818 "to": "now" 10819 }, 10820 "timepicker": { 10821 "refresh_intervals": [ 10822 "5s", 10823 "10s", 10824 "30s", 10825 "1m", 10826 "5m", 10827 "15m", 10828 "30m", 10829 "1h", 10830 "2h", 10831 "1d" 10832 ], 10833 "time_options": [ 10834 "5m", 10835 "15m", 10836 "1h", 10837 "6h", 10838 "12h", 10839 "24h", 10840 "2d", 10841 "7d", 10842 "30d" 10843 ] 10844 }, 10845 "timezone": "", 10846 "title": "Kubernetes / Compute Resources / Namespace (Pods)", 10847 "uid": "85a562078cdf77779eaa1add43ccec1e", 10848 "version": 0 10849 } 10850 kind: ConfigMap 10851 metadata: 10852 name: grafana-dashboard-k8s-resources-namespace 10853 namespace: monitoring 10854 - apiVersion: v1 10855 data: 10856 k8s-resources-pod.json: |- 10857 { 10858 "annotations": { 10859 "list": [ 10860 10861 ] 10862 }, 10863 "editable": true, 10864 "gnetId": null, 10865 "graphTooltip": 0, 10866 "hideControls": false, 10867 "links": [ 10868 10869 ], 10870 "refresh": "10s", 10871 "rows": [ 10872 { 10873 "collapse": false, 10874 "height": "250px", 10875 "panels": [ 10876 { 10877 "aliasColors": { 10878 10879 }, 10880 "bars": false, 10881 "dashLength": 10, 10882 "dashes": false, 10883 "datasource": "$datasource", 10884 "fill": 10, 10885 "id": 1, 10886 "legend": { 10887 "avg": false, 10888 "current": false, 10889 "max": false, 10890 "min": false, 10891 "show": true, 10892 "total": false, 10893 "values": false 10894 }, 10895 "lines": true, 10896 "linewidth": 0, 10897 "links": [ 10898 10899 ], 10900 "nullPointMode": "null as zero", 10901 "percentage": false, 10902 "pointradius": 5, 10903 "points": false, 10904 "renderer": "flot", 10905 "seriesOverrides": [ 10906 10907 ], 10908 "spaceLength": 10, 10909 "span": 12, 10910 "stack": true, 10911 "steppedLine": false, 10912 "targets": [ 10913 { 10914 "expr": "sum(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\", cluster=\"$cluster\"}) by (container_name)", 10915 "format": "time_series", 10916 "intervalFactor": 2, 10917 "legendFormat": "{{container_name}}", 10918 "legendLink": null, 10919 "step": 10 10920 } 10921 ], 10922 "thresholds": [ 10923 10924 ], 10925 "timeFrom": null, 10926 "timeShift": null, 10927 "title": "CPU Usage", 10928 "tooltip": { 10929 "shared": false, 10930 "sort": 0, 10931 "value_type": "individual" 10932 }, 10933 "type": "graph", 10934 "xaxis": { 10935 "buckets": null, 10936 "mode": "time", 10937 "name": null, 10938 "show": true, 10939 "values": [ 10940 10941 ] 10942 }, 10943 "yaxes": [ 10944 { 10945 "format": "short", 10946 "label": null, 10947 "logBase": 1, 10948 "max": null, 10949 "min": 0, 10950 "show": true 10951 }, 10952 { 10953 "format": "short", 10954 "label": null, 10955 "logBase": 1, 10956 "max": null, 10957 "min": null, 10958 "show": false 10959 } 10960 ] 10961 } 10962 ], 10963 "repeat": null, 10964 "repeatIteration": null, 10965 "repeatRowId": null, 10966 "showTitle": true, 10967 "title": "CPU Usage", 10968 "titleSize": "h6" 10969 }, 10970 { 10971 "collapse": false, 10972 "height": "250px", 10973 "panels": [ 10974 { 10975 "aliasColors": { 10976 10977 }, 10978 "bars": false, 10979 "dashLength": 10, 10980 "dashes": false, 10981 "datasource": "$datasource", 10982 "fill": 1, 10983 "id": 2, 10984 "legend": { 10985 "avg": false, 10986 "current": false, 10987 "max": false, 10988 "min": false, 10989 "show": true, 10990 "total": false, 10991 "values": false 10992 }, 10993 "lines": true, 10994 "linewidth": 1, 10995 "links": [ 10996 10997 ], 10998 "nullPointMode": "null as zero", 10999 "percentage": false, 11000 "pointradius": 5, 11001 "points": false, 11002 "renderer": "flot", 11003 "seriesOverrides": [ 11004 11005 ], 11006 "spaceLength": 10, 11007 "span": 12, 11008 "stack": false, 11009 "steppedLine": false, 11010 "styles": [ 11011 { 11012 "alias": "Time", 11013 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11014 "pattern": "Time", 11015 "type": "hidden" 11016 }, 11017 { 11018 "alias": "CPU Usage", 11019 "colorMode": null, 11020 "colors": [ 11021 11022 ], 11023 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11024 "decimals": 2, 11025 "link": false, 11026 "linkTooltip": "Drill down", 11027 "linkUrl": "", 11028 "pattern": "Value #A", 11029 "thresholds": [ 11030 11031 ], 11032 "type": "number", 11033 "unit": "short" 11034 }, 11035 { 11036 "alias": "CPU Requests", 11037 "colorMode": null, 11038 "colors": [ 11039 11040 ], 11041 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11042 "decimals": 2, 11043 "link": false, 11044 "linkTooltip": "Drill down", 11045 "linkUrl": "", 11046 "pattern": "Value #B", 11047 "thresholds": [ 11048 11049 ], 11050 "type": "number", 11051 "unit": "short" 11052 }, 11053 { 11054 "alias": "CPU Requests %", 11055 "colorMode": null, 11056 "colors": [ 11057 11058 ], 11059 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11060 "decimals": 2, 11061 "link": false, 11062 "linkTooltip": "Drill down", 11063 "linkUrl": "", 11064 "pattern": "Value #C", 11065 "thresholds": [ 11066 11067 ], 11068 "type": "number", 11069 "unit": "percentunit" 11070 }, 11071 { 11072 "alias": "CPU Limits", 11073 "colorMode": null, 11074 "colors": [ 11075 11076 ], 11077 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11078 "decimals": 2, 11079 "link": false, 11080 "linkTooltip": "Drill down", 11081 "linkUrl": "", 11082 "pattern": "Value #D", 11083 "thresholds": [ 11084 11085 ], 11086 "type": "number", 11087 "unit": "short" 11088 }, 11089 { 11090 "alias": "CPU Limits %", 11091 "colorMode": null, 11092 "colors": [ 11093 11094 ], 11095 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11096 "decimals": 2, 11097 "link": false, 11098 "linkTooltip": "Drill down", 11099 "linkUrl": "", 11100 "pattern": "Value #E", 11101 "thresholds": [ 11102 11103 ], 11104 "type": "number", 11105 "unit": "percentunit" 11106 }, 11107 { 11108 "alias": "Container", 11109 "colorMode": null, 11110 "colors": [ 11111 11112 ], 11113 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11114 "decimals": 2, 11115 "link": false, 11116 "linkTooltip": "Drill down", 11117 "linkUrl": "", 11118 "pattern": "container", 11119 "thresholds": [ 11120 11121 ], 11122 "type": "number", 11123 "unit": "short" 11124 }, 11125 { 11126 "alias": "", 11127 "colorMode": null, 11128 "colors": [ 11129 11130 ], 11131 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11132 "decimals": 2, 11133 "pattern": "/.*/", 11134 "thresholds": [ 11135 11136 ], 11137 "type": "string", 11138 "unit": "short" 11139 } 11140 ], 11141 "targets": [ 11142 { 11143 "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container)", 11144 "format": "table", 11145 "instant": true, 11146 "intervalFactor": 2, 11147 "legendFormat": "", 11148 "refId": "A", 11149 "step": 10 11150 }, 11151 { 11152 "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", 11153 "format": "table", 11154 "instant": true, 11155 "intervalFactor": 2, 11156 "legendFormat": "", 11157 "refId": "B", 11158 "step": 10 11159 }, 11160 { 11161 "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", 11162 "format": "table", 11163 "instant": true, 11164 "intervalFactor": 2, 11165 "legendFormat": "", 11166 "refId": "C", 11167 "step": 10 11168 }, 11169 { 11170 "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", 11171 "format": "table", 11172 "instant": true, 11173 "intervalFactor": 2, 11174 "legendFormat": "", 11175 "refId": "D", 11176 "step": 10 11177 }, 11178 { 11179 "expr": "sum(label_replace(namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", 11180 "format": "table", 11181 "instant": true, 11182 "intervalFactor": 2, 11183 "legendFormat": "", 11184 "refId": "E", 11185 "step": 10 11186 } 11187 ], 11188 "thresholds": [ 11189 11190 ], 11191 "timeFrom": null, 11192 "timeShift": null, 11193 "title": "CPU Quota", 11194 "tooltip": { 11195 "shared": false, 11196 "sort": 0, 11197 "value_type": "individual" 11198 }, 11199 "transform": "table", 11200 "type": "table", 11201 "xaxis": { 11202 "buckets": null, 11203 "mode": "time", 11204 "name": null, 11205 "show": true, 11206 "values": [ 11207 11208 ] 11209 }, 11210 "yaxes": [ 11211 { 11212 "format": "short", 11213 "label": null, 11214 "logBase": 1, 11215 "max": null, 11216 "min": 0, 11217 "show": true 11218 }, 11219 { 11220 "format": "short", 11221 "label": null, 11222 "logBase": 1, 11223 "max": null, 11224 "min": null, 11225 "show": false 11226 } 11227 ] 11228 } 11229 ], 11230 "repeat": null, 11231 "repeatIteration": null, 11232 "repeatRowId": null, 11233 "showTitle": true, 11234 "title": "CPU Quota", 11235 "titleSize": "h6" 11236 }, 11237 { 11238 "collapse": false, 11239 "height": "250px", 11240 "panels": [ 11241 { 11242 "aliasColors": { 11243 11244 }, 11245 "bars": false, 11246 "dashLength": 10, 11247 "dashes": false, 11248 "datasource": "$datasource", 11249 "fill": 10, 11250 "id": 3, 11251 "legend": { 11252 "avg": false, 11253 "current": false, 11254 "max": false, 11255 "min": false, 11256 "show": true, 11257 "total": false, 11258 "values": false 11259 }, 11260 "lines": true, 11261 "linewidth": 0, 11262 "links": [ 11263 11264 ], 11265 "nullPointMode": "null as zero", 11266 "percentage": false, 11267 "pointradius": 5, 11268 "points": false, 11269 "renderer": "flot", 11270 "seriesOverrides": [ 11271 11272 ], 11273 "spaceLength": 10, 11274 "span": 12, 11275 "stack": true, 11276 "steppedLine": false, 11277 "targets": [ 11278 { 11279 "expr": "sum(container_memory_rss{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\", container_name!=\"\"}) by (container_name)", 11280 "format": "time_series", 11281 "intervalFactor": 2, 11282 "legendFormat": "{{container_name}} (RSS)", 11283 "legendLink": null, 11284 "step": 10 11285 }, 11286 { 11287 "expr": "sum(container_memory_cache{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\", container_name!=\"\"}) by (container_name)", 11288 "format": "time_series", 11289 "intervalFactor": 2, 11290 "legendFormat": "{{container_name}} (Cache)", 11291 "legendLink": null, 11292 "step": 10 11293 }, 11294 { 11295 "expr": "sum(container_memory_swap{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\", container_name!=\"\"}) by (container_name)", 11296 "format": "time_series", 11297 "intervalFactor": 2, 11298 "legendFormat": "{{container_name}} (Swap)", 11299 "legendLink": null, 11300 "step": 10 11301 } 11302 ], 11303 "thresholds": [ 11304 11305 ], 11306 "timeFrom": null, 11307 "timeShift": null, 11308 "title": "Memory Usage", 11309 "tooltip": { 11310 "shared": false, 11311 "sort": 0, 11312 "value_type": "individual" 11313 }, 11314 "type": "graph", 11315 "xaxis": { 11316 "buckets": null, 11317 "mode": "time", 11318 "name": null, 11319 "show": true, 11320 "values": [ 11321 11322 ] 11323 }, 11324 "yaxes": [ 11325 { 11326 "format": "bytes", 11327 "label": null, 11328 "logBase": 1, 11329 "max": null, 11330 "min": 0, 11331 "show": true 11332 }, 11333 { 11334 "format": "short", 11335 "label": null, 11336 "logBase": 1, 11337 "max": null, 11338 "min": null, 11339 "show": false 11340 } 11341 ] 11342 } 11343 ], 11344 "repeat": null, 11345 "repeatIteration": null, 11346 "repeatRowId": null, 11347 "showTitle": true, 11348 "title": "Memory Usage", 11349 "titleSize": "h6" 11350 }, 11351 { 11352 "collapse": false, 11353 "height": "250px", 11354 "panels": [ 11355 { 11356 "aliasColors": { 11357 11358 }, 11359 "bars": false, 11360 "dashLength": 10, 11361 "dashes": false, 11362 "datasource": "$datasource", 11363 "fill": 1, 11364 "id": 4, 11365 "legend": { 11366 "avg": false, 11367 "current": false, 11368 "max": false, 11369 "min": false, 11370 "show": true, 11371 "total": false, 11372 "values": false 11373 }, 11374 "lines": true, 11375 "linewidth": 1, 11376 "links": [ 11377 11378 ], 11379 "nullPointMode": "null as zero", 11380 "percentage": false, 11381 "pointradius": 5, 11382 "points": false, 11383 "renderer": "flot", 11384 "seriesOverrides": [ 11385 11386 ], 11387 "spaceLength": 10, 11388 "span": 12, 11389 "stack": false, 11390 "steppedLine": false, 11391 "styles": [ 11392 { 11393 "alias": "Time", 11394 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11395 "pattern": "Time", 11396 "type": "hidden" 11397 }, 11398 { 11399 "alias": "Memory Usage", 11400 "colorMode": null, 11401 "colors": [ 11402 11403 ], 11404 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11405 "decimals": 2, 11406 "link": false, 11407 "linkTooltip": "Drill down", 11408 "linkUrl": "", 11409 "pattern": "Value #A", 11410 "thresholds": [ 11411 11412 ], 11413 "type": "number", 11414 "unit": "bytes" 11415 }, 11416 { 11417 "alias": "Memory Requests", 11418 "colorMode": null, 11419 "colors": [ 11420 11421 ], 11422 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11423 "decimals": 2, 11424 "link": false, 11425 "linkTooltip": "Drill down", 11426 "linkUrl": "", 11427 "pattern": "Value #B", 11428 "thresholds": [ 11429 11430 ], 11431 "type": "number", 11432 "unit": "bytes" 11433 }, 11434 { 11435 "alias": "Memory Requests %", 11436 "colorMode": null, 11437 "colors": [ 11438 11439 ], 11440 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11441 "decimals": 2, 11442 "link": false, 11443 "linkTooltip": "Drill down", 11444 "linkUrl": "", 11445 "pattern": "Value #C", 11446 "thresholds": [ 11447 11448 ], 11449 "type": "number", 11450 "unit": "percentunit" 11451 }, 11452 { 11453 "alias": "Memory Limits", 11454 "colorMode": null, 11455 "colors": [ 11456 11457 ], 11458 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11459 "decimals": 2, 11460 "link": false, 11461 "linkTooltip": "Drill down", 11462 "linkUrl": "", 11463 "pattern": "Value #D", 11464 "thresholds": [ 11465 11466 ], 11467 "type": "number", 11468 "unit": "bytes" 11469 }, 11470 { 11471 "alias": "Memory Limits %", 11472 "colorMode": null, 11473 "colors": [ 11474 11475 ], 11476 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11477 "decimals": 2, 11478 "link": false, 11479 "linkTooltip": "Drill down", 11480 "linkUrl": "", 11481 "pattern": "Value #E", 11482 "thresholds": [ 11483 11484 ], 11485 "type": "number", 11486 "unit": "percentunit" 11487 }, 11488 { 11489 "alias": "Memory Usage (RSS)", 11490 "colorMode": null, 11491 "colors": [ 11492 11493 ], 11494 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11495 "decimals": 2, 11496 "link": false, 11497 "linkTooltip": "Drill down", 11498 "linkUrl": "", 11499 "pattern": "Value #F", 11500 "thresholds": [ 11501 11502 ], 11503 "type": "number", 11504 "unit": "bytes" 11505 }, 11506 { 11507 "alias": "Memory Usage (Cache)", 11508 "colorMode": null, 11509 "colors": [ 11510 11511 ], 11512 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11513 "decimals": 2, 11514 "link": false, 11515 "linkTooltip": "Drill down", 11516 "linkUrl": "", 11517 "pattern": "Value #G", 11518 "thresholds": [ 11519 11520 ], 11521 "type": "number", 11522 "unit": "bytes" 11523 }, 11524 { 11525 "alias": "Memory Usage (Swap", 11526 "colorMode": null, 11527 "colors": [ 11528 11529 ], 11530 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11531 "decimals": 2, 11532 "link": false, 11533 "linkTooltip": "Drill down", 11534 "linkUrl": "", 11535 "pattern": "Value #H", 11536 "thresholds": [ 11537 11538 ], 11539 "type": "number", 11540 "unit": "bytes" 11541 }, 11542 { 11543 "alias": "Container", 11544 "colorMode": null, 11545 "colors": [ 11546 11547 ], 11548 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11549 "decimals": 2, 11550 "link": false, 11551 "linkTooltip": "Drill down", 11552 "linkUrl": "", 11553 "pattern": "container", 11554 "thresholds": [ 11555 11556 ], 11557 "type": "number", 11558 "unit": "short" 11559 }, 11560 { 11561 "alias": "", 11562 "colorMode": null, 11563 "colors": [ 11564 11565 ], 11566 "dateFormat": "YYYY-MM-DD HH:mm:ss", 11567 "decimals": 2, 11568 "pattern": "/.*/", 11569 "thresholds": [ 11570 11571 ], 11572 "type": "string", 11573 "unit": "short" 11574 } 11575 ], 11576 "targets": [ 11577 { 11578 "expr": "sum(label_replace(container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"POD\", container_name!=\"\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container)", 11579 "format": "table", 11580 "instant": true, 11581 "intervalFactor": 2, 11582 "legendFormat": "", 11583 "refId": "A", 11584 "step": 10 11585 }, 11586 { 11587 "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", 11588 "format": "table", 11589 "instant": true, 11590 "intervalFactor": 2, 11591 "legendFormat": "", 11592 "refId": "B", 11593 "step": 10 11594 }, 11595 { 11596 "expr": "sum(label_replace(container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container) / sum(kube_pod_container_resource_requests_memory_bytes{namespace=\"$namespace\", pod=\"$pod\"}) by (container)", 11597 "format": "table", 11598 "instant": true, 11599 "intervalFactor": 2, 11600 "legendFormat": "", 11601 "refId": "C", 11602 "step": 10 11603 }, 11604 { 11605 "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\"}) by (container)", 11606 "format": "table", 11607 "instant": true, 11608 "intervalFactor": 2, 11609 "legendFormat": "", 11610 "refId": "D", 11611 "step": 10 11612 }, 11613 { 11614 "expr": "sum(label_replace(container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name!=\"\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container) / sum(kube_pod_container_resource_limits_memory_bytes{namespace=\"$namespace\", pod=\"$pod\"}) by (container)", 11615 "format": "table", 11616 "instant": true, 11617 "intervalFactor": 2, 11618 "legendFormat": "", 11619 "refId": "E", 11620 "step": 10 11621 }, 11622 { 11623 "expr": "sum(label_replace(container_memory_rss{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name != \"\", container_name != \"POD\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container)", 11624 "format": "table", 11625 "instant": true, 11626 "intervalFactor": 2, 11627 "legendFormat": "", 11628 "refId": "F", 11629 "step": 10 11630 }, 11631 { 11632 "expr": "sum(label_replace(container_memory_cache{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name != \"\", container_name != \"POD\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container)", 11633 "format": "table", 11634 "instant": true, 11635 "intervalFactor": 2, 11636 "legendFormat": "", 11637 "refId": "G", 11638 "step": 10 11639 }, 11640 { 11641 "expr": "sum(label_replace(container_memory_swap{cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name != \"\", container_name != \"POD\"}, \"container\", \"$1\", \"container_name\", \"(.*)\")) by (container)", 11642 "format": "table", 11643 "instant": true, 11644 "intervalFactor": 2, 11645 "legendFormat": "", 11646 "refId": "H", 11647 "step": 10 11648 } 11649 ], 11650 "thresholds": [ 11651 11652 ], 11653 "timeFrom": null, 11654 "timeShift": null, 11655 "title": "Memory Quota", 11656 "tooltip": { 11657 "shared": false, 11658 "sort": 0, 11659 "value_type": "individual" 11660 }, 11661 "transform": "table", 11662 "type": "table", 11663 "xaxis": { 11664 "buckets": null, 11665 "mode": "time", 11666 "name": null, 11667 "show": true, 11668 "values": [ 11669 11670 ] 11671 }, 11672 "yaxes": [ 11673 { 11674 "format": "short", 11675 "label": null, 11676 "logBase": 1, 11677 "max": null, 11678 "min": 0, 11679 "show": true 11680 }, 11681 { 11682 "format": "short", 11683 "label": null, 11684 "logBase": 1, 11685 "max": null, 11686 "min": null, 11687 "show": false 11688 } 11689 ] 11690 } 11691 ], 11692 "repeat": null, 11693 "repeatIteration": null, 11694 "repeatRowId": null, 11695 "showTitle": true, 11696 "title": "Memory Quota", 11697 "titleSize": "h6" 11698 } 11699 ], 11700 "schemaVersion": 14, 11701 "style": "dark", 11702 "tags": [ 11703 "kubernetes-mixin" 11704 ], 11705 "templating": { 11706 "list": [ 11707 { 11708 "current": { 11709 "text": "Prometheus", 11710 "value": "Prometheus" 11711 }, 11712 "hide": 0, 11713 "label": null, 11714 "name": "datasource", 11715 "options": [ 11716 11717 ], 11718 "query": "prometheus", 11719 "refresh": 1, 11720 "regex": "", 11721 "type": "datasource" 11722 }, 11723 { 11724 "allValue": null, 11725 "current": { 11726 "text": "prod", 11727 "value": "prod" 11728 }, 11729 "datasource": "$datasource", 11730 "hide": 2, 11731 "includeAll": false, 11732 "label": "cluster", 11733 "multi": false, 11734 "name": "cluster", 11735 "options": [ 11736 11737 ], 11738 "query": "label_values(kube_pod_info, cluster)", 11739 "refresh": 1, 11740 "regex": "", 11741 "sort": 2, 11742 "tagValuesQuery": "", 11743 "tags": [ 11744 11745 ], 11746 "tagsQuery": "", 11747 "type": "query", 11748 "useTags": false 11749 }, 11750 { 11751 "allValue": null, 11752 "current": { 11753 "text": "prod", 11754 "value": "prod" 11755 }, 11756 "datasource": "$datasource", 11757 "hide": 0, 11758 "includeAll": false, 11759 "label": "namespace", 11760 "multi": false, 11761 "name": "namespace", 11762 "options": [ 11763 11764 ], 11765 "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", 11766 "refresh": 1, 11767 "regex": "", 11768 "sort": 2, 11769 "tagValuesQuery": "", 11770 "tags": [ 11771 11772 ], 11773 "tagsQuery": "", 11774 "type": "query", 11775 "useTags": false 11776 }, 11777 { 11778 "allValue": null, 11779 "current": { 11780 "text": "prod", 11781 "value": "prod" 11782 }, 11783 "datasource": "$datasource", 11784 "hide": 0, 11785 "includeAll": false, 11786 "label": "pod", 11787 "multi": false, 11788 "name": "pod", 11789 "options": [ 11790 11791 ], 11792 "query": "label_values(kube_pod_info{cluster=\"$cluster\", namespace=\"$namespace\"}, pod)", 11793 "refresh": 1, 11794 "regex": "", 11795 "sort": 2, 11796 "tagValuesQuery": "", 11797 "tags": [ 11798 11799 ], 11800 "tagsQuery": "", 11801 "type": "query", 11802 "useTags": false 11803 } 11804 ] 11805 }, 11806 "time": { 11807 "from": "now-1h", 11808 "to": "now" 11809 }, 11810 "timepicker": { 11811 "refresh_intervals": [ 11812 "5s", 11813 "10s", 11814 "30s", 11815 "1m", 11816 "5m", 11817 "15m", 11818 "30m", 11819 "1h", 11820 "2h", 11821 "1d" 11822 ], 11823 "time_options": [ 11824 "5m", 11825 "15m", 11826 "1h", 11827 "6h", 11828 "12h", 11829 "24h", 11830 "2d", 11831 "7d", 11832 "30d" 11833 ] 11834 }, 11835 "timezone": "", 11836 "title": "Kubernetes / Compute Resources / Pod", 11837 "uid": "6581e46e4e5c7ba40a07646395ef7b23", 11838 "version": 0 11839 } 11840 kind: ConfigMap 11841 metadata: 11842 name: grafana-dashboard-k8s-resources-pod 11843 namespace: monitoring 11844 - apiVersion: v1 11845 data: 11846 k8s-resources-workload.json: |- 11847 { 11848 "annotations": { 11849 "list": [ 11850 11851 ] 11852 }, 11853 "editable": true, 11854 "gnetId": null, 11855 "graphTooltip": 0, 11856 "hideControls": false, 11857 "links": [ 11858 11859 ], 11860 "refresh": "10s", 11861 "rows": [ 11862 { 11863 "collapse": false, 11864 "height": "250px", 11865 "panels": [ 11866 { 11867 "aliasColors": { 11868 11869 }, 11870 "bars": false, 11871 "dashLength": 10, 11872 "dashes": false, 11873 "datasource": "$datasource", 11874 "fill": 10, 11875 "id": 1, 11876 "legend": { 11877 "avg": false, 11878 "current": false, 11879 "max": false, 11880 "min": false, 11881 "show": true, 11882 "total": false, 11883 "values": false 11884 }, 11885 "lines": true, 11886 "linewidth": 0, 11887 "links": [ 11888 11889 ], 11890 "nullPointMode": "null as zero", 11891 "percentage": false, 11892 "pointradius": 5, 11893 "points": false, 11894 "renderer": "flot", 11895 "seriesOverrides": [ 11896 11897 ], 11898 "spaceLength": 10, 11899 "span": 12, 11900 "stack": true, 11901 "steppedLine": false, 11902 "targets": [ 11903 { 11904 "expr": "sum(\n label_replace(\n namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 11905 "format": "time_series", 11906 "intervalFactor": 2, 11907 "legendFormat": "{{pod}}", 11908 "legendLink": null, 11909 "step": 10 11910 } 11911 ], 11912 "thresholds": [ 11913 11914 ], 11915 "timeFrom": null, 11916 "timeShift": null, 11917 "title": "CPU Usage", 11918 "tooltip": { 11919 "shared": false, 11920 "sort": 0, 11921 "value_type": "individual" 11922 }, 11923 "type": "graph", 11924 "xaxis": { 11925 "buckets": null, 11926 "mode": "time", 11927 "name": null, 11928 "show": true, 11929 "values": [ 11930 11931 ] 11932 }, 11933 "yaxes": [ 11934 { 11935 "format": "short", 11936 "label": null, 11937 "logBase": 1, 11938 "max": null, 11939 "min": 0, 11940 "show": true 11941 }, 11942 { 11943 "format": "short", 11944 "label": null, 11945 "logBase": 1, 11946 "max": null, 11947 "min": null, 11948 "show": false 11949 } 11950 ] 11951 } 11952 ], 11953 "repeat": null, 11954 "repeatIteration": null, 11955 "repeatRowId": null, 11956 "showTitle": true, 11957 "title": "CPU Usage", 11958 "titleSize": "h6" 11959 }, 11960 { 11961 "collapse": false, 11962 "height": "250px", 11963 "panels": [ 11964 { 11965 "aliasColors": { 11966 11967 }, 11968 "bars": false, 11969 "dashLength": 10, 11970 "dashes": false, 11971 "datasource": "$datasource", 11972 "fill": 1, 11973 "id": 2, 11974 "legend": { 11975 "avg": false, 11976 "current": false, 11977 "max": false, 11978 "min": false, 11979 "show": true, 11980 "total": false, 11981 "values": false 11982 }, 11983 "lines": true, 11984 "linewidth": 1, 11985 "links": [ 11986 11987 ], 11988 "nullPointMode": "null as zero", 11989 "percentage": false, 11990 "pointradius": 5, 11991 "points": false, 11992 "renderer": "flot", 11993 "seriesOverrides": [ 11994 11995 ], 11996 "spaceLength": 10, 11997 "span": 12, 11998 "stack": false, 11999 "steppedLine": false, 12000 "styles": [ 12001 { 12002 "alias": "Time", 12003 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12004 "pattern": "Time", 12005 "type": "hidden" 12006 }, 12007 { 12008 "alias": "CPU Usage", 12009 "colorMode": null, 12010 "colors": [ 12011 12012 ], 12013 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12014 "decimals": 2, 12015 "link": false, 12016 "linkTooltip": "Drill down", 12017 "linkUrl": "", 12018 "pattern": "Value #A", 12019 "thresholds": [ 12020 12021 ], 12022 "type": "number", 12023 "unit": "short" 12024 }, 12025 { 12026 "alias": "CPU Requests", 12027 "colorMode": null, 12028 "colors": [ 12029 12030 ], 12031 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12032 "decimals": 2, 12033 "link": false, 12034 "linkTooltip": "Drill down", 12035 "linkUrl": "", 12036 "pattern": "Value #B", 12037 "thresholds": [ 12038 12039 ], 12040 "type": "number", 12041 "unit": "short" 12042 }, 12043 { 12044 "alias": "CPU Requests %", 12045 "colorMode": null, 12046 "colors": [ 12047 12048 ], 12049 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12050 "decimals": 2, 12051 "link": false, 12052 "linkTooltip": "Drill down", 12053 "linkUrl": "", 12054 "pattern": "Value #C", 12055 "thresholds": [ 12056 12057 ], 12058 "type": "number", 12059 "unit": "percentunit" 12060 }, 12061 { 12062 "alias": "CPU Limits", 12063 "colorMode": null, 12064 "colors": [ 12065 12066 ], 12067 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12068 "decimals": 2, 12069 "link": false, 12070 "linkTooltip": "Drill down", 12071 "linkUrl": "", 12072 "pattern": "Value #D", 12073 "thresholds": [ 12074 12075 ], 12076 "type": "number", 12077 "unit": "short" 12078 }, 12079 { 12080 "alias": "CPU Limits %", 12081 "colorMode": null, 12082 "colors": [ 12083 12084 ], 12085 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12086 "decimals": 2, 12087 "link": false, 12088 "linkTooltip": "Drill down", 12089 "linkUrl": "", 12090 "pattern": "Value #E", 12091 "thresholds": [ 12092 12093 ], 12094 "type": "number", 12095 "unit": "percentunit" 12096 }, 12097 { 12098 "alias": "Pod", 12099 "colorMode": null, 12100 "colors": [ 12101 12102 ], 12103 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12104 "decimals": 2, 12105 "link": true, 12106 "linkTooltip": "Drill down", 12107 "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", 12108 "pattern": "pod", 12109 "thresholds": [ 12110 12111 ], 12112 "type": "number", 12113 "unit": "short" 12114 }, 12115 { 12116 "alias": "", 12117 "colorMode": null, 12118 "colors": [ 12119 12120 ], 12121 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12122 "decimals": 2, 12123 "pattern": "/.*/", 12124 "thresholds": [ 12125 12126 ], 12127 "type": "string", 12128 "unit": "short" 12129 } 12130 ], 12131 "targets": [ 12132 { 12133 "expr": "sum(\n label_replace(\n namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12134 "format": "table", 12135 "instant": true, 12136 "intervalFactor": 2, 12137 "legendFormat": "", 12138 "refId": "A", 12139 "step": 10 12140 }, 12141 { 12142 "expr": "sum(\n kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12143 "format": "table", 12144 "instant": true, 12145 "intervalFactor": 2, 12146 "legendFormat": "", 12147 "refId": "B", 12148 "step": 10 12149 }, 12150 { 12151 "expr": "sum(\n label_replace(\n namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12152 "format": "table", 12153 "instant": true, 12154 "intervalFactor": 2, 12155 "legendFormat": "", 12156 "refId": "C", 12157 "step": 10 12158 }, 12159 { 12160 "expr": "sum(\n kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12161 "format": "table", 12162 "instant": true, 12163 "intervalFactor": 2, 12164 "legendFormat": "", 12165 "refId": "D", 12166 "step": 10 12167 }, 12168 { 12169 "expr": "sum(\n label_replace(\n namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12170 "format": "table", 12171 "instant": true, 12172 "intervalFactor": 2, 12173 "legendFormat": "", 12174 "refId": "E", 12175 "step": 10 12176 } 12177 ], 12178 "thresholds": [ 12179 12180 ], 12181 "timeFrom": null, 12182 "timeShift": null, 12183 "title": "CPU Quota", 12184 "tooltip": { 12185 "shared": false, 12186 "sort": 0, 12187 "value_type": "individual" 12188 }, 12189 "transform": "table", 12190 "type": "table", 12191 "xaxis": { 12192 "buckets": null, 12193 "mode": "time", 12194 "name": null, 12195 "show": true, 12196 "values": [ 12197 12198 ] 12199 }, 12200 "yaxes": [ 12201 { 12202 "format": "short", 12203 "label": null, 12204 "logBase": 1, 12205 "max": null, 12206 "min": 0, 12207 "show": true 12208 }, 12209 { 12210 "format": "short", 12211 "label": null, 12212 "logBase": 1, 12213 "max": null, 12214 "min": null, 12215 "show": false 12216 } 12217 ] 12218 } 12219 ], 12220 "repeat": null, 12221 "repeatIteration": null, 12222 "repeatRowId": null, 12223 "showTitle": true, 12224 "title": "CPU Quota", 12225 "titleSize": "h6" 12226 }, 12227 { 12228 "collapse": false, 12229 "height": "250px", 12230 "panels": [ 12231 { 12232 "aliasColors": { 12233 12234 }, 12235 "bars": false, 12236 "dashLength": 10, 12237 "dashes": false, 12238 "datasource": "$datasource", 12239 "fill": 10, 12240 "id": 3, 12241 "legend": { 12242 "avg": false, 12243 "current": false, 12244 "max": false, 12245 "min": false, 12246 "show": true, 12247 "total": false, 12248 "values": false 12249 }, 12250 "lines": true, 12251 "linewidth": 0, 12252 "links": [ 12253 12254 ], 12255 "nullPointMode": "null as zero", 12256 "percentage": false, 12257 "pointradius": 5, 12258 "points": false, 12259 "renderer": "flot", 12260 "seriesOverrides": [ 12261 12262 ], 12263 "spaceLength": 10, 12264 "span": 12, 12265 "stack": true, 12266 "steppedLine": false, 12267 "targets": [ 12268 { 12269 "expr": "sum(\n label_replace(\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n ) by (pod)\n", 12270 "format": "time_series", 12271 "intervalFactor": 2, 12272 "legendFormat": "{{pod}}", 12273 "legendLink": null, 12274 "step": 10 12275 } 12276 ], 12277 "thresholds": [ 12278 12279 ], 12280 "timeFrom": null, 12281 "timeShift": null, 12282 "title": "Memory Usage", 12283 "tooltip": { 12284 "shared": false, 12285 "sort": 0, 12286 "value_type": "individual" 12287 }, 12288 "type": "graph", 12289 "xaxis": { 12290 "buckets": null, 12291 "mode": "time", 12292 "name": null, 12293 "show": true, 12294 "values": [ 12295 12296 ] 12297 }, 12298 "yaxes": [ 12299 { 12300 "format": "bytes", 12301 "label": null, 12302 "logBase": 1, 12303 "max": null, 12304 "min": 0, 12305 "show": true 12306 }, 12307 { 12308 "format": "short", 12309 "label": null, 12310 "logBase": 1, 12311 "max": null, 12312 "min": null, 12313 "show": false 12314 } 12315 ] 12316 } 12317 ], 12318 "repeat": null, 12319 "repeatIteration": null, 12320 "repeatRowId": null, 12321 "showTitle": true, 12322 "title": "Memory Usage", 12323 "titleSize": "h6" 12324 }, 12325 { 12326 "collapse": false, 12327 "height": "250px", 12328 "panels": [ 12329 { 12330 "aliasColors": { 12331 12332 }, 12333 "bars": false, 12334 "dashLength": 10, 12335 "dashes": false, 12336 "datasource": "$datasource", 12337 "fill": 1, 12338 "id": 4, 12339 "legend": { 12340 "avg": false, 12341 "current": false, 12342 "max": false, 12343 "min": false, 12344 "show": true, 12345 "total": false, 12346 "values": false 12347 }, 12348 "lines": true, 12349 "linewidth": 1, 12350 "links": [ 12351 12352 ], 12353 "nullPointMode": "null as zero", 12354 "percentage": false, 12355 "pointradius": 5, 12356 "points": false, 12357 "renderer": "flot", 12358 "seriesOverrides": [ 12359 12360 ], 12361 "spaceLength": 10, 12362 "span": 12, 12363 "stack": false, 12364 "steppedLine": false, 12365 "styles": [ 12366 { 12367 "alias": "Time", 12368 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12369 "pattern": "Time", 12370 "type": "hidden" 12371 }, 12372 { 12373 "alias": "Memory Usage", 12374 "colorMode": null, 12375 "colors": [ 12376 12377 ], 12378 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12379 "decimals": 2, 12380 "link": false, 12381 "linkTooltip": "Drill down", 12382 "linkUrl": "", 12383 "pattern": "Value #A", 12384 "thresholds": [ 12385 12386 ], 12387 "type": "number", 12388 "unit": "bytes" 12389 }, 12390 { 12391 "alias": "Memory Requests", 12392 "colorMode": null, 12393 "colors": [ 12394 12395 ], 12396 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12397 "decimals": 2, 12398 "link": false, 12399 "linkTooltip": "Drill down", 12400 "linkUrl": "", 12401 "pattern": "Value #B", 12402 "thresholds": [ 12403 12404 ], 12405 "type": "number", 12406 "unit": "bytes" 12407 }, 12408 { 12409 "alias": "Memory Requests %", 12410 "colorMode": null, 12411 "colors": [ 12412 12413 ], 12414 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12415 "decimals": 2, 12416 "link": false, 12417 "linkTooltip": "Drill down", 12418 "linkUrl": "", 12419 "pattern": "Value #C", 12420 "thresholds": [ 12421 12422 ], 12423 "type": "number", 12424 "unit": "percentunit" 12425 }, 12426 { 12427 "alias": "Memory Limits", 12428 "colorMode": null, 12429 "colors": [ 12430 12431 ], 12432 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12433 "decimals": 2, 12434 "link": false, 12435 "linkTooltip": "Drill down", 12436 "linkUrl": "", 12437 "pattern": "Value #D", 12438 "thresholds": [ 12439 12440 ], 12441 "type": "number", 12442 "unit": "bytes" 12443 }, 12444 { 12445 "alias": "Memory Limits %", 12446 "colorMode": null, 12447 "colors": [ 12448 12449 ], 12450 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12451 "decimals": 2, 12452 "link": false, 12453 "linkTooltip": "Drill down", 12454 "linkUrl": "", 12455 "pattern": "Value #E", 12456 "thresholds": [ 12457 12458 ], 12459 "type": "number", 12460 "unit": "percentunit" 12461 }, 12462 { 12463 "alias": "Pod", 12464 "colorMode": null, 12465 "colors": [ 12466 12467 ], 12468 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12469 "decimals": 2, 12470 "link": true, 12471 "linkTooltip": "Drill down", 12472 "linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", 12473 "pattern": "pod", 12474 "thresholds": [ 12475 12476 ], 12477 "type": "number", 12478 "unit": "short" 12479 }, 12480 { 12481 "alias": "", 12482 "colorMode": null, 12483 "colors": [ 12484 12485 ], 12486 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12487 "decimals": 2, 12488 "pattern": "/.*/", 12489 "thresholds": [ 12490 12491 ], 12492 "type": "string", 12493 "unit": "short" 12494 } 12495 ], 12496 "targets": [ 12497 { 12498 "expr": "sum(\n label_replace(\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n ) by (pod)\n", 12499 "format": "table", 12500 "instant": true, 12501 "intervalFactor": 2, 12502 "legendFormat": "", 12503 "refId": "A", 12504 "step": 10 12505 }, 12506 { 12507 "expr": "sum(\n kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12508 "format": "table", 12509 "instant": true, 12510 "intervalFactor": 2, 12511 "legendFormat": "", 12512 "refId": "B", 12513 "step": 10 12514 }, 12515 { 12516 "expr": "sum(\n label_replace(\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n ) by (pod)\n/sum(\n kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12517 "format": "table", 12518 "instant": true, 12519 "intervalFactor": 2, 12520 "legendFormat": "", 12521 "refId": "C", 12522 "step": 10 12523 }, 12524 { 12525 "expr": "sum(\n kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12526 "format": "table", 12527 "instant": true, 12528 "intervalFactor": 2, 12529 "legendFormat": "", 12530 "refId": "D", 12531 "step": 10 12532 }, 12533 { 12534 "expr": "sum(\n label_replace(\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n ) by (pod)\n/sum(\n kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", 12535 "format": "table", 12536 "instant": true, 12537 "intervalFactor": 2, 12538 "legendFormat": "", 12539 "refId": "E", 12540 "step": 10 12541 } 12542 ], 12543 "thresholds": [ 12544 12545 ], 12546 "timeFrom": null, 12547 "timeShift": null, 12548 "title": "Memory Quota", 12549 "tooltip": { 12550 "shared": false, 12551 "sort": 0, 12552 "value_type": "individual" 12553 }, 12554 "transform": "table", 12555 "type": "table", 12556 "xaxis": { 12557 "buckets": null, 12558 "mode": "time", 12559 "name": null, 12560 "show": true, 12561 "values": [ 12562 12563 ] 12564 }, 12565 "yaxes": [ 12566 { 12567 "format": "short", 12568 "label": null, 12569 "logBase": 1, 12570 "max": null, 12571 "min": 0, 12572 "show": true 12573 }, 12574 { 12575 "format": "short", 12576 "label": null, 12577 "logBase": 1, 12578 "max": null, 12579 "min": null, 12580 "show": false 12581 } 12582 ] 12583 } 12584 ], 12585 "repeat": null, 12586 "repeatIteration": null, 12587 "repeatRowId": null, 12588 "showTitle": true, 12589 "title": "Memory Quota", 12590 "titleSize": "h6" 12591 } 12592 ], 12593 "schemaVersion": 14, 12594 "style": "dark", 12595 "tags": [ 12596 "kubernetes-mixin" 12597 ], 12598 "templating": { 12599 "list": [ 12600 { 12601 "current": { 12602 "text": "Prometheus", 12603 "value": "Prometheus" 12604 }, 12605 "hide": 0, 12606 "label": null, 12607 "name": "datasource", 12608 "options": [ 12609 12610 ], 12611 "query": "prometheus", 12612 "refresh": 1, 12613 "regex": "", 12614 "type": "datasource" 12615 }, 12616 { 12617 "allValue": null, 12618 "current": { 12619 "text": "prod", 12620 "value": "prod" 12621 }, 12622 "datasource": "$datasource", 12623 "hide": 2, 12624 "includeAll": false, 12625 "label": "cluster", 12626 "multi": false, 12627 "name": "cluster", 12628 "options": [ 12629 12630 ], 12631 "query": "label_values(kube_pod_info, cluster)", 12632 "refresh": 1, 12633 "regex": "", 12634 "sort": 2, 12635 "tagValuesQuery": "", 12636 "tags": [ 12637 12638 ], 12639 "tagsQuery": "", 12640 "type": "query", 12641 "useTags": false 12642 }, 12643 { 12644 "allValue": null, 12645 "current": { 12646 "text": "prod", 12647 "value": "prod" 12648 }, 12649 "datasource": "$datasource", 12650 "hide": 0, 12651 "includeAll": false, 12652 "label": "namespace", 12653 "multi": false, 12654 "name": "namespace", 12655 "options": [ 12656 12657 ], 12658 "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", 12659 "refresh": 1, 12660 "regex": "", 12661 "sort": 2, 12662 "tagValuesQuery": "", 12663 "tags": [ 12664 12665 ], 12666 "tagsQuery": "", 12667 "type": "query", 12668 "useTags": false 12669 }, 12670 { 12671 "allValue": null, 12672 "current": { 12673 "text": "prod", 12674 "value": "prod" 12675 }, 12676 "datasource": "$datasource", 12677 "hide": 0, 12678 "includeAll": false, 12679 "label": "workload", 12680 "multi": false, 12681 "name": "workload", 12682 "options": [ 12683 12684 ], 12685 "query": "label_values(mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}, workload)", 12686 "refresh": 1, 12687 "regex": "", 12688 "sort": 2, 12689 "tagValuesQuery": "", 12690 "tags": [ 12691 12692 ], 12693 "tagsQuery": "", 12694 "type": "query", 12695 "useTags": false 12696 }, 12697 { 12698 "allValue": null, 12699 "current": { 12700 "text": "prod", 12701 "value": "prod" 12702 }, 12703 "datasource": "$datasource", 12704 "hide": 0, 12705 "includeAll": false, 12706 "label": "type", 12707 "multi": false, 12708 "name": "type", 12709 "options": [ 12710 12711 ], 12712 "query": "label_values(mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\"}, workload_type)", 12713 "refresh": 1, 12714 "regex": "", 12715 "sort": 2, 12716 "tagValuesQuery": "", 12717 "tags": [ 12718 12719 ], 12720 "tagsQuery": "", 12721 "type": "query", 12722 "useTags": false 12723 } 12724 ] 12725 }, 12726 "time": { 12727 "from": "now-1h", 12728 "to": "now" 12729 }, 12730 "timepicker": { 12731 "refresh_intervals": [ 12732 "5s", 12733 "10s", 12734 "30s", 12735 "1m", 12736 "5m", 12737 "15m", 12738 "30m", 12739 "1h", 12740 "2h", 12741 "1d" 12742 ], 12743 "time_options": [ 12744 "5m", 12745 "15m", 12746 "1h", 12747 "6h", 12748 "12h", 12749 "24h", 12750 "2d", 12751 "7d", 12752 "30d" 12753 ] 12754 }, 12755 "timezone": "", 12756 "title": "Kubernetes / Compute Resources / Workload", 12757 "uid": "a164a7f0339f99e89cea5cb47e9be617", 12758 "version": 0 12759 } 12760 kind: ConfigMap 12761 metadata: 12762 name: grafana-dashboard-k8s-resources-workload 12763 namespace: monitoring 12764 - apiVersion: v1 12765 data: 12766 k8s-resources-workloads-namespace.json: |- 12767 { 12768 "annotations": { 12769 "list": [ 12770 12771 ] 12772 }, 12773 "editable": true, 12774 "gnetId": null, 12775 "graphTooltip": 0, 12776 "hideControls": false, 12777 "links": [ 12778 12779 ], 12780 "refresh": "10s", 12781 "rows": [ 12782 { 12783 "collapse": false, 12784 "height": "250px", 12785 "panels": [ 12786 { 12787 "aliasColors": { 12788 12789 }, 12790 "bars": false, 12791 "dashLength": 10, 12792 "dashes": false, 12793 "datasource": "$datasource", 12794 "fill": 10, 12795 "id": 1, 12796 "legend": { 12797 "avg": false, 12798 "current": false, 12799 "max": false, 12800 "min": false, 12801 "show": true, 12802 "total": false, 12803 "values": false 12804 }, 12805 "lines": true, 12806 "linewidth": 0, 12807 "links": [ 12808 12809 ], 12810 "nullPointMode": "null as zero", 12811 "percentage": false, 12812 "pointradius": 5, 12813 "points": false, 12814 "renderer": "flot", 12815 "seriesOverrides": [ 12816 12817 ], 12818 "spaceLength": 10, 12819 "span": 12, 12820 "stack": true, 12821 "steppedLine": false, 12822 "targets": [ 12823 { 12824 "expr": "sum(\n label_replace(\n namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 12825 "format": "time_series", 12826 "intervalFactor": 2, 12827 "legendFormat": "{{workload}} - {{workload_type}}", 12828 "legendLink": null, 12829 "step": 10 12830 } 12831 ], 12832 "thresholds": [ 12833 12834 ], 12835 "timeFrom": null, 12836 "timeShift": null, 12837 "title": "CPU Usage", 12838 "tooltip": { 12839 "shared": false, 12840 "sort": 0, 12841 "value_type": "individual" 12842 }, 12843 "type": "graph", 12844 "xaxis": { 12845 "buckets": null, 12846 "mode": "time", 12847 "name": null, 12848 "show": true, 12849 "values": [ 12850 12851 ] 12852 }, 12853 "yaxes": [ 12854 { 12855 "format": "short", 12856 "label": null, 12857 "logBase": 1, 12858 "max": null, 12859 "min": 0, 12860 "show": true 12861 }, 12862 { 12863 "format": "short", 12864 "label": null, 12865 "logBase": 1, 12866 "max": null, 12867 "min": null, 12868 "show": false 12869 } 12870 ] 12871 } 12872 ], 12873 "repeat": null, 12874 "repeatIteration": null, 12875 "repeatRowId": null, 12876 "showTitle": true, 12877 "title": "CPU Usage", 12878 "titleSize": "h6" 12879 }, 12880 { 12881 "collapse": false, 12882 "height": "250px", 12883 "panels": [ 12884 { 12885 "aliasColors": { 12886 12887 }, 12888 "bars": false, 12889 "dashLength": 10, 12890 "dashes": false, 12891 "datasource": "$datasource", 12892 "fill": 1, 12893 "id": 2, 12894 "legend": { 12895 "avg": false, 12896 "current": false, 12897 "max": false, 12898 "min": false, 12899 "show": true, 12900 "total": false, 12901 "values": false 12902 }, 12903 "lines": true, 12904 "linewidth": 1, 12905 "links": [ 12906 12907 ], 12908 "nullPointMode": "null as zero", 12909 "percentage": false, 12910 "pointradius": 5, 12911 "points": false, 12912 "renderer": "flot", 12913 "seriesOverrides": [ 12914 12915 ], 12916 "spaceLength": 10, 12917 "span": 12, 12918 "stack": false, 12919 "steppedLine": false, 12920 "styles": [ 12921 { 12922 "alias": "Time", 12923 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12924 "pattern": "Time", 12925 "type": "hidden" 12926 }, 12927 { 12928 "alias": "Running Pods", 12929 "colorMode": null, 12930 "colors": [ 12931 12932 ], 12933 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12934 "decimals": 0, 12935 "link": false, 12936 "linkTooltip": "Drill down", 12937 "linkUrl": "", 12938 "pattern": "Value #A", 12939 "thresholds": [ 12940 12941 ], 12942 "type": "number", 12943 "unit": "short" 12944 }, 12945 { 12946 "alias": "CPU Usage", 12947 "colorMode": null, 12948 "colors": [ 12949 12950 ], 12951 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12952 "decimals": 2, 12953 "link": false, 12954 "linkTooltip": "Drill down", 12955 "linkUrl": "", 12956 "pattern": "Value #B", 12957 "thresholds": [ 12958 12959 ], 12960 "type": "number", 12961 "unit": "short" 12962 }, 12963 { 12964 "alias": "CPU Requests", 12965 "colorMode": null, 12966 "colors": [ 12967 12968 ], 12969 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12970 "decimals": 2, 12971 "link": false, 12972 "linkTooltip": "Drill down", 12973 "linkUrl": "", 12974 "pattern": "Value #C", 12975 "thresholds": [ 12976 12977 ], 12978 "type": "number", 12979 "unit": "short" 12980 }, 12981 { 12982 "alias": "CPU Requests %", 12983 "colorMode": null, 12984 "colors": [ 12985 12986 ], 12987 "dateFormat": "YYYY-MM-DD HH:mm:ss", 12988 "decimals": 2, 12989 "link": false, 12990 "linkTooltip": "Drill down", 12991 "linkUrl": "", 12992 "pattern": "Value #D", 12993 "thresholds": [ 12994 12995 ], 12996 "type": "number", 12997 "unit": "percentunit" 12998 }, 12999 { 13000 "alias": "CPU Limits", 13001 "colorMode": null, 13002 "colors": [ 13003 13004 ], 13005 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13006 "decimals": 2, 13007 "link": false, 13008 "linkTooltip": "Drill down", 13009 "linkUrl": "", 13010 "pattern": "Value #E", 13011 "thresholds": [ 13012 13013 ], 13014 "type": "number", 13015 "unit": "short" 13016 }, 13017 { 13018 "alias": "CPU Limits %", 13019 "colorMode": null, 13020 "colors": [ 13021 13022 ], 13023 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13024 "decimals": 2, 13025 "link": false, 13026 "linkTooltip": "Drill down", 13027 "linkUrl": "", 13028 "pattern": "Value #F", 13029 "thresholds": [ 13030 13031 ], 13032 "type": "number", 13033 "unit": "percentunit" 13034 }, 13035 { 13036 "alias": "Workload", 13037 "colorMode": null, 13038 "colors": [ 13039 13040 ], 13041 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13042 "decimals": 2, 13043 "link": true, 13044 "linkTooltip": "Drill down", 13045 "linkUrl": "/d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2", 13046 "pattern": "workload", 13047 "thresholds": [ 13048 13049 ], 13050 "type": "number", 13051 "unit": "short" 13052 }, 13053 { 13054 "alias": "Workload Type", 13055 "colorMode": null, 13056 "colors": [ 13057 13058 ], 13059 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13060 "decimals": 2, 13061 "link": false, 13062 "linkTooltip": "Drill down", 13063 "linkUrl": "", 13064 "pattern": "workload_type", 13065 "thresholds": [ 13066 13067 ], 13068 "type": "number", 13069 "unit": "short" 13070 }, 13071 { 13072 "alias": "", 13073 "colorMode": null, 13074 "colors": [ 13075 13076 ], 13077 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13078 "decimals": 2, 13079 "pattern": "/.*/", 13080 "thresholds": [ 13081 13082 ], 13083 "type": "string", 13084 "unit": "short" 13085 } 13086 ], 13087 "targets": [ 13088 { 13089 "expr": "count(mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}) by (workload, workload_type)", 13090 "format": "table", 13091 "instant": true, 13092 "intervalFactor": 2, 13093 "legendFormat": "", 13094 "refId": "A", 13095 "step": 10 13096 }, 13097 { 13098 "expr": "sum(\n label_replace(\n namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13099 "format": "table", 13100 "instant": true, 13101 "intervalFactor": 2, 13102 "legendFormat": "", 13103 "refId": "B", 13104 "step": 10 13105 }, 13106 { 13107 "expr": "sum(\n kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13108 "format": "table", 13109 "instant": true, 13110 "intervalFactor": 2, 13111 "legendFormat": "", 13112 "refId": "C", 13113 "step": 10 13114 }, 13115 { 13116 "expr": "sum(\n label_replace(\n namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13117 "format": "table", 13118 "instant": true, 13119 "intervalFactor": 2, 13120 "legendFormat": "", 13121 "refId": "D", 13122 "step": 10 13123 }, 13124 { 13125 "expr": "sum(\n kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13126 "format": "table", 13127 "instant": true, 13128 "intervalFactor": 2, 13129 "legendFormat": "", 13130 "refId": "E", 13131 "step": 10 13132 }, 13133 { 13134 "expr": "sum(\n label_replace(\n namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13135 "format": "table", 13136 "instant": true, 13137 "intervalFactor": 2, 13138 "legendFormat": "", 13139 "refId": "F", 13140 "step": 10 13141 } 13142 ], 13143 "thresholds": [ 13144 13145 ], 13146 "timeFrom": null, 13147 "timeShift": null, 13148 "title": "CPU Quota", 13149 "tooltip": { 13150 "shared": false, 13151 "sort": 0, 13152 "value_type": "individual" 13153 }, 13154 "transform": "table", 13155 "type": "table", 13156 "xaxis": { 13157 "buckets": null, 13158 "mode": "time", 13159 "name": null, 13160 "show": true, 13161 "values": [ 13162 13163 ] 13164 }, 13165 "yaxes": [ 13166 { 13167 "format": "short", 13168 "label": null, 13169 "logBase": 1, 13170 "max": null, 13171 "min": 0, 13172 "show": true 13173 }, 13174 { 13175 "format": "short", 13176 "label": null, 13177 "logBase": 1, 13178 "max": null, 13179 "min": null, 13180 "show": false 13181 } 13182 ] 13183 } 13184 ], 13185 "repeat": null, 13186 "repeatIteration": null, 13187 "repeatRowId": null, 13188 "showTitle": true, 13189 "title": "CPU Quota", 13190 "titleSize": "h6" 13191 }, 13192 { 13193 "collapse": false, 13194 "height": "250px", 13195 "panels": [ 13196 { 13197 "aliasColors": { 13198 13199 }, 13200 "bars": false, 13201 "dashLength": 10, 13202 "dashes": false, 13203 "datasource": "$datasource", 13204 "fill": 10, 13205 "id": 3, 13206 "legend": { 13207 "avg": false, 13208 "current": false, 13209 "max": false, 13210 "min": false, 13211 "show": true, 13212 "total": false, 13213 "values": false 13214 }, 13215 "lines": true, 13216 "linewidth": 0, 13217 "links": [ 13218 13219 ], 13220 "nullPointMode": "null as zero", 13221 "percentage": false, 13222 "pointradius": 5, 13223 "points": false, 13224 "renderer": "flot", 13225 "seriesOverrides": [ 13226 13227 ], 13228 "spaceLength": 10, 13229 "span": 12, 13230 "stack": true, 13231 "steppedLine": false, 13232 "targets": [ 13233 { 13234 "expr": "sum(\n label_replace(\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n ) by (workload, workload_type)\n", 13235 "format": "time_series", 13236 "intervalFactor": 2, 13237 "legendFormat": "{{workload}} - {{workload_type}}", 13238 "legendLink": null, 13239 "step": 10 13240 } 13241 ], 13242 "thresholds": [ 13243 13244 ], 13245 "timeFrom": null, 13246 "timeShift": null, 13247 "title": "Memory Usage", 13248 "tooltip": { 13249 "shared": false, 13250 "sort": 0, 13251 "value_type": "individual" 13252 }, 13253 "type": "graph", 13254 "xaxis": { 13255 "buckets": null, 13256 "mode": "time", 13257 "name": null, 13258 "show": true, 13259 "values": [ 13260 13261 ] 13262 }, 13263 "yaxes": [ 13264 { 13265 "format": "bytes", 13266 "label": null, 13267 "logBase": 1, 13268 "max": null, 13269 "min": 0, 13270 "show": true 13271 }, 13272 { 13273 "format": "short", 13274 "label": null, 13275 "logBase": 1, 13276 "max": null, 13277 "min": null, 13278 "show": false 13279 } 13280 ] 13281 } 13282 ], 13283 "repeat": null, 13284 "repeatIteration": null, 13285 "repeatRowId": null, 13286 "showTitle": true, 13287 "title": "Memory Usage", 13288 "titleSize": "h6" 13289 }, 13290 { 13291 "collapse": false, 13292 "height": "250px", 13293 "panels": [ 13294 { 13295 "aliasColors": { 13296 13297 }, 13298 "bars": false, 13299 "dashLength": 10, 13300 "dashes": false, 13301 "datasource": "$datasource", 13302 "fill": 1, 13303 "id": 4, 13304 "legend": { 13305 "avg": false, 13306 "current": false, 13307 "max": false, 13308 "min": false, 13309 "show": true, 13310 "total": false, 13311 "values": false 13312 }, 13313 "lines": true, 13314 "linewidth": 1, 13315 "links": [ 13316 13317 ], 13318 "nullPointMode": "null as zero", 13319 "percentage": false, 13320 "pointradius": 5, 13321 "points": false, 13322 "renderer": "flot", 13323 "seriesOverrides": [ 13324 13325 ], 13326 "spaceLength": 10, 13327 "span": 12, 13328 "stack": false, 13329 "steppedLine": false, 13330 "styles": [ 13331 { 13332 "alias": "Time", 13333 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13334 "pattern": "Time", 13335 "type": "hidden" 13336 }, 13337 { 13338 "alias": "Running Pods", 13339 "colorMode": null, 13340 "colors": [ 13341 13342 ], 13343 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13344 "decimals": 0, 13345 "link": false, 13346 "linkTooltip": "Drill down", 13347 "linkUrl": "", 13348 "pattern": "Value #A", 13349 "thresholds": [ 13350 13351 ], 13352 "type": "number", 13353 "unit": "short" 13354 }, 13355 { 13356 "alias": "Memory Usage", 13357 "colorMode": null, 13358 "colors": [ 13359 13360 ], 13361 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13362 "decimals": 2, 13363 "link": false, 13364 "linkTooltip": "Drill down", 13365 "linkUrl": "", 13366 "pattern": "Value #B", 13367 "thresholds": [ 13368 13369 ], 13370 "type": "number", 13371 "unit": "bytes" 13372 }, 13373 { 13374 "alias": "Memory Requests", 13375 "colorMode": null, 13376 "colors": [ 13377 13378 ], 13379 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13380 "decimals": 2, 13381 "link": false, 13382 "linkTooltip": "Drill down", 13383 "linkUrl": "", 13384 "pattern": "Value #C", 13385 "thresholds": [ 13386 13387 ], 13388 "type": "number", 13389 "unit": "bytes" 13390 }, 13391 { 13392 "alias": "Memory Requests %", 13393 "colorMode": null, 13394 "colors": [ 13395 13396 ], 13397 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13398 "decimals": 2, 13399 "link": false, 13400 "linkTooltip": "Drill down", 13401 "linkUrl": "", 13402 "pattern": "Value #D", 13403 "thresholds": [ 13404 13405 ], 13406 "type": "number", 13407 "unit": "percentunit" 13408 }, 13409 { 13410 "alias": "Memory Limits", 13411 "colorMode": null, 13412 "colors": [ 13413 13414 ], 13415 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13416 "decimals": 2, 13417 "link": false, 13418 "linkTooltip": "Drill down", 13419 "linkUrl": "", 13420 "pattern": "Value #E", 13421 "thresholds": [ 13422 13423 ], 13424 "type": "number", 13425 "unit": "bytes" 13426 }, 13427 { 13428 "alias": "Memory Limits %", 13429 "colorMode": null, 13430 "colors": [ 13431 13432 ], 13433 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13434 "decimals": 2, 13435 "link": false, 13436 "linkTooltip": "Drill down", 13437 "linkUrl": "", 13438 "pattern": "Value #F", 13439 "thresholds": [ 13440 13441 ], 13442 "type": "number", 13443 "unit": "percentunit" 13444 }, 13445 { 13446 "alias": "Workload", 13447 "colorMode": null, 13448 "colors": [ 13449 13450 ], 13451 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13452 "decimals": 2, 13453 "link": true, 13454 "linkTooltip": "Drill down", 13455 "linkUrl": "/d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2", 13456 "pattern": "workload", 13457 "thresholds": [ 13458 13459 ], 13460 "type": "number", 13461 "unit": "short" 13462 }, 13463 { 13464 "alias": "Workload Type", 13465 "colorMode": null, 13466 "colors": [ 13467 13468 ], 13469 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13470 "decimals": 2, 13471 "link": false, 13472 "linkTooltip": "Drill down", 13473 "linkUrl": "", 13474 "pattern": "workload_type", 13475 "thresholds": [ 13476 13477 ], 13478 "type": "number", 13479 "unit": "short" 13480 }, 13481 { 13482 "alias": "", 13483 "colorMode": null, 13484 "colors": [ 13485 13486 ], 13487 "dateFormat": "YYYY-MM-DD HH:mm:ss", 13488 "decimals": 2, 13489 "pattern": "/.*/", 13490 "thresholds": [ 13491 13492 ], 13493 "type": "string", 13494 "unit": "short" 13495 } 13496 ], 13497 "targets": [ 13498 { 13499 "expr": "count(mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}) by (workload, workload_type)", 13500 "format": "table", 13501 "instant": true, 13502 "intervalFactor": 2, 13503 "legendFormat": "", 13504 "refId": "A", 13505 "step": 10 13506 }, 13507 { 13508 "expr": "sum(\n label_replace(\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n ) by (workload, workload_type)\n", 13509 "format": "table", 13510 "instant": true, 13511 "intervalFactor": 2, 13512 "legendFormat": "", 13513 "refId": "B", 13514 "step": 10 13515 }, 13516 { 13517 "expr": "sum(\n kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13518 "format": "table", 13519 "instant": true, 13520 "intervalFactor": 2, 13521 "legendFormat": "", 13522 "refId": "C", 13523 "step": 10 13524 }, 13525 { 13526 "expr": "sum(\n label_replace(\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n ) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13527 "format": "table", 13528 "instant": true, 13529 "intervalFactor": 2, 13530 "legendFormat": "", 13531 "refId": "D", 13532 "step": 10 13533 }, 13534 { 13535 "expr": "sum(\n kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13536 "format": "table", 13537 "instant": true, 13538 "intervalFactor": 2, 13539 "legendFormat": "", 13540 "refId": "E", 13541 "step": 10 13542 }, 13543 { 13544 "expr": "sum(\n label_replace(\n container_memory_usage_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container_name!=\"\"},\n \"pod\", \"$1\", \"pod_name\", \"(.*)\"\n ) * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n ) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod) group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}\n) by (workload, workload_type)\n", 13545 "format": "table", 13546 "instant": true, 13547 "intervalFactor": 2, 13548 "legendFormat": "", 13549 "refId": "F", 13550 "step": 10 13551 } 13552 ], 13553 "thresholds": [ 13554 13555 ], 13556 "timeFrom": null, 13557 "timeShift": null, 13558 "title": "Memory Quota", 13559 "tooltip": { 13560 "shared": false, 13561 "sort": 0, 13562 "value_type": "individual" 13563 }, 13564 "transform": "table", 13565 "type": "table", 13566 "xaxis": { 13567 "buckets": null, 13568 "mode": "time", 13569 "name": null, 13570 "show": true, 13571 "values": [ 13572 13573 ] 13574 }, 13575 "yaxes": [ 13576 { 13577 "format": "short", 13578 "label": null, 13579 "logBase": 1, 13580 "max": null, 13581 "min": 0, 13582 "show": true 13583 }, 13584 { 13585 "format": "short", 13586 "label": null, 13587 "logBase": 1, 13588 "max": null, 13589 "min": null, 13590 "show": false 13591 } 13592 ] 13593 } 13594 ], 13595 "repeat": null, 13596 "repeatIteration": null, 13597 "repeatRowId": null, 13598 "showTitle": true, 13599 "title": "Memory Quota", 13600 "titleSize": "h6" 13601 } 13602 ], 13603 "schemaVersion": 14, 13604 "style": "dark", 13605 "tags": [ 13606 "kubernetes-mixin" 13607 ], 13608 "templating": { 13609 "list": [ 13610 { 13611 "current": { 13612 "text": "Prometheus", 13613 "value": "Prometheus" 13614 }, 13615 "hide": 0, 13616 "label": null, 13617 "name": "datasource", 13618 "options": [ 13619 13620 ], 13621 "query": "prometheus", 13622 "refresh": 1, 13623 "regex": "", 13624 "type": "datasource" 13625 }, 13626 { 13627 "allValue": null, 13628 "current": { 13629 "text": "prod", 13630 "value": "prod" 13631 }, 13632 "datasource": "$datasource", 13633 "hide": 2, 13634 "includeAll": false, 13635 "label": "cluster", 13636 "multi": false, 13637 "name": "cluster", 13638 "options": [ 13639 13640 ], 13641 "query": "label_values(kube_pod_info, cluster)", 13642 "refresh": 1, 13643 "regex": "", 13644 "sort": 2, 13645 "tagValuesQuery": "", 13646 "tags": [ 13647 13648 ], 13649 "tagsQuery": "", 13650 "type": "query", 13651 "useTags": false 13652 }, 13653 { 13654 "allValue": null, 13655 "current": { 13656 "text": "prod", 13657 "value": "prod" 13658 }, 13659 "datasource": "$datasource", 13660 "hide": 0, 13661 "includeAll": false, 13662 "label": "namespace", 13663 "multi": false, 13664 "name": "namespace", 13665 "options": [ 13666 13667 ], 13668 "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", 13669 "refresh": 1, 13670 "regex": "", 13671 "sort": 2, 13672 "tagValuesQuery": "", 13673 "tags": [ 13674 13675 ], 13676 "tagsQuery": "", 13677 "type": "query", 13678 "useTags": false 13679 } 13680 ] 13681 }, 13682 "time": { 13683 "from": "now-1h", 13684 "to": "now" 13685 }, 13686 "timepicker": { 13687 "refresh_intervals": [ 13688 "5s", 13689 "10s", 13690 "30s", 13691 "1m", 13692 "5m", 13693 "15m", 13694 "30m", 13695 "1h", 13696 "2h", 13697 "1d" 13698 ], 13699 "time_options": [ 13700 "5m", 13701 "15m", 13702 "1h", 13703 "6h", 13704 "12h", 13705 "24h", 13706 "2d", 13707 "7d", 13708 "30d" 13709 ] 13710 }, 13711 "timezone": "", 13712 "title": "Kubernetes / Compute Resources / Namespace (Workloads)", 13713 "uid": "a87fb0d919ec0ea5f6543124e16c42a5", 13714 "version": 0 13715 } 13716 kind: ConfigMap 13717 metadata: 13718 name: grafana-dashboard-k8s-resources-workloads-namespace 13719 namespace: monitoring 13720 - apiVersion: v1 13721 data: 13722 nodes.json: |- 13723 { 13724 "__inputs": [ 13725 13726 ], 13727 "__requires": [ 13728 13729 ], 13730 "annotations": { 13731 "list": [ 13732 13733 ] 13734 }, 13735 "editable": false, 13736 "gnetId": null, 13737 "graphTooltip": 0, 13738 "hideControls": false, 13739 "id": null, 13740 "links": [ 13741 13742 ], 13743 "refresh": "", 13744 "rows": [ 13745 { 13746 "collapse": false, 13747 "collapsed": false, 13748 "panels": [ 13749 { 13750 "aliasColors": { 13751 13752 }, 13753 "bars": false, 13754 "dashLength": 10, 13755 "dashes": false, 13756 "datasource": "$datasource", 13757 "fill": 1, 13758 "gridPos": { 13759 13760 }, 13761 "id": 2, 13762 "legend": { 13763 "alignAsTable": false, 13764 "avg": false, 13765 "current": false, 13766 "max": false, 13767 "min": false, 13768 "rightSide": false, 13769 "show": true, 13770 "total": false, 13771 "values": false 13772 }, 13773 "lines": true, 13774 "linewidth": 1, 13775 "links": [ 13776 13777 ], 13778 "nullPointMode": "null", 13779 "percentage": false, 13780 "pointradius": 5, 13781 "points": false, 13782 "renderer": "flot", 13783 "repeat": null, 13784 "seriesOverrides": [ 13785 13786 ], 13787 "spaceLength": 10, 13788 "span": 6, 13789 "stack": false, 13790 "steppedLine": false, 13791 "targets": [ 13792 { 13793 "expr": "max(node_load1{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})", 13794 "format": "time_series", 13795 "intervalFactor": 2, 13796 "legendFormat": "load 1m", 13797 "refId": "A" 13798 }, 13799 { 13800 "expr": "max(node_load5{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})", 13801 "format": "time_series", 13802 "intervalFactor": 2, 13803 "legendFormat": "load 5m", 13804 "refId": "B" 13805 }, 13806 { 13807 "expr": "max(node_load15{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})", 13808 "format": "time_series", 13809 "intervalFactor": 2, 13810 "legendFormat": "load 15m", 13811 "refId": "C" 13812 }, 13813 { 13814 "expr": "count(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", mode=\"user\"})", 13815 "format": "time_series", 13816 "intervalFactor": 2, 13817 "legendFormat": "logical cores", 13818 "refId": "D" 13819 } 13820 ], 13821 "thresholds": [ 13822 13823 ], 13824 "timeFrom": null, 13825 "timeShift": null, 13826 "title": "System load", 13827 "tooltip": { 13828 "shared": false, 13829 "sort": 0, 13830 "value_type": "individual" 13831 }, 13832 "type": "graph", 13833 "xaxis": { 13834 "buckets": null, 13835 "mode": "time", 13836 "name": null, 13837 "show": true, 13838 "values": [ 13839 13840 ] 13841 }, 13842 "yaxes": [ 13843 { 13844 "format": "short", 13845 "label": null, 13846 "logBase": 1, 13847 "max": null, 13848 "min": null, 13849 "show": true 13850 }, 13851 { 13852 "format": "short", 13853 "label": null, 13854 "logBase": 1, 13855 "max": null, 13856 "min": null, 13857 "show": true 13858 } 13859 ] 13860 }, 13861 { 13862 "aliasColors": { 13863 13864 }, 13865 "bars": false, 13866 "dashLength": 10, 13867 "dashes": false, 13868 "datasource": "$datasource", 13869 "fill": 1, 13870 "gridPos": { 13871 13872 }, 13873 "id": 3, 13874 "legend": { 13875 "alignAsTable": false, 13876 "avg": false, 13877 "current": false, 13878 "max": false, 13879 "min": false, 13880 "rightSide": false, 13881 "show": true, 13882 "total": false, 13883 "values": false 13884 }, 13885 "lines": true, 13886 "linewidth": 1, 13887 "links": [ 13888 13889 ], 13890 "nullPointMode": "null", 13891 "percentage": false, 13892 "pointradius": 5, 13893 "points": false, 13894 "renderer": "flot", 13895 "repeat": null, 13896 "seriesOverrides": [ 13897 13898 ], 13899 "spaceLength": 10, 13900 "span": 6, 13901 "stack": false, 13902 "steppedLine": false, 13903 "targets": [ 13904 { 13905 "expr": "sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[5m]))", 13906 "format": "time_series", 13907 "intervalFactor": 2, 13908 "legendFormat": "{{cpu}}", 13909 "refId": "A" 13910 } 13911 ], 13912 "thresholds": [ 13913 13914 ], 13915 "timeFrom": null, 13916 "timeShift": null, 13917 "title": "Usage Per Core", 13918 "tooltip": { 13919 "shared": false, 13920 "sort": 0, 13921 "value_type": "individual" 13922 }, 13923 "type": "graph", 13924 "xaxis": { 13925 "buckets": null, 13926 "mode": "time", 13927 "name": null, 13928 "show": true, 13929 "values": [ 13930 13931 ] 13932 }, 13933 "yaxes": [ 13934 { 13935 "format": "percentunit", 13936 "label": null, 13937 "logBase": 1, 13938 "max": null, 13939 "min": null, 13940 "show": true 13941 }, 13942 { 13943 "format": "percentunit", 13944 "label": null, 13945 "logBase": 1, 13946 "max": null, 13947 "min": null, 13948 "show": true 13949 } 13950 ] 13951 } 13952 ], 13953 "repeat": null, 13954 "repeatIteration": null, 13955 "repeatRowId": null, 13956 "showTitle": false, 13957 "title": "Dashboard Row", 13958 "titleSize": "h6", 13959 "type": "row" 13960 }, 13961 { 13962 "collapse": false, 13963 "collapsed": false, 13964 "panels": [ 13965 { 13966 "aliasColors": { 13967 13968 }, 13969 "bars": false, 13970 "dashLength": 10, 13971 "dashes": false, 13972 "datasource": "$datasource", 13973 "fill": 1, 13974 "gridPos": { 13975 13976 }, 13977 "id": 4, 13978 "legend": { 13979 "alignAsTable": "true", 13980 "avg": "true", 13981 "current": "true", 13982 "max": "false", 13983 "min": "false", 13984 "rightSide": "true", 13985 "show": "true", 13986 "total": "false", 13987 "values": "true" 13988 }, 13989 "lines": true, 13990 "linewidth": 1, 13991 "links": [ 13992 13993 ], 13994 "nullPointMode": "null", 13995 "percentage": false, 13996 "pointradius": 5, 13997 "points": false, 13998 "renderer": "flot", 13999 "repeat": null, 14000 "seriesOverrides": [ 14001 14002 ], 14003 "spaceLength": 10, 14004 "span": 9, 14005 "stack": false, 14006 "steppedLine": false, 14007 "targets": [ 14008 { 14009 "expr": "max (sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m])) ) * 100\n", 14010 "format": "time_series", 14011 "intervalFactor": 10, 14012 "legendFormat": "{{ cpu }}", 14013 "refId": "A" 14014 } 14015 ], 14016 "thresholds": [ 14017 14018 ], 14019 "timeFrom": null, 14020 "timeShift": null, 14021 "title": "CPU Utilization", 14022 "tooltip": { 14023 "shared": false, 14024 "sort": 0, 14025 "value_type": "individual" 14026 }, 14027 "type": "graph", 14028 "xaxis": { 14029 "buckets": null, 14030 "mode": "time", 14031 "name": null, 14032 "show": true, 14033 "values": [ 14034 14035 ] 14036 }, 14037 "yaxes": [ 14038 { 14039 "format": "percent", 14040 "label": null, 14041 "logBase": 1, 14042 "max": 100, 14043 "min": 0, 14044 "show": true 14045 }, 14046 { 14047 "format": "percent", 14048 "label": null, 14049 "logBase": 1, 14050 "max": 100, 14051 "min": 0, 14052 "show": true 14053 } 14054 ] 14055 }, 14056 { 14057 "cacheTimeout": null, 14058 "colorBackground": false, 14059 "colorValue": false, 14060 "colors": [ 14061 "rgba(50, 172, 45, 0.97)", 14062 "rgba(237, 129, 40, 0.89)", 14063 "rgba(245, 54, 54, 0.9)" 14064 ], 14065 "datasource": "$datasource", 14066 "format": "percent", 14067 "gauge": { 14068 "maxValue": 100, 14069 "minValue": 0, 14070 "show": true, 14071 "thresholdLabels": false, 14072 "thresholdMarkers": true 14073 }, 14074 "gridPos": { 14075 14076 }, 14077 "id": 5, 14078 "interval": null, 14079 "links": [ 14080 14081 ], 14082 "mappingType": 1, 14083 "mappingTypes": [ 14084 { 14085 "name": "value to text", 14086 "value": 1 14087 }, 14088 { 14089 "name": "range to text", 14090 "value": 2 14091 } 14092 ], 14093 "maxDataPoints": 100, 14094 "nullPointMode": "connected", 14095 "nullText": null, 14096 "postfix": "", 14097 "postfixFontSize": "50%", 14098 "prefix": "", 14099 "prefixFontSize": "50%", 14100 "rangeMaps": [ 14101 { 14102 "from": "null", 14103 "text": "N/A", 14104 "to": "null" 14105 } 14106 ], 14107 "span": 3, 14108 "sparkline": { 14109 "fillColor": "rgba(31, 118, 189, 0.18)", 14110 "full": false, 14111 "lineColor": "rgb(31, 120, 193)", 14112 "show": false 14113 }, 14114 "tableColumn": "", 14115 "targets": [ 14116 { 14117 "expr": "avg(sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m]))) * 100\n", 14118 "format": "time_series", 14119 "intervalFactor": 2, 14120 "legendFormat": "", 14121 "refId": "A" 14122 } 14123 ], 14124 "thresholds": "80, 90", 14125 "title": "CPU Usage", 14126 "tooltip": { 14127 "shared": false 14128 }, 14129 "type": "singlestat", 14130 "valueFontSize": "80%", 14131 "valueMaps": [ 14132 { 14133 "op": "=", 14134 "text": "N/A", 14135 "value": "null" 14136 } 14137 ], 14138 "valueName": "current" 14139 } 14140 ], 14141 "repeat": null, 14142 "repeatIteration": null, 14143 "repeatRowId": null, 14144 "showTitle": false, 14145 "title": "Dashboard Row", 14146 "titleSize": "h6", 14147 "type": "row" 14148 }, 14149 { 14150 "collapse": false, 14151 "collapsed": false, 14152 "panels": [ 14153 { 14154 "aliasColors": { 14155 14156 }, 14157 "bars": false, 14158 "dashLength": 10, 14159 "dashes": false, 14160 "datasource": "$datasource", 14161 "fill": 1, 14162 "gridPos": { 14163 14164 }, 14165 "id": 6, 14166 "legend": { 14167 "alignAsTable": false, 14168 "avg": false, 14169 "current": false, 14170 "max": false, 14171 "min": false, 14172 "rightSide": false, 14173 "show": true, 14174 "total": false, 14175 "values": false 14176 }, 14177 "lines": true, 14178 "linewidth": 1, 14179 "links": [ 14180 14181 ], 14182 "nullPointMode": "null", 14183 "percentage": false, 14184 "pointradius": 5, 14185 "points": false, 14186 "renderer": "flot", 14187 "repeat": null, 14188 "seriesOverrides": [ 14189 14190 ], 14191 "spaceLength": 10, 14192 "span": 9, 14193 "stack": false, 14194 "steppedLine": false, 14195 "targets": [ 14196 { 14197 "expr": "max(\n node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n)\n", 14198 "format": "time_series", 14199 "intervalFactor": 2, 14200 "legendFormat": "memory used", 14201 "refId": "A" 14202 }, 14203 { 14204 "expr": "max(node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})", 14205 "format": "time_series", 14206 "intervalFactor": 2, 14207 "legendFormat": "memory buffers", 14208 "refId": "B" 14209 }, 14210 { 14211 "expr": "max(node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})", 14212 "format": "time_series", 14213 "intervalFactor": 2, 14214 "legendFormat": "memory cached", 14215 "refId": "C" 14216 }, 14217 { 14218 "expr": "max(node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})", 14219 "format": "time_series", 14220 "intervalFactor": 2, 14221 "legendFormat": "memory free", 14222 "refId": "D" 14223 } 14224 ], 14225 "thresholds": [ 14226 14227 ], 14228 "timeFrom": null, 14229 "timeShift": null, 14230 "title": "Memory Usage", 14231 "tooltip": { 14232 "shared": false, 14233 "sort": 0, 14234 "value_type": "individual" 14235 }, 14236 "type": "graph", 14237 "xaxis": { 14238 "buckets": null, 14239 "mode": "time", 14240 "name": null, 14241 "show": true, 14242 "values": [ 14243 14244 ] 14245 }, 14246 "yaxes": [ 14247 { 14248 "format": "bytes", 14249 "label": null, 14250 "logBase": 1, 14251 "max": null, 14252 "min": null, 14253 "show": true 14254 }, 14255 { 14256 "format": "bytes", 14257 "label": null, 14258 "logBase": 1, 14259 "max": null, 14260 "min": null, 14261 "show": true 14262 } 14263 ] 14264 }, 14265 { 14266 "cacheTimeout": null, 14267 "colorBackground": false, 14268 "colorValue": false, 14269 "colors": [ 14270 "rgba(50, 172, 45, 0.97)", 14271 "rgba(237, 129, 40, 0.89)", 14272 "rgba(245, 54, 54, 0.9)" 14273 ], 14274 "datasource": "$datasource", 14275 "format": "percent", 14276 "gauge": { 14277 "maxValue": 100, 14278 "minValue": 0, 14279 "show": true, 14280 "thresholdLabels": false, 14281 "thresholdMarkers": true 14282 }, 14283 "gridPos": { 14284 14285 }, 14286 "id": 7, 14287 "interval": null, 14288 "links": [ 14289 14290 ], 14291 "mappingType": 1, 14292 "mappingTypes": [ 14293 { 14294 "name": "value to text", 14295 "value": 1 14296 }, 14297 { 14298 "name": "range to text", 14299 "value": 2 14300 } 14301 ], 14302 "maxDataPoints": 100, 14303 "nullPointMode": "connected", 14304 "nullText": null, 14305 "postfix": "", 14306 "postfixFontSize": "50%", 14307 "prefix": "", 14308 "prefixFontSize": "50%", 14309 "rangeMaps": [ 14310 { 14311 "from": "null", 14312 "text": "N/A", 14313 "to": "null" 14314 } 14315 ], 14316 "span": 3, 14317 "sparkline": { 14318 "fillColor": "rgba(31, 118, 189, 0.18)", 14319 "full": false, 14320 "lineColor": "rgb(31, 120, 193)", 14321 "show": false 14322 }, 14323 "tableColumn": "", 14324 "targets": [ 14325 { 14326 "expr": "max(\n (\n (\n node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n )\n / node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n ) * 100)\n", 14327 "format": "time_series", 14328 "intervalFactor": 2, 14329 "legendFormat": "", 14330 "refId": "A" 14331 } 14332 ], 14333 "thresholds": "80, 90", 14334 "title": "Memory Usage", 14335 "tooltip": { 14336 "shared": false 14337 }, 14338 "type": "singlestat", 14339 "valueFontSize": "80%", 14340 "valueMaps": [ 14341 { 14342 "op": "=", 14343 "text": "N/A", 14344 "value": "null" 14345 } 14346 ], 14347 "valueName": "current" 14348 } 14349 ], 14350 "repeat": null, 14351 "repeatIteration": null, 14352 "repeatRowId": null, 14353 "showTitle": false, 14354 "title": "Dashboard Row", 14355 "titleSize": "h6", 14356 "type": "row" 14357 }, 14358 { 14359 "collapse": false, 14360 "collapsed": false, 14361 "panels": [ 14362 { 14363 "aliasColors": { 14364 14365 }, 14366 "bars": false, 14367 "dashLength": 10, 14368 "dashes": false, 14369 "datasource": "$datasource", 14370 "fill": 1, 14371 "gridPos": { 14372 14373 }, 14374 "id": 8, 14375 "legend": { 14376 "alignAsTable": false, 14377 "avg": false, 14378 "current": false, 14379 "max": false, 14380 "min": false, 14381 "rightSide": false, 14382 "show": true, 14383 "total": false, 14384 "values": false 14385 }, 14386 "lines": true, 14387 "linewidth": 1, 14388 "links": [ 14389 14390 ], 14391 "nullPointMode": "null", 14392 "percentage": false, 14393 "pointradius": 5, 14394 "points": false, 14395 "renderer": "flot", 14396 "repeat": null, 14397 "seriesOverrides": [ 14398 { 14399 "alias": "read", 14400 "yaxis": 1 14401 }, 14402 { 14403 "alias": "io time", 14404 "yaxis": 2 14405 } 14406 ], 14407 "spaceLength": 10, 14408 "span": 6, 14409 "stack": false, 14410 "steppedLine": false, 14411 "targets": [ 14412 { 14413 "expr": "max(rate(node_disk_read_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))", 14414 "format": "time_series", 14415 "intervalFactor": 2, 14416 "legendFormat": "read", 14417 "refId": "A" 14418 }, 14419 { 14420 "expr": "max(rate(node_disk_written_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))", 14421 "format": "time_series", 14422 "intervalFactor": 2, 14423 "legendFormat": "written", 14424 "refId": "B" 14425 }, 14426 { 14427 "expr": "max(rate(node_disk_io_time_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))", 14428 "format": "time_series", 14429 "intervalFactor": 2, 14430 "legendFormat": "io time", 14431 "refId": "C" 14432 } 14433 ], 14434 "thresholds": [ 14435 14436 ], 14437 "timeFrom": null, 14438 "timeShift": null, 14439 "title": "Disk I/O", 14440 "tooltip": { 14441 "shared": false, 14442 "sort": 0, 14443 "value_type": "individual" 14444 }, 14445 "type": "graph", 14446 "xaxis": { 14447 "buckets": null, 14448 "mode": "time", 14449 "name": null, 14450 "show": true, 14451 "values": [ 14452 14453 ] 14454 }, 14455 "yaxes": [ 14456 { 14457 "format": "bytes", 14458 "label": null, 14459 "logBase": 1, 14460 "max": null, 14461 "min": null, 14462 "show": true 14463 }, 14464 { 14465 "format": "ms", 14466 "label": null, 14467 "logBase": 1, 14468 "max": null, 14469 "min": null, 14470 "show": true 14471 } 14472 ] 14473 }, 14474 { 14475 "aliasColors": { 14476 14477 }, 14478 "bars": false, 14479 "dashLength": 10, 14480 "dashes": false, 14481 "datasource": "$datasource", 14482 "fill": 1, 14483 "gridPos": { 14484 14485 }, 14486 "id": 9, 14487 "legend": { 14488 "alignAsTable": false, 14489 "avg": false, 14490 "current": false, 14491 "max": false, 14492 "min": false, 14493 "rightSide": false, 14494 "show": true, 14495 "total": false, 14496 "values": false 14497 }, 14498 "lines": true, 14499 "linewidth": 1, 14500 "links": [ 14501 14502 ], 14503 "nullPointMode": "null", 14504 "percentage": false, 14505 "pointradius": 5, 14506 "points": false, 14507 "renderer": "flot", 14508 "repeat": null, 14509 "seriesOverrides": [ 14510 14511 ], 14512 "spaceLength": 10, 14513 "span": 6, 14514 "stack": false, 14515 "steppedLine": false, 14516 "targets": [ 14517 { 14518 "expr": "max by (namespace, pod, device) ((node_filesystem_size_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"} - node_filesystem_avail_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"}) / node_filesystem_size_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"})", 14519 "format": "time_series", 14520 "intervalFactor": 2, 14521 "legendFormat": "disk used", 14522 "refId": "A" 14523 }, 14524 { 14525 "expr": "max by (namespace, pod, device) (node_filesystem_avail_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"} / node_filesystem_size_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"})", 14526 "format": "time_series", 14527 "intervalFactor": 2, 14528 "legendFormat": "disk free", 14529 "refId": "B" 14530 } 14531 ], 14532 "thresholds": [ 14533 14534 ], 14535 "timeFrom": null, 14536 "timeShift": null, 14537 "title": "Disk Space Usage", 14538 "tooltip": { 14539 "shared": false, 14540 "sort": 0, 14541 "value_type": "individual" 14542 }, 14543 "type": "graph", 14544 "xaxis": { 14545 "buckets": null, 14546 "mode": "time", 14547 "name": null, 14548 "show": true, 14549 "values": [ 14550 14551 ] 14552 }, 14553 "yaxes": [ 14554 { 14555 "format": "percentunit", 14556 "label": null, 14557 "logBase": 1, 14558 "max": null, 14559 "min": null, 14560 "show": true 14561 }, 14562 { 14563 "format": "percentunit", 14564 "label": null, 14565 "logBase": 1, 14566 "max": null, 14567 "min": null, 14568 "show": true 14569 } 14570 ] 14571 } 14572 ], 14573 "repeat": null, 14574 "repeatIteration": null, 14575 "repeatRowId": null, 14576 "showTitle": false, 14577 "title": "Dashboard Row", 14578 "titleSize": "h6", 14579 "type": "row" 14580 }, 14581 { 14582 "collapse": false, 14583 "collapsed": false, 14584 "panels": [ 14585 { 14586 "aliasColors": { 14587 14588 }, 14589 "bars": false, 14590 "dashLength": 10, 14591 "dashes": false, 14592 "datasource": "$datasource", 14593 "fill": 1, 14594 "gridPos": { 14595 14596 }, 14597 "id": 10, 14598 "legend": { 14599 "alignAsTable": false, 14600 "avg": false, 14601 "current": false, 14602 "max": false, 14603 "min": false, 14604 "rightSide": false, 14605 "show": true, 14606 "total": false, 14607 "values": false 14608 }, 14609 "lines": true, 14610 "linewidth": 1, 14611 "links": [ 14612 14613 ], 14614 "nullPointMode": "null", 14615 "percentage": false, 14616 "pointradius": 5, 14617 "points": false, 14618 "renderer": "flot", 14619 "repeat": null, 14620 "seriesOverrides": [ 14621 14622 ], 14623 "spaceLength": 10, 14624 "span": 6, 14625 "stack": false, 14626 "steppedLine": false, 14627 "targets": [ 14628 { 14629 "expr": "max(rate(node_network_receive_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", device!~\"lo\"}[5m]))", 14630 "format": "time_series", 14631 "intervalFactor": 2, 14632 "legendFormat": "{{device}}", 14633 "refId": "A" 14634 } 14635 ], 14636 "thresholds": [ 14637 14638 ], 14639 "timeFrom": null, 14640 "timeShift": null, 14641 "title": "Network Received", 14642 "tooltip": { 14643 "shared": false, 14644 "sort": 0, 14645 "value_type": "individual" 14646 }, 14647 "type": "graph", 14648 "xaxis": { 14649 "buckets": null, 14650 "mode": "time", 14651 "name": null, 14652 "show": true, 14653 "values": [ 14654 14655 ] 14656 }, 14657 "yaxes": [ 14658 { 14659 "format": "bytes", 14660 "label": null, 14661 "logBase": 1, 14662 "max": null, 14663 "min": null, 14664 "show": true 14665 }, 14666 { 14667 "format": "bytes", 14668 "label": null, 14669 "logBase": 1, 14670 "max": null, 14671 "min": null, 14672 "show": true 14673 } 14674 ] 14675 }, 14676 { 14677 "aliasColors": { 14678 14679 }, 14680 "bars": false, 14681 "dashLength": 10, 14682 "dashes": false, 14683 "datasource": "$datasource", 14684 "fill": 1, 14685 "gridPos": { 14686 14687 }, 14688 "id": 11, 14689 "legend": { 14690 "alignAsTable": false, 14691 "avg": false, 14692 "current": false, 14693 "max": false, 14694 "min": false, 14695 "rightSide": false, 14696 "show": true, 14697 "total": false, 14698 "values": false 14699 }, 14700 "lines": true, 14701 "linewidth": 1, 14702 "links": [ 14703 14704 ], 14705 "nullPointMode": "null", 14706 "percentage": false, 14707 "pointradius": 5, 14708 "points": false, 14709 "renderer": "flot", 14710 "repeat": null, 14711 "seriesOverrides": [ 14712 14713 ], 14714 "spaceLength": 10, 14715 "span": 6, 14716 "stack": false, 14717 "steppedLine": false, 14718 "targets": [ 14719 { 14720 "expr": "max(rate(node_network_transmit_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", device!~\"lo\"}[5m]))", 14721 "format": "time_series", 14722 "intervalFactor": 2, 14723 "legendFormat": "{{device}}", 14724 "refId": "A" 14725 } 14726 ], 14727 "thresholds": [ 14728 14729 ], 14730 "timeFrom": null, 14731 "timeShift": null, 14732 "title": "Network Transmitted", 14733 "tooltip": { 14734 "shared": false, 14735 "sort": 0, 14736 "value_type": "individual" 14737 }, 14738 "type": "graph", 14739 "xaxis": { 14740 "buckets": null, 14741 "mode": "time", 14742 "name": null, 14743 "show": true, 14744 "values": [ 14745 14746 ] 14747 }, 14748 "yaxes": [ 14749 { 14750 "format": "bytes", 14751 "label": null, 14752 "logBase": 1, 14753 "max": null, 14754 "min": null, 14755 "show": true 14756 }, 14757 { 14758 "format": "bytes", 14759 "label": null, 14760 "logBase": 1, 14761 "max": null, 14762 "min": null, 14763 "show": true 14764 } 14765 ] 14766 } 14767 ], 14768 "repeat": null, 14769 "repeatIteration": null, 14770 "repeatRowId": null, 14771 "showTitle": false, 14772 "title": "Dashboard Row", 14773 "titleSize": "h6", 14774 "type": "row" 14775 }, 14776 { 14777 "collapse": false, 14778 "collapsed": false, 14779 "panels": [ 14780 { 14781 "aliasColors": { 14782 14783 }, 14784 "bars": false, 14785 "dashLength": 10, 14786 "dashes": false, 14787 "datasource": "$datasource", 14788 "fill": 1, 14789 "gridPos": { 14790 14791 }, 14792 "id": 12, 14793 "legend": { 14794 "alignAsTable": false, 14795 "avg": false, 14796 "current": false, 14797 "max": false, 14798 "min": false, 14799 "rightSide": false, 14800 "show": true, 14801 "total": false, 14802 "values": false 14803 }, 14804 "lines": true, 14805 "linewidth": 1, 14806 "links": [ 14807 14808 ], 14809 "nullPointMode": "null", 14810 "percentage": false, 14811 "pointradius": 5, 14812 "points": false, 14813 "renderer": "flot", 14814 "repeat": null, 14815 "seriesOverrides": [ 14816 14817 ], 14818 "spaceLength": 10, 14819 "span": 9, 14820 "stack": false, 14821 "steppedLine": false, 14822 "targets": [ 14823 { 14824 "expr": "max(\n node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n)\n", 14825 "format": "time_series", 14826 "intervalFactor": 2, 14827 "legendFormat": "inodes used", 14828 "refId": "A" 14829 }, 14830 { 14831 "expr": "max(node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})", 14832 "format": "time_series", 14833 "intervalFactor": 2, 14834 "legendFormat": "inodes free", 14835 "refId": "B" 14836 } 14837 ], 14838 "thresholds": [ 14839 14840 ], 14841 "timeFrom": null, 14842 "timeShift": null, 14843 "title": "Inodes Usage", 14844 "tooltip": { 14845 "shared": false, 14846 "sort": 0, 14847 "value_type": "individual" 14848 }, 14849 "type": "graph", 14850 "xaxis": { 14851 "buckets": null, 14852 "mode": "time", 14853 "name": null, 14854 "show": true, 14855 "values": [ 14856 14857 ] 14858 }, 14859 "yaxes": [ 14860 { 14861 "format": "short", 14862 "label": null, 14863 "logBase": 1, 14864 "max": null, 14865 "min": null, 14866 "show": true 14867 }, 14868 { 14869 "format": "short", 14870 "label": null, 14871 "logBase": 1, 14872 "max": null, 14873 "min": null, 14874 "show": true 14875 } 14876 ] 14877 }, 14878 { 14879 "cacheTimeout": null, 14880 "colorBackground": false, 14881 "colorValue": false, 14882 "colors": [ 14883 "rgba(50, 172, 45, 0.97)", 14884 "rgba(237, 129, 40, 0.89)", 14885 "rgba(245, 54, 54, 0.9)" 14886 ], 14887 "datasource": "$datasource", 14888 "format": "percent", 14889 "gauge": { 14890 "maxValue": 100, 14891 "minValue": 0, 14892 "show": true, 14893 "thresholdLabels": false, 14894 "thresholdMarkers": true 14895 }, 14896 "gridPos": { 14897 14898 }, 14899 "id": 13, 14900 "interval": null, 14901 "links": [ 14902 14903 ], 14904 "mappingType": 1, 14905 "mappingTypes": [ 14906 { 14907 "name": "value to text", 14908 "value": 1 14909 }, 14910 { 14911 "name": "range to text", 14912 "value": 2 14913 } 14914 ], 14915 "maxDataPoints": 100, 14916 "nullPointMode": "connected", 14917 "nullText": null, 14918 "postfix": "", 14919 "postfixFontSize": "50%", 14920 "prefix": "", 14921 "prefixFontSize": "50%", 14922 "rangeMaps": [ 14923 { 14924 "from": "null", 14925 "text": "N/A", 14926 "to": "null" 14927 } 14928 ], 14929 "span": 3, 14930 "sparkline": { 14931 "fillColor": "rgba(31, 118, 189, 0.18)", 14932 "full": false, 14933 "lineColor": "rgb(31, 120, 193)", 14934 "show": false 14935 }, 14936 "tableColumn": "", 14937 "targets": [ 14938 { 14939 "expr": "max(\n (\n (\n node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n )\n / node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n ) * 100)\n", 14940 "format": "time_series", 14941 "intervalFactor": 2, 14942 "legendFormat": "", 14943 "refId": "A" 14944 } 14945 ], 14946 "thresholds": "80, 90", 14947 "title": "Inodes Usage", 14948 "tooltip": { 14949 "shared": false 14950 }, 14951 "type": "singlestat", 14952 "valueFontSize": "80%", 14953 "valueMaps": [ 14954 { 14955 "op": "=", 14956 "text": "N/A", 14957 "value": "null" 14958 } 14959 ], 14960 "valueName": "current" 14961 } 14962 ], 14963 "repeat": null, 14964 "repeatIteration": null, 14965 "repeatRowId": null, 14966 "showTitle": false, 14967 "title": "Dashboard Row", 14968 "titleSize": "h6", 14969 "type": "row" 14970 } 14971 ], 14972 "schemaVersion": 14, 14973 "style": "dark", 14974 "tags": [ 14975 "kubernetes-mixin" 14976 ], 14977 "templating": { 14978 "list": [ 14979 { 14980 "current": { 14981 "text": "Prometheus", 14982 "value": "Prometheus" 14983 }, 14984 "hide": 0, 14985 "label": null, 14986 "name": "datasource", 14987 "options": [ 14988 14989 ], 14990 "query": "prometheus", 14991 "refresh": 1, 14992 "regex": "", 14993 "type": "datasource" 14994 }, 14995 { 14996 "allValue": null, 14997 "current": { 14998 14999 }, 15000 "datasource": "$datasource", 15001 "hide": 2, 15002 "includeAll": false, 15003 "label": "cluster", 15004 "multi": false, 15005 "name": "cluster", 15006 "options": [ 15007 15008 ], 15009 "query": "label_values(kube_pod_info, cluster)", 15010 "refresh": 2, 15011 "regex": "", 15012 "sort": 0, 15013 "tagValuesQuery": "", 15014 "tags": [ 15015 15016 ], 15017 "tagsQuery": "", 15018 "type": "query", 15019 "useTags": false 15020 }, 15021 { 15022 "allValue": null, 15023 "current": { 15024 15025 }, 15026 "datasource": "$datasource", 15027 "hide": 0, 15028 "includeAll": false, 15029 "label": null, 15030 "multi": false, 15031 "name": "instance", 15032 "options": [ 15033 15034 ], 15035 "query": "label_values(node_boot_time_seconds{cluster=\"$cluster\", job=\"node-exporter\"}, instance)", 15036 "refresh": 2, 15037 "regex": "", 15038 "sort": 0, 15039 "tagValuesQuery": "", 15040 "tags": [ 15041 15042 ], 15043 "tagsQuery": "", 15044 "type": "query", 15045 "useTags": false 15046 } 15047 ] 15048 }, 15049 "time": { 15050 "from": "now-1h", 15051 "to": "now" 15052 }, 15053 "timepicker": { 15054 "refresh_intervals": [ 15055 "5s", 15056 "10s", 15057 "30s", 15058 "1m", 15059 "5m", 15060 "15m", 15061 "30m", 15062 "1h", 15063 "2h", 15064 "1d" 15065 ], 15066 "time_options": [ 15067 "5m", 15068 "15m", 15069 "1h", 15070 "6h", 15071 "12h", 15072 "24h", 15073 "2d", 15074 "7d", 15075 "30d" 15076 ] 15077 }, 15078 "timezone": "", 15079 "title": "Kubernetes / Nodes", 15080 "uid": "fa49a4706d07a042595b664c87fb33ea", 15081 "version": 0 15082 } 15083 kind: ConfigMap 15084 metadata: 15085 name: grafana-dashboard-nodes 15086 namespace: monitoring 15087 - apiVersion: v1 15088 data: 15089 persistentvolumesusage.json: |- 15090 { 15091 "__inputs": [ 15092 15093 ], 15094 "__requires": [ 15095 15096 ], 15097 "annotations": { 15098 "list": [ 15099 15100 ] 15101 }, 15102 "editable": false, 15103 "gnetId": null, 15104 "graphTooltip": 0, 15105 "hideControls": false, 15106 "id": null, 15107 "links": [ 15108 15109 ], 15110 "refresh": "", 15111 "rows": [ 15112 { 15113 "collapse": false, 15114 "collapsed": false, 15115 "panels": [ 15116 { 15117 "aliasColors": { 15118 15119 }, 15120 "bars": false, 15121 "dashLength": 10, 15122 "dashes": false, 15123 "datasource": "$datasource", 15124 "fill": 1, 15125 "gridPos": { 15126 15127 }, 15128 "id": 2, 15129 "legend": { 15130 "alignAsTable": true, 15131 "avg": true, 15132 "current": true, 15133 "max": true, 15134 "min": true, 15135 "rightSide": false, 15136 "show": true, 15137 "total": false, 15138 "values": true 15139 }, 15140 "lines": true, 15141 "linewidth": 1, 15142 "links": [ 15143 15144 ], 15145 "nullPointMode": "null", 15146 "percentage": false, 15147 "pointradius": 5, 15148 "points": false, 15149 "renderer": "flot", 15150 "repeat": null, 15151 "seriesOverrides": [ 15152 15153 ], 15154 "spaceLength": 10, 15155 "span": 9, 15156 "stack": true, 15157 "steppedLine": false, 15158 "targets": [ 15159 { 15160 "expr": "(\n sum without(instance, node) (kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n -\n sum without(instance, node) (kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n)\n", 15161 "format": "time_series", 15162 "intervalFactor": 1, 15163 "legendFormat": "Used Space", 15164 "refId": "A" 15165 }, 15166 { 15167 "expr": "sum without(instance, node) (kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n", 15168 "format": "time_series", 15169 "intervalFactor": 1, 15170 "legendFormat": "Free Space", 15171 "refId": "B" 15172 } 15173 ], 15174 "thresholds": [ 15175 15176 ], 15177 "timeFrom": null, 15178 "timeShift": null, 15179 "title": "Volume Space Usage", 15180 "tooltip": { 15181 "shared": false, 15182 "sort": 0, 15183 "value_type": "individual" 15184 }, 15185 "type": "graph", 15186 "xaxis": { 15187 "buckets": null, 15188 "mode": "time", 15189 "name": null, 15190 "show": true, 15191 "values": [ 15192 15193 ] 15194 }, 15195 "yaxes": [ 15196 { 15197 "format": "bytes", 15198 "label": null, 15199 "logBase": 1, 15200 "max": null, 15201 "min": 0, 15202 "show": true 15203 }, 15204 { 15205 "format": "bytes", 15206 "label": null, 15207 "logBase": 1, 15208 "max": null, 15209 "min": 0, 15210 "show": true 15211 } 15212 ] 15213 }, 15214 { 15215 "cacheTimeout": null, 15216 "colorBackground": false, 15217 "colorValue": false, 15218 "colors": [ 15219 "rgba(50, 172, 45, 0.97)", 15220 "rgba(237, 129, 40, 0.89)", 15221 "rgba(245, 54, 54, 0.9)" 15222 ], 15223 "datasource": "$datasource", 15224 "format": "percent", 15225 "gauge": { 15226 "maxValue": 100, 15227 "minValue": 0, 15228 "show": true, 15229 "thresholdLabels": false, 15230 "thresholdMarkers": true 15231 }, 15232 "gridPos": { 15233 15234 }, 15235 "id": 3, 15236 "interval": null, 15237 "links": [ 15238 15239 ], 15240 "mappingType": 1, 15241 "mappingTypes": [ 15242 { 15243 "name": "value to text", 15244 "value": 1 15245 }, 15246 { 15247 "name": "range to text", 15248 "value": 2 15249 } 15250 ], 15251 "maxDataPoints": 100, 15252 "nullPointMode": "connected", 15253 "nullText": null, 15254 "postfix": "", 15255 "postfixFontSize": "50%", 15256 "prefix": "", 15257 "prefixFontSize": "50%", 15258 "rangeMaps": [ 15259 { 15260 "from": "null", 15261 "text": "N/A", 15262 "to": "null" 15263 } 15264 ], 15265 "span": 3, 15266 "sparkline": { 15267 "fillColor": "rgba(31, 118, 189, 0.18)", 15268 "full": false, 15269 "lineColor": "rgb(31, 120, 193)", 15270 "show": false 15271 }, 15272 "tableColumn": "", 15273 "targets": [ 15274 { 15275 "expr": "(\n kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n -\n kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n)\n/\nkubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n* 100\n", 15276 "format": "time_series", 15277 "intervalFactor": 2, 15278 "legendFormat": "", 15279 "refId": "A" 15280 } 15281 ], 15282 "thresholds": "80, 90", 15283 "title": "Volume Space Usage", 15284 "tooltip": { 15285 "shared": false 15286 }, 15287 "type": "singlestat", 15288 "valueFontSize": "80%", 15289 "valueMaps": [ 15290 { 15291 "op": "=", 15292 "text": "N/A", 15293 "value": "null" 15294 } 15295 ], 15296 "valueName": "current" 15297 } 15298 ], 15299 "repeat": null, 15300 "repeatIteration": null, 15301 "repeatRowId": null, 15302 "showTitle": false, 15303 "title": "Dashboard Row", 15304 "titleSize": "h6", 15305 "type": "row" 15306 }, 15307 { 15308 "collapse": false, 15309 "collapsed": false, 15310 "panels": [ 15311 { 15312 "aliasColors": { 15313 15314 }, 15315 "bars": false, 15316 "dashLength": 10, 15317 "dashes": false, 15318 "datasource": "$datasource", 15319 "fill": 1, 15320 "gridPos": { 15321 15322 }, 15323 "id": 4, 15324 "legend": { 15325 "alignAsTable": true, 15326 "avg": true, 15327 "current": true, 15328 "max": true, 15329 "min": true, 15330 "rightSide": false, 15331 "show": true, 15332 "total": false, 15333 "values": true 15334 }, 15335 "lines": true, 15336 "linewidth": 1, 15337 "links": [ 15338 15339 ], 15340 "nullPointMode": "null", 15341 "percentage": false, 15342 "pointradius": 5, 15343 "points": false, 15344 "renderer": "flot", 15345 "repeat": null, 15346 "seriesOverrides": [ 15347 15348 ], 15349 "spaceLength": 10, 15350 "span": 9, 15351 "stack": true, 15352 "steppedLine": false, 15353 "targets": [ 15354 { 15355 "expr": "sum without(instance, node) (kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n", 15356 "format": "time_series", 15357 "intervalFactor": 1, 15358 "legendFormat": "Used inodes", 15359 "refId": "A" 15360 }, 15361 { 15362 "expr": "(\n sum without(instance, node) (kubelet_volume_stats_inodes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n -\n sum without(instance, node) (kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n)\n", 15363 "format": "time_series", 15364 "intervalFactor": 1, 15365 "legendFormat": " Free inodes", 15366 "refId": "B" 15367 } 15368 ], 15369 "thresholds": [ 15370 15371 ], 15372 "timeFrom": null, 15373 "timeShift": null, 15374 "title": "Volume inodes Usage", 15375 "tooltip": { 15376 "shared": false, 15377 "sort": 0, 15378 "value_type": "individual" 15379 }, 15380 "type": "graph", 15381 "xaxis": { 15382 "buckets": null, 15383 "mode": "time", 15384 "name": null, 15385 "show": true, 15386 "values": [ 15387 15388 ] 15389 }, 15390 "yaxes": [ 15391 { 15392 "format": "none", 15393 "label": null, 15394 "logBase": 1, 15395 "max": null, 15396 "min": 0, 15397 "show": true 15398 }, 15399 { 15400 "format": "none", 15401 "label": null, 15402 "logBase": 1, 15403 "max": null, 15404 "min": 0, 15405 "show": true 15406 } 15407 ] 15408 }, 15409 { 15410 "cacheTimeout": null, 15411 "colorBackground": false, 15412 "colorValue": false, 15413 "colors": [ 15414 "rgba(50, 172, 45, 0.97)", 15415 "rgba(237, 129, 40, 0.89)", 15416 "rgba(245, 54, 54, 0.9)" 15417 ], 15418 "datasource": "$datasource", 15419 "format": "percent", 15420 "gauge": { 15421 "maxValue": 100, 15422 "minValue": 0, 15423 "show": true, 15424 "thresholdLabels": false, 15425 "thresholdMarkers": true 15426 }, 15427 "gridPos": { 15428 15429 }, 15430 "id": 5, 15431 "interval": null, 15432 "links": [ 15433 15434 ], 15435 "mappingType": 1, 15436 "mappingTypes": [ 15437 { 15438 "name": "value to text", 15439 "value": 1 15440 }, 15441 { 15442 "name": "range to text", 15443 "value": 2 15444 } 15445 ], 15446 "maxDataPoints": 100, 15447 "nullPointMode": "connected", 15448 "nullText": null, 15449 "postfix": "", 15450 "postfixFontSize": "50%", 15451 "prefix": "", 15452 "prefixFontSize": "50%", 15453 "rangeMaps": [ 15454 { 15455 "from": "null", 15456 "text": "N/A", 15457 "to": "null" 15458 } 15459 ], 15460 "span": 3, 15461 "sparkline": { 15462 "fillColor": "rgba(31, 118, 189, 0.18)", 15463 "full": false, 15464 "lineColor": "rgb(31, 120, 193)", 15465 "show": false 15466 }, 15467 "tableColumn": "", 15468 "targets": [ 15469 { 15470 "expr": "kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n/\nkubelet_volume_stats_inodes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n* 100\n", 15471 "format": "time_series", 15472 "intervalFactor": 2, 15473 "legendFormat": "", 15474 "refId": "A" 15475 } 15476 ], 15477 "thresholds": "80, 90", 15478 "title": "Volume inodes Usage", 15479 "tooltip": { 15480 "shared": false 15481 }, 15482 "type": "singlestat", 15483 "valueFontSize": "80%", 15484 "valueMaps": [ 15485 { 15486 "op": "=", 15487 "text": "N/A", 15488 "value": "null" 15489 } 15490 ], 15491 "valueName": "current" 15492 } 15493 ], 15494 "repeat": null, 15495 "repeatIteration": null, 15496 "repeatRowId": null, 15497 "showTitle": false, 15498 "title": "Dashboard Row", 15499 "titleSize": "h6", 15500 "type": "row" 15501 } 15502 ], 15503 "schemaVersion": 14, 15504 "style": "dark", 15505 "tags": [ 15506 "kubernetes-mixin" 15507 ], 15508 "templating": { 15509 "list": [ 15510 { 15511 "current": { 15512 "text": "Prometheus", 15513 "value": "Prometheus" 15514 }, 15515 "hide": 0, 15516 "label": null, 15517 "name": "datasource", 15518 "options": [ 15519 15520 ], 15521 "query": "prometheus", 15522 "refresh": 1, 15523 "regex": "", 15524 "type": "datasource" 15525 }, 15526 { 15527 "allValue": null, 15528 "current": { 15529 15530 }, 15531 "datasource": "$datasource", 15532 "hide": 2, 15533 "includeAll": false, 15534 "label": "cluster", 15535 "multi": false, 15536 "name": "cluster", 15537 "options": [ 15538 15539 ], 15540 "query": "label_values(kubelet_volume_stats_capacity_bytes, cluster)", 15541 "refresh": 2, 15542 "regex": "", 15543 "sort": 0, 15544 "tagValuesQuery": "", 15545 "tags": [ 15546 15547 ], 15548 "tagsQuery": "", 15549 "type": "query", 15550 "useTags": false 15551 }, 15552 { 15553 "allValue": null, 15554 "current": { 15555 15556 }, 15557 "datasource": "$datasource", 15558 "hide": 0, 15559 "includeAll": false, 15560 "label": "Namespace", 15561 "multi": false, 15562 "name": "namespace", 15563 "options": [ 15564 15565 ], 15566 "query": "label_values(kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\"}, namespace)", 15567 "refresh": 2, 15568 "regex": "", 15569 "sort": 0, 15570 "tagValuesQuery": "", 15571 "tags": [ 15572 15573 ], 15574 "tagsQuery": "", 15575 "type": "query", 15576 "useTags": false 15577 }, 15578 { 15579 "allValue": null, 15580 "current": { 15581 15582 }, 15583 "datasource": "$datasource", 15584 "hide": 0, 15585 "includeAll": false, 15586 "label": "PersistentVolumeClaim", 15587 "multi": false, 15588 "name": "volume", 15589 "options": [ 15590 15591 ], 15592 "query": "label_values(kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\"}, persistentvolumeclaim)", 15593 "refresh": 2, 15594 "regex": "", 15595 "sort": 0, 15596 "tagValuesQuery": "", 15597 "tags": [ 15598 15599 ], 15600 "tagsQuery": "", 15601 "type": "query", 15602 "useTags": false 15603 } 15604 ] 15605 }, 15606 "time": { 15607 "from": "now-7d", 15608 "to": "now" 15609 }, 15610 "timepicker": { 15611 "refresh_intervals": [ 15612 "5s", 15613 "10s", 15614 "30s", 15615 "1m", 15616 "5m", 15617 "15m", 15618 "30m", 15619 "1h", 15620 "2h", 15621 "1d" 15622 ], 15623 "time_options": [ 15624 "5m", 15625 "15m", 15626 "1h", 15627 "6h", 15628 "12h", 15629 "24h", 15630 "2d", 15631 "7d", 15632 "30d" 15633 ] 15634 }, 15635 "timezone": "", 15636 "title": "Kubernetes / Persistent Volumes", 15637 "uid": "919b92a8e8041bd567af9edab12c840c", 15638 "version": 0 15639 } 15640 kind: ConfigMap 15641 metadata: 15642 name: grafana-dashboard-persistentvolumesusage 15643 namespace: monitoring 15644 - apiVersion: v1 15645 data: 15646 pods.json: |- 15647 { 15648 "__inputs": [ 15649 15650 ], 15651 "__requires": [ 15652 15653 ], 15654 "annotations": { 15655 "list": [ 15656 { 15657 "builtIn": 1, 15658 "datasource": "$datasource", 15659 "enable": true, 15660 "expr": "time() == BOOL timestamp(rate(kube_pod_container_status_restarts_total{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[2m]) > 0)", 15661 "hide": false, 15662 "iconColor": "rgba(215, 44, 44, 1)", 15663 "name": "Restarts", 15664 "showIn": 0, 15665 "tags": [ 15666 "restart" 15667 ], 15668 "type": "rows" 15669 } 15670 ] 15671 }, 15672 "editable": false, 15673 "gnetId": null, 15674 "graphTooltip": 0, 15675 "hideControls": false, 15676 "id": null, 15677 "links": [ 15678 15679 ], 15680 "refresh": "", 15681 "rows": [ 15682 { 15683 "collapse": false, 15684 "collapsed": false, 15685 "panels": [ 15686 { 15687 "aliasColors": { 15688 15689 }, 15690 "bars": false, 15691 "dashLength": 10, 15692 "dashes": false, 15693 "datasource": "$datasource", 15694 "fill": 1, 15695 "gridPos": { 15696 15697 }, 15698 "id": 2, 15699 "legend": { 15700 "alignAsTable": true, 15701 "avg": true, 15702 "current": true, 15703 "max": false, 15704 "min": false, 15705 "rightSide": true, 15706 "show": true, 15707 "total": false, 15708 "values": false 15709 }, 15710 "lines": true, 15711 "linewidth": 1, 15712 "links": [ 15713 15714 ], 15715 "nullPointMode": "null", 15716 "percentage": false, 15717 "pointradius": 5, 15718 "points": false, 15719 "renderer": "flot", 15720 "repeat": null, 15721 "seriesOverrides": [ 15722 15723 ], 15724 "spaceLength": 10, 15725 "span": 12, 15726 "stack": false, 15727 "steppedLine": false, 15728 "targets": [ 15729 { 15730 "expr": "sum by(container_name) (container_memory_usage_bytes{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\", container_name=~\"$container\", container_name!=\"POD\"})", 15731 "format": "time_series", 15732 "intervalFactor": 2, 15733 "legendFormat": "Current: {{ container_name }}", 15734 "refId": "A" 15735 }, 15736 { 15737 "expr": "sum by(container) (kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\", pod=\"$pod\", container=~\"$container\"})", 15738 "format": "time_series", 15739 "intervalFactor": 2, 15740 "legendFormat": "Requested: {{ container }}", 15741 "refId": "B" 15742 }, 15743 { 15744 "expr": "sum by(container) (kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\", pod=\"$pod\", container=~\"$container\"})", 15745 "format": "time_series", 15746 "intervalFactor": 2, 15747 "legendFormat": "Limit: {{ container }}", 15748 "refId": "C" 15749 }, 15750 { 15751 "expr": "sum by(container_name) (container_memory_cache{job=\"kubelet\", namespace=\"$namespace\", pod_name=~\"$pod\", container_name=~\"$container\", container_name!=\"POD\"})", 15752 "format": "time_series", 15753 "intervalFactor": 2, 15754 "legendFormat": "Cache: {{ container_name }}", 15755 "refId": "D" 15756 } 15757 ], 15758 "thresholds": [ 15759 15760 ], 15761 "timeFrom": null, 15762 "timeShift": null, 15763 "title": "Memory Usage", 15764 "tooltip": { 15765 "shared": false, 15766 "sort": 0, 15767 "value_type": "individual" 15768 }, 15769 "type": "graph", 15770 "xaxis": { 15771 "buckets": null, 15772 "mode": "time", 15773 "name": null, 15774 "show": true, 15775 "values": [ 15776 15777 ] 15778 }, 15779 "yaxes": [ 15780 { 15781 "format": "bytes", 15782 "label": null, 15783 "logBase": 1, 15784 "max": null, 15785 "min": 0, 15786 "show": true 15787 }, 15788 { 15789 "format": "bytes", 15790 "label": null, 15791 "logBase": 1, 15792 "max": null, 15793 "min": 0, 15794 "show": true 15795 } 15796 ] 15797 } 15798 ], 15799 "repeat": null, 15800 "repeatIteration": null, 15801 "repeatRowId": null, 15802 "showTitle": false, 15803 "title": "Dashboard Row", 15804 "titleSize": "h6", 15805 "type": "row" 15806 }, 15807 { 15808 "collapse": false, 15809 "collapsed": false, 15810 "panels": [ 15811 { 15812 "aliasColors": { 15813 15814 }, 15815 "bars": false, 15816 "dashLength": 10, 15817 "dashes": false, 15818 "datasource": "$datasource", 15819 "fill": 1, 15820 "gridPos": { 15821 15822 }, 15823 "id": 3, 15824 "legend": { 15825 "alignAsTable": true, 15826 "avg": true, 15827 "current": true, 15828 "max": false, 15829 "min": false, 15830 "rightSide": true, 15831 "show": true, 15832 "total": false, 15833 "values": false 15834 }, 15835 "lines": true, 15836 "linewidth": 1, 15837 "links": [ 15838 15839 ], 15840 "nullPointMode": "null", 15841 "percentage": false, 15842 "pointradius": 5, 15843 "points": false, 15844 "renderer": "flot", 15845 "repeat": null, 15846 "seriesOverrides": [ 15847 15848 ], 15849 "spaceLength": 10, 15850 "span": 12, 15851 "stack": false, 15852 "steppedLine": false, 15853 "targets": [ 15854 { 15855 "expr": "sum by (container_name) (rate(container_cpu_usage_seconds_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", image!=\"\", pod_name=\"$pod\", container_name=~\"$container\", container_name!=\"POD\"}[1m]))", 15856 "format": "time_series", 15857 "intervalFactor": 2, 15858 "legendFormat": "Current: {{ container_name }}", 15859 "refId": "A" 15860 }, 15861 { 15862 "expr": "sum by(container) (kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\", pod=\"$pod\", container=~\"$container\"})", 15863 "format": "time_series", 15864 "intervalFactor": 2, 15865 "legendFormat": "Requested: {{ container }}", 15866 "refId": "B" 15867 }, 15868 { 15869 "expr": "sum by(container) (kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\", pod=\"$pod\", container=~\"$container\"})", 15870 "format": "time_series", 15871 "intervalFactor": 2, 15872 "legendFormat": "Limit: {{ container }}", 15873 "refId": "C" 15874 } 15875 ], 15876 "thresholds": [ 15877 15878 ], 15879 "timeFrom": null, 15880 "timeShift": null, 15881 "title": "CPU Usage", 15882 "tooltip": { 15883 "shared": false, 15884 "sort": 0, 15885 "value_type": "individual" 15886 }, 15887 "type": "graph", 15888 "xaxis": { 15889 "buckets": null, 15890 "mode": "time", 15891 "name": null, 15892 "show": true, 15893 "values": [ 15894 15895 ] 15896 }, 15897 "yaxes": [ 15898 { 15899 "format": "short", 15900 "label": null, 15901 "logBase": 1, 15902 "max": null, 15903 "min": 0, 15904 "show": true 15905 }, 15906 { 15907 "format": "short", 15908 "label": null, 15909 "logBase": 1, 15910 "max": null, 15911 "min": 0, 15912 "show": true 15913 } 15914 ] 15915 } 15916 ], 15917 "repeat": null, 15918 "repeatIteration": null, 15919 "repeatRowId": null, 15920 "showTitle": false, 15921 "title": "Dashboard Row", 15922 "titleSize": "h6", 15923 "type": "row" 15924 }, 15925 { 15926 "collapse": false, 15927 "collapsed": false, 15928 "panels": [ 15929 { 15930 "aliasColors": { 15931 15932 }, 15933 "bars": false, 15934 "dashLength": 10, 15935 "dashes": false, 15936 "datasource": "$datasource", 15937 "fill": 1, 15938 "gridPos": { 15939 15940 }, 15941 "id": 4, 15942 "legend": { 15943 "alignAsTable": true, 15944 "avg": true, 15945 "current": true, 15946 "max": false, 15947 "min": false, 15948 "rightSide": true, 15949 "show": true, 15950 "total": false, 15951 "values": false 15952 }, 15953 "lines": true, 15954 "linewidth": 1, 15955 "links": [ 15956 15957 ], 15958 "nullPointMode": "null", 15959 "percentage": false, 15960 "pointradius": 5, 15961 "points": false, 15962 "renderer": "flot", 15963 "repeat": null, 15964 "seriesOverrides": [ 15965 15966 ], 15967 "spaceLength": 10, 15968 "span": 12, 15969 "stack": false, 15970 "steppedLine": false, 15971 "targets": [ 15972 { 15973 "expr": "sort_desc(sum by (pod_name) (rate(container_network_receive_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\"}[1m])))", 15974 "format": "time_series", 15975 "intervalFactor": 2, 15976 "legendFormat": "RX: {{ pod_name }}", 15977 "refId": "A" 15978 }, 15979 { 15980 "expr": "sort_desc(sum by (pod_name) (rate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod_name=\"$pod\"}[1m])))", 15981 "format": "time_series", 15982 "intervalFactor": 2, 15983 "legendFormat": "TX: {{ pod_name }}", 15984 "refId": "B" 15985 } 15986 ], 15987 "thresholds": [ 15988 15989 ], 15990 "timeFrom": null, 15991 "timeShift": null, 15992 "title": "Network I/O", 15993 "tooltip": { 15994 "shared": false, 15995 "sort": 0, 15996 "value_type": "individual" 15997 }, 15998 "type": "graph", 15999 "xaxis": { 16000 "buckets": null, 16001 "mode": "time", 16002 "name": null, 16003 "show": true, 16004 "values": [ 16005 16006 ] 16007 }, 16008 "yaxes": [ 16009 { 16010 "format": "bytes", 16011 "label": null, 16012 "logBase": 1, 16013 "max": null, 16014 "min": 0, 16015 "show": true 16016 }, 16017 { 16018 "format": "bytes", 16019 "label": null, 16020 "logBase": 1, 16021 "max": null, 16022 "min": 0, 16023 "show": true 16024 } 16025 ] 16026 } 16027 ], 16028 "repeat": null, 16029 "repeatIteration": null, 16030 "repeatRowId": null, 16031 "showTitle": false, 16032 "title": "Dashboard Row", 16033 "titleSize": "h6", 16034 "type": "row" 16035 }, 16036 { 16037 "collapse": false, 16038 "collapsed": false, 16039 "panels": [ 16040 { 16041 "aliasColors": { 16042 16043 }, 16044 "bars": false, 16045 "dashLength": 10, 16046 "dashes": false, 16047 "datasource": "$datasource", 16048 "fill": 1, 16049 "gridPos": { 16050 16051 }, 16052 "id": 5, 16053 "legend": { 16054 "alignAsTable": true, 16055 "avg": true, 16056 "current": true, 16057 "max": false, 16058 "min": false, 16059 "rightSide": true, 16060 "show": true, 16061 "total": false, 16062 "values": false 16063 }, 16064 "lines": true, 16065 "linewidth": 1, 16066 "links": [ 16067 16068 ], 16069 "nullPointMode": "null", 16070 "percentage": false, 16071 "pointradius": 5, 16072 "points": false, 16073 "renderer": "flot", 16074 "repeat": null, 16075 "seriesOverrides": [ 16076 16077 ], 16078 "spaceLength": 10, 16079 "span": 12, 16080 "stack": false, 16081 "steppedLine": false, 16082 "targets": [ 16083 { 16084 "expr": "max by (container) (kube_pod_container_status_restarts_total{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container=~\"$container\"})", 16085 "format": "time_series", 16086 "intervalFactor": 2, 16087 "legendFormat": "Restarts: {{ container }}", 16088 "refId": "A" 16089 } 16090 ], 16091 "thresholds": [ 16092 16093 ], 16094 "timeFrom": null, 16095 "timeShift": null, 16096 "title": "Total Restarts Per Container", 16097 "tooltip": { 16098 "shared": false, 16099 "sort": 0, 16100 "value_type": "individual" 16101 }, 16102 "type": "graph", 16103 "xaxis": { 16104 "buckets": null, 16105 "mode": "time", 16106 "name": null, 16107 "show": true, 16108 "values": [ 16109 16110 ] 16111 }, 16112 "yaxes": [ 16113 { 16114 "format": "short", 16115 "label": null, 16116 "logBase": 1, 16117 "max": null, 16118 "min": 0, 16119 "show": true 16120 }, 16121 { 16122 "format": "short", 16123 "label": null, 16124 "logBase": 1, 16125 "max": null, 16126 "min": 0, 16127 "show": true 16128 } 16129 ] 16130 } 16131 ], 16132 "repeat": null, 16133 "repeatIteration": null, 16134 "repeatRowId": null, 16135 "showTitle": false, 16136 "title": "Dashboard Row", 16137 "titleSize": "h6", 16138 "type": "row" 16139 } 16140 ], 16141 "schemaVersion": 14, 16142 "style": "dark", 16143 "tags": [ 16144 "kubernetes-mixin" 16145 ], 16146 "templating": { 16147 "list": [ 16148 { 16149 "current": { 16150 "text": "Prometheus", 16151 "value": "Prometheus" 16152 }, 16153 "hide": 0, 16154 "label": null, 16155 "name": "datasource", 16156 "options": [ 16157 16158 ], 16159 "query": "prometheus", 16160 "refresh": 1, 16161 "regex": "", 16162 "type": "datasource" 16163 }, 16164 { 16165 "allValue": null, 16166 "current": { 16167 16168 }, 16169 "datasource": "$datasource", 16170 "hide": 2, 16171 "includeAll": false, 16172 "label": "cluster", 16173 "multi": false, 16174 "name": "cluster", 16175 "options": [ 16176 16177 ], 16178 "query": "label_values(kube_pod_info, cluster)", 16179 "refresh": 2, 16180 "regex": "", 16181 "sort": 0, 16182 "tagValuesQuery": "", 16183 "tags": [ 16184 16185 ], 16186 "tagsQuery": "", 16187 "type": "query", 16188 "useTags": false 16189 }, 16190 { 16191 "allValue": null, 16192 "current": { 16193 16194 }, 16195 "datasource": "$datasource", 16196 "hide": 0, 16197 "includeAll": false, 16198 "label": "Namespace", 16199 "multi": false, 16200 "name": "namespace", 16201 "options": [ 16202 16203 ], 16204 "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", 16205 "refresh": 2, 16206 "regex": "", 16207 "sort": 0, 16208 "tagValuesQuery": "", 16209 "tags": [ 16210 16211 ], 16212 "tagsQuery": "", 16213 "type": "query", 16214 "useTags": false 16215 }, 16216 { 16217 "allValue": null, 16218 "current": { 16219 16220 }, 16221 "datasource": "$datasource", 16222 "hide": 0, 16223 "includeAll": false, 16224 "label": "Pod", 16225 "multi": false, 16226 "name": "pod", 16227 "options": [ 16228 16229 ], 16230 "query": "label_values(kube_pod_info{cluster=\"$cluster\", namespace=~\"$namespace\"}, pod)", 16231 "refresh": 2, 16232 "regex": "", 16233 "sort": 0, 16234 "tagValuesQuery": "", 16235 "tags": [ 16236 16237 ], 16238 "tagsQuery": "", 16239 "type": "query", 16240 "useTags": false 16241 }, 16242 { 16243 "allValue": null, 16244 "current": { 16245 16246 }, 16247 "datasource": "$datasource", 16248 "hide": 0, 16249 "includeAll": true, 16250 "label": "Container", 16251 "multi": false, 16252 "name": "container", 16253 "options": [ 16254 16255 ], 16256 "query": "label_values(kube_pod_container_info{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}, container)", 16257 "refresh": 2, 16258 "regex": "", 16259 "sort": 0, 16260 "tagValuesQuery": "", 16261 "tags": [ 16262 16263 ], 16264 "tagsQuery": "", 16265 "type": "query", 16266 "useTags": false 16267 } 16268 ] 16269 }, 16270 "time": { 16271 "from": "now-1h", 16272 "to": "now" 16273 }, 16274 "timepicker": { 16275 "refresh_intervals": [ 16276 "5s", 16277 "10s", 16278 "30s", 16279 "1m", 16280 "5m", 16281 "15m", 16282 "30m", 16283 "1h", 16284 "2h", 16285 "1d" 16286 ], 16287 "time_options": [ 16288 "5m", 16289 "15m", 16290 "1h", 16291 "6h", 16292 "12h", 16293 "24h", 16294 "2d", 16295 "7d", 16296 "30d" 16297 ] 16298 }, 16299 "timezone": "", 16300 "title": "Kubernetes / Pods", 16301 "uid": "ab4f13a9892a76a4d21ce8c2445bf4ea", 16302 "version": 0 16303 } 16304 kind: ConfigMap 16305 metadata: 16306 name: grafana-dashboard-pods 16307 namespace: monitoring 16308 - apiVersion: v1 16309 data: 16310 statefulset.json: |- 16311 { 16312 "__inputs": [ 16313 16314 ], 16315 "__requires": [ 16316 16317 ], 16318 "annotations": { 16319 "list": [ 16320 16321 ] 16322 }, 16323 "editable": false, 16324 "gnetId": null, 16325 "graphTooltip": 0, 16326 "hideControls": false, 16327 "id": null, 16328 "links": [ 16329 16330 ], 16331 "refresh": "", 16332 "rows": [ 16333 { 16334 "collapse": false, 16335 "collapsed": false, 16336 "panels": [ 16337 { 16338 "cacheTimeout": null, 16339 "colorBackground": false, 16340 "colorValue": false, 16341 "colors": [ 16342 "#299c46", 16343 "rgba(237, 129, 40, 0.89)", 16344 "#d44a3a" 16345 ], 16346 "datasource": "$datasource", 16347 "format": "none", 16348 "gauge": { 16349 "maxValue": 100, 16350 "minValue": 0, 16351 "show": false, 16352 "thresholdLabels": false, 16353 "thresholdMarkers": true 16354 }, 16355 "gridPos": { 16356 16357 }, 16358 "id": 2, 16359 "interval": null, 16360 "links": [ 16361 16362 ], 16363 "mappingType": 1, 16364 "mappingTypes": [ 16365 { 16366 "name": "value to text", 16367 "value": 1 16368 }, 16369 { 16370 "name": "range to text", 16371 "value": 2 16372 } 16373 ], 16374 "maxDataPoints": 100, 16375 "nullPointMode": "connected", 16376 "nullText": null, 16377 "postfix": "cores", 16378 "postfixFontSize": "50%", 16379 "prefix": "", 16380 "prefixFontSize": "50%", 16381 "rangeMaps": [ 16382 { 16383 "from": "null", 16384 "text": "N/A", 16385 "to": "null" 16386 } 16387 ], 16388 "span": 4, 16389 "sparkline": { 16390 "fillColor": "rgba(31, 118, 189, 0.18)", 16391 "lineColor": "rgb(31, 120, 193)", 16392 "show": true 16393 }, 16394 "tableColumn": "", 16395 "targets": [ 16396 { 16397 "expr": "sum(rate(container_cpu_usage_seconds_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod_name=~\"$statefulset.*\"}[3m]))", 16398 "format": "time_series", 16399 "intervalFactor": 2, 16400 "legendFormat": "", 16401 "refId": "A" 16402 } 16403 ], 16404 "thresholds": "", 16405 "title": "CPU", 16406 "tooltip": { 16407 "shared": false 16408 }, 16409 "type": "singlestat", 16410 "valueFontSize": "80%", 16411 "valueMaps": [ 16412 { 16413 "op": "=", 16414 "text": "0", 16415 "value": "null" 16416 } 16417 ], 16418 "valueName": "current" 16419 }, 16420 { 16421 "cacheTimeout": null, 16422 "colorBackground": false, 16423 "colorValue": false, 16424 "colors": [ 16425 "#299c46", 16426 "rgba(237, 129, 40, 0.89)", 16427 "#d44a3a" 16428 ], 16429 "datasource": "$datasource", 16430 "format": "none", 16431 "gauge": { 16432 "maxValue": 100, 16433 "minValue": 0, 16434 "show": false, 16435 "thresholdLabels": false, 16436 "thresholdMarkers": true 16437 }, 16438 "gridPos": { 16439 16440 }, 16441 "id": 3, 16442 "interval": null, 16443 "links": [ 16444 16445 ], 16446 "mappingType": 1, 16447 "mappingTypes": [ 16448 { 16449 "name": "value to text", 16450 "value": 1 16451 }, 16452 { 16453 "name": "range to text", 16454 "value": 2 16455 } 16456 ], 16457 "maxDataPoints": 100, 16458 "nullPointMode": "connected", 16459 "nullText": null, 16460 "postfix": "GB", 16461 "postfixFontSize": "50%", 16462 "prefix": "", 16463 "prefixFontSize": "50%", 16464 "rangeMaps": [ 16465 { 16466 "from": "null", 16467 "text": "N/A", 16468 "to": "null" 16469 } 16470 ], 16471 "span": 4, 16472 "sparkline": { 16473 "fillColor": "rgba(31, 118, 189, 0.18)", 16474 "lineColor": "rgb(31, 120, 193)", 16475 "show": true 16476 }, 16477 "tableColumn": "", 16478 "targets": [ 16479 { 16480 "expr": "sum(container_memory_usage_bytes{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod_name=~\"$statefulset.*\"}) / 1024^3", 16481 "format": "time_series", 16482 "intervalFactor": 2, 16483 "legendFormat": "", 16484 "refId": "A" 16485 } 16486 ], 16487 "thresholds": "", 16488 "title": "Memory", 16489 "tooltip": { 16490 "shared": false 16491 }, 16492 "type": "singlestat", 16493 "valueFontSize": "80%", 16494 "valueMaps": [ 16495 { 16496 "op": "=", 16497 "text": "0", 16498 "value": "null" 16499 } 16500 ], 16501 "valueName": "current" 16502 }, 16503 { 16504 "cacheTimeout": null, 16505 "colorBackground": false, 16506 "colorValue": false, 16507 "colors": [ 16508 "#299c46", 16509 "rgba(237, 129, 40, 0.89)", 16510 "#d44a3a" 16511 ], 16512 "datasource": "$datasource", 16513 "format": "none", 16514 "gauge": { 16515 "maxValue": 100, 16516 "minValue": 0, 16517 "show": false, 16518 "thresholdLabels": false, 16519 "thresholdMarkers": true 16520 }, 16521 "gridPos": { 16522 16523 }, 16524 "id": 4, 16525 "interval": null, 16526 "links": [ 16527 16528 ], 16529 "mappingType": 1, 16530 "mappingTypes": [ 16531 { 16532 "name": "value to text", 16533 "value": 1 16534 }, 16535 { 16536 "name": "range to text", 16537 "value": 2 16538 } 16539 ], 16540 "maxDataPoints": 100, 16541 "nullPointMode": "connected", 16542 "nullText": null, 16543 "postfix": "Bps", 16544 "postfixFontSize": "50%", 16545 "prefix": "", 16546 "prefixFontSize": "50%", 16547 "rangeMaps": [ 16548 { 16549 "from": "null", 16550 "text": "N/A", 16551 "to": "null" 16552 } 16553 ], 16554 "span": 4, 16555 "sparkline": { 16556 "fillColor": "rgba(31, 118, 189, 0.18)", 16557 "lineColor": "rgb(31, 120, 193)", 16558 "show": true 16559 }, 16560 "tableColumn": "", 16561 "targets": [ 16562 { 16563 "expr": "sum(rate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod_name=~\"$statefulset.*\"}[3m])) + sum(rate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\",pod_name=~\"$statefulset.*\"}[3m]))", 16564 "format": "time_series", 16565 "intervalFactor": 2, 16566 "legendFormat": "", 16567 "refId": "A" 16568 } 16569 ], 16570 "thresholds": "", 16571 "title": "Network", 16572 "tooltip": { 16573 "shared": false 16574 }, 16575 "type": "singlestat", 16576 "valueFontSize": "80%", 16577 "valueMaps": [ 16578 { 16579 "op": "=", 16580 "text": "0", 16581 "value": "null" 16582 } 16583 ], 16584 "valueName": "current" 16585 } 16586 ], 16587 "repeat": null, 16588 "repeatIteration": null, 16589 "repeatRowId": null, 16590 "showTitle": false, 16591 "title": "Dashboard Row", 16592 "titleSize": "h6", 16593 "type": "row" 16594 }, 16595 { 16596 "collapse": false, 16597 "collapsed": false, 16598 "height": "100px", 16599 "panels": [ 16600 { 16601 "cacheTimeout": null, 16602 "colorBackground": false, 16603 "colorValue": false, 16604 "colors": [ 16605 "#299c46", 16606 "rgba(237, 129, 40, 0.89)", 16607 "#d44a3a" 16608 ], 16609 "datasource": "$datasource", 16610 "format": "none", 16611 "gauge": { 16612 "maxValue": 100, 16613 "minValue": 0, 16614 "show": false, 16615 "thresholdLabels": false, 16616 "thresholdMarkers": true 16617 }, 16618 "gridPos": { 16619 16620 }, 16621 "id": 5, 16622 "interval": null, 16623 "links": [ 16624 16625 ], 16626 "mappingType": 1, 16627 "mappingTypes": [ 16628 { 16629 "name": "value to text", 16630 "value": 1 16631 }, 16632 { 16633 "name": "range to text", 16634 "value": 2 16635 } 16636 ], 16637 "maxDataPoints": 100, 16638 "nullPointMode": "connected", 16639 "nullText": null, 16640 "postfix": "", 16641 "postfixFontSize": "50%", 16642 "prefix": "", 16643 "prefixFontSize": "50%", 16644 "rangeMaps": [ 16645 { 16646 "from": "null", 16647 "text": "N/A", 16648 "to": "null" 16649 } 16650 ], 16651 "span": 3, 16652 "sparkline": { 16653 "fillColor": "rgba(31, 118, 189, 0.18)", 16654 "full": false, 16655 "lineColor": "rgb(31, 120, 193)", 16656 "show": false 16657 }, 16658 "tableColumn": "", 16659 "targets": [ 16660 { 16661 "expr": "max(kube_statefulset_replicas{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)", 16662 "format": "time_series", 16663 "intervalFactor": 2, 16664 "legendFormat": "", 16665 "refId": "A" 16666 } 16667 ], 16668 "thresholds": "", 16669 "title": "Desired Replicas", 16670 "tooltip": { 16671 "shared": false 16672 }, 16673 "type": "singlestat", 16674 "valueFontSize": "80%", 16675 "valueMaps": [ 16676 { 16677 "op": "=", 16678 "text": "0", 16679 "value": "null" 16680 } 16681 ], 16682 "valueName": "current" 16683 }, 16684 { 16685 "cacheTimeout": null, 16686 "colorBackground": false, 16687 "colorValue": false, 16688 "colors": [ 16689 "#299c46", 16690 "rgba(237, 129, 40, 0.89)", 16691 "#d44a3a" 16692 ], 16693 "datasource": "$datasource", 16694 "format": "none", 16695 "gauge": { 16696 "maxValue": 100, 16697 "minValue": 0, 16698 "show": false, 16699 "thresholdLabels": false, 16700 "thresholdMarkers": true 16701 }, 16702 "gridPos": { 16703 16704 }, 16705 "id": 6, 16706 "interval": null, 16707 "links": [ 16708 16709 ], 16710 "mappingType": 1, 16711 "mappingTypes": [ 16712 { 16713 "name": "value to text", 16714 "value": 1 16715 }, 16716 { 16717 "name": "range to text", 16718 "value": 2 16719 } 16720 ], 16721 "maxDataPoints": 100, 16722 "nullPointMode": "connected", 16723 "nullText": null, 16724 "postfix": "", 16725 "postfixFontSize": "50%", 16726 "prefix": "", 16727 "prefixFontSize": "50%", 16728 "rangeMaps": [ 16729 { 16730 "from": "null", 16731 "text": "N/A", 16732 "to": "null" 16733 } 16734 ], 16735 "span": 3, 16736 "sparkline": { 16737 "fillColor": "rgba(31, 118, 189, 0.18)", 16738 "full": false, 16739 "lineColor": "rgb(31, 120, 193)", 16740 "show": false 16741 }, 16742 "tableColumn": "", 16743 "targets": [ 16744 { 16745 "expr": "min(kube_statefulset_status_replicas_current{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)", 16746 "format": "time_series", 16747 "intervalFactor": 2, 16748 "legendFormat": "", 16749 "refId": "A" 16750 } 16751 ], 16752 "thresholds": "", 16753 "title": "Replicas of current version", 16754 "tooltip": { 16755 "shared": false 16756 }, 16757 "type": "singlestat", 16758 "valueFontSize": "80%", 16759 "valueMaps": [ 16760 { 16761 "op": "=", 16762 "text": "0", 16763 "value": "null" 16764 } 16765 ], 16766 "valueName": "current" 16767 }, 16768 { 16769 "cacheTimeout": null, 16770 "colorBackground": false, 16771 "colorValue": false, 16772 "colors": [ 16773 "#299c46", 16774 "rgba(237, 129, 40, 0.89)", 16775 "#d44a3a" 16776 ], 16777 "datasource": "$datasource", 16778 "format": "none", 16779 "gauge": { 16780 "maxValue": 100, 16781 "minValue": 0, 16782 "show": false, 16783 "thresholdLabels": false, 16784 "thresholdMarkers": true 16785 }, 16786 "gridPos": { 16787 16788 }, 16789 "id": 7, 16790 "interval": null, 16791 "links": [ 16792 16793 ], 16794 "mappingType": 1, 16795 "mappingTypes": [ 16796 { 16797 "name": "value to text", 16798 "value": 1 16799 }, 16800 { 16801 "name": "range to text", 16802 "value": 2 16803 } 16804 ], 16805 "maxDataPoints": 100, 16806 "nullPointMode": "connected", 16807 "nullText": null, 16808 "postfix": "", 16809 "postfixFontSize": "50%", 16810 "prefix": "", 16811 "prefixFontSize": "50%", 16812 "rangeMaps": [ 16813 { 16814 "from": "null", 16815 "text": "N/A", 16816 "to": "null" 16817 } 16818 ], 16819 "span": 3, 16820 "sparkline": { 16821 "fillColor": "rgba(31, 118, 189, 0.18)", 16822 "full": false, 16823 "lineColor": "rgb(31, 120, 193)", 16824 "show": false 16825 }, 16826 "tableColumn": "", 16827 "targets": [ 16828 { 16829 "expr": "max(kube_statefulset_status_observed_generation{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)", 16830 "format": "time_series", 16831 "intervalFactor": 2, 16832 "legendFormat": "", 16833 "refId": "A" 16834 } 16835 ], 16836 "thresholds": "", 16837 "title": "Observed Generation", 16838 "tooltip": { 16839 "shared": false 16840 }, 16841 "type": "singlestat", 16842 "valueFontSize": "80%", 16843 "valueMaps": [ 16844 { 16845 "op": "=", 16846 "text": "0", 16847 "value": "null" 16848 } 16849 ], 16850 "valueName": "current" 16851 }, 16852 { 16853 "cacheTimeout": null, 16854 "colorBackground": false, 16855 "colorValue": false, 16856 "colors": [ 16857 "#299c46", 16858 "rgba(237, 129, 40, 0.89)", 16859 "#d44a3a" 16860 ], 16861 "datasource": "$datasource", 16862 "format": "none", 16863 "gauge": { 16864 "maxValue": 100, 16865 "minValue": 0, 16866 "show": false, 16867 "thresholdLabels": false, 16868 "thresholdMarkers": true 16869 }, 16870 "gridPos": { 16871 16872 }, 16873 "id": 8, 16874 "interval": null, 16875 "links": [ 16876 16877 ], 16878 "mappingType": 1, 16879 "mappingTypes": [ 16880 { 16881 "name": "value to text", 16882 "value": 1 16883 }, 16884 { 16885 "name": "range to text", 16886 "value": 2 16887 } 16888 ], 16889 "maxDataPoints": 100, 16890 "nullPointMode": "connected", 16891 "nullText": null, 16892 "postfix": "", 16893 "postfixFontSize": "50%", 16894 "prefix": "", 16895 "prefixFontSize": "50%", 16896 "rangeMaps": [ 16897 { 16898 "from": "null", 16899 "text": "N/A", 16900 "to": "null" 16901 } 16902 ], 16903 "span": 3, 16904 "sparkline": { 16905 "fillColor": "rgba(31, 118, 189, 0.18)", 16906 "full": false, 16907 "lineColor": "rgb(31, 120, 193)", 16908 "show": false 16909 }, 16910 "tableColumn": "", 16911 "targets": [ 16912 { 16913 "expr": "max(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", 16914 "format": "time_series", 16915 "intervalFactor": 2, 16916 "legendFormat": "", 16917 "refId": "A" 16918 } 16919 ], 16920 "thresholds": "", 16921 "title": "Metadata Generation", 16922 "tooltip": { 16923 "shared": false 16924 }, 16925 "type": "singlestat", 16926 "valueFontSize": "80%", 16927 "valueMaps": [ 16928 { 16929 "op": "=", 16930 "text": "0", 16931 "value": "null" 16932 } 16933 ], 16934 "valueName": "current" 16935 } 16936 ], 16937 "repeat": null, 16938 "repeatIteration": null, 16939 "repeatRowId": null, 16940 "showTitle": false, 16941 "title": "Dashboard Row", 16942 "titleSize": "h6", 16943 "type": "row" 16944 }, 16945 { 16946 "collapse": false, 16947 "collapsed": false, 16948 "panels": [ 16949 { 16950 "aliasColors": { 16951 16952 }, 16953 "bars": false, 16954 "dashLength": 10, 16955 "dashes": false, 16956 "datasource": "$datasource", 16957 "fill": 1, 16958 "gridPos": { 16959 16960 }, 16961 "id": 9, 16962 "legend": { 16963 "alignAsTable": false, 16964 "avg": false, 16965 "current": false, 16966 "max": false, 16967 "min": false, 16968 "rightSide": false, 16969 "show": true, 16970 "total": false, 16971 "values": false 16972 }, 16973 "lines": true, 16974 "linewidth": 1, 16975 "links": [ 16976 16977 ], 16978 "nullPointMode": "null", 16979 "percentage": false, 16980 "pointradius": 5, 16981 "points": false, 16982 "renderer": "flot", 16983 "repeat": null, 16984 "seriesOverrides": [ 16985 16986 ], 16987 "spaceLength": 10, 16988 "stack": false, 16989 "steppedLine": false, 16990 "targets": [ 16991 { 16992 "expr": "max(kube_statefulset_replicas{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", 16993 "format": "time_series", 16994 "intervalFactor": 2, 16995 "legendFormat": "replicas specified", 16996 "refId": "A" 16997 }, 16998 { 16999 "expr": "max(kube_statefulset_status_replicas{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", 17000 "format": "time_series", 17001 "intervalFactor": 2, 17002 "legendFormat": "replicas created", 17003 "refId": "B" 17004 }, 17005 { 17006 "expr": "min(kube_statefulset_status_replicas_ready{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", 17007 "format": "time_series", 17008 "intervalFactor": 2, 17009 "legendFormat": "ready", 17010 "refId": "C" 17011 }, 17012 { 17013 "expr": "min(kube_statefulset_status_replicas_current{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", 17014 "format": "time_series", 17015 "intervalFactor": 2, 17016 "legendFormat": "replicas of current version", 17017 "refId": "D" 17018 }, 17019 { 17020 "expr": "min(kube_statefulset_status_replicas_updated{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", 17021 "format": "time_series", 17022 "intervalFactor": 2, 17023 "legendFormat": "updated", 17024 "refId": "E" 17025 } 17026 ], 17027 "thresholds": [ 17028 17029 ], 17030 "timeFrom": null, 17031 "timeShift": null, 17032 "title": "Replicas", 17033 "tooltip": { 17034 "shared": false, 17035 "sort": 0, 17036 "value_type": "individual" 17037 }, 17038 "type": "graph", 17039 "xaxis": { 17040 "buckets": null, 17041 "mode": "time", 17042 "name": null, 17043 "show": true, 17044 "values": [ 17045 17046 ] 17047 }, 17048 "yaxes": [ 17049 { 17050 "format": "short", 17051 "label": null, 17052 "logBase": 1, 17053 "max": null, 17054 "min": null, 17055 "show": true 17056 }, 17057 { 17058 "format": "short", 17059 "label": null, 17060 "logBase": 1, 17061 "max": null, 17062 "min": null, 17063 "show": true 17064 } 17065 ] 17066 } 17067 ], 17068 "repeat": null, 17069 "repeatIteration": null, 17070 "repeatRowId": null, 17071 "showTitle": false, 17072 "title": "Dashboard Row", 17073 "titleSize": "h6", 17074 "type": "row" 17075 } 17076 ], 17077 "schemaVersion": 14, 17078 "style": "dark", 17079 "tags": [ 17080 "kubernetes-mixin" 17081 ], 17082 "templating": { 17083 "list": [ 17084 { 17085 "current": { 17086 "text": "Prometheus", 17087 "value": "Prometheus" 17088 }, 17089 "hide": 0, 17090 "label": null, 17091 "name": "datasource", 17092 "options": [ 17093 17094 ], 17095 "query": "prometheus", 17096 "refresh": 1, 17097 "regex": "", 17098 "type": "datasource" 17099 }, 17100 { 17101 "allValue": null, 17102 "current": { 17103 17104 }, 17105 "datasource": "$datasource", 17106 "hide": 2, 17107 "includeAll": false, 17108 "label": "cluster", 17109 "multi": false, 17110 "name": "cluster", 17111 "options": [ 17112 17113 ], 17114 "query": "label_values(kube_statefulset_metadata_generation, cluster)", 17115 "refresh": 2, 17116 "regex": "", 17117 "sort": 0, 17118 "tagValuesQuery": "", 17119 "tags": [ 17120 17121 ], 17122 "tagsQuery": "", 17123 "type": "query", 17124 "useTags": false 17125 }, 17126 { 17127 "allValue": null, 17128 "current": { 17129 17130 }, 17131 "datasource": "$datasource", 17132 "hide": 0, 17133 "includeAll": false, 17134 "label": "Namespace", 17135 "multi": false, 17136 "name": "namespace", 17137 "options": [ 17138 17139 ], 17140 "query": "label_values(kube_statefulset_metadata_generation{job=\"kube-state-metrics\"}, namespace)", 17141 "refresh": 2, 17142 "regex": "", 17143 "sort": 0, 17144 "tagValuesQuery": "", 17145 "tags": [ 17146 17147 ], 17148 "tagsQuery": "", 17149 "type": "query", 17150 "useTags": false 17151 }, 17152 { 17153 "allValue": null, 17154 "current": { 17155 17156 }, 17157 "datasource": "$datasource", 17158 "hide": 0, 17159 "includeAll": false, 17160 "label": "Name", 17161 "multi": false, 17162 "name": "statefulset", 17163 "options": [ 17164 17165 ], 17166 "query": "label_values(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", namespace=\"$namespace\"}, statefulset)", 17167 "refresh": 2, 17168 "regex": "", 17169 "sort": 0, 17170 "tagValuesQuery": "", 17171 "tags": [ 17172 17173 ], 17174 "tagsQuery": "", 17175 "type": "query", 17176 "useTags": false 17177 } 17178 ] 17179 }, 17180 "time": { 17181 "from": "now-1h", 17182 "to": "now" 17183 }, 17184 "timepicker": { 17185 "refresh_intervals": [ 17186 "5s", 17187 "10s", 17188 "30s", 17189 "1m", 17190 "5m", 17191 "15m", 17192 "30m", 17193 "1h", 17194 "2h", 17195 "1d" 17196 ], 17197 "time_options": [ 17198 "5m", 17199 "15m", 17200 "1h", 17201 "6h", 17202 "12h", 17203 "24h", 17204 "2d", 17205 "7d", 17206 "30d" 17207 ] 17208 }, 17209 "timezone": "", 17210 "title": "Kubernetes / StatefulSets", 17211 "uid": "a31c1f46e6f727cb37c0d731a7245005", 17212 "version": 0 17213 } 17214 kind: ConfigMap 17215 metadata: 17216 name: grafana-dashboard-statefulset 17217 namespace: monitoring 17218 kind: ConfigMapList