sigs.k8s.io/cluster-api@v1.7.1/hack/observability/grafana/dashboards/cluster-api-state.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": { 7 "type": "grafana", 8 "uid": "-- Grafana --" 9 }, 10 "enable": true, 11 "hide": true, 12 "iconColor": "rgba(0, 211, 255, 1)", 13 "name": "Annotations & Alerts", 14 "type": "dashboard" 15 } 16 ] 17 }, 18 "editable": true, 19 "fiscalYearStartMonth": 0, 20 "graphTooltip": 0, 21 "id": 1, 22 "links": [], 23 "liveNow": false, 24 "panels": [ 25 { 26 "collapsed": false, 27 "gridPos": { 28 "h": 1, 29 "w": 24, 30 "x": 0, 31 "y": 0 32 }, 33 "id": 26, 34 "panels": [], 35 "title": "Overview", 36 "type": "row" 37 }, 38 { 39 "datasource": { 40 "type": "prometheus", 41 "uid": "prometheus" 42 }, 43 "fieldConfig": { 44 "defaults": { 45 "color": { 46 "mode": "thresholds" 47 }, 48 "mappings": [], 49 "thresholds": { 50 "mode": "absolute", 51 "steps": [ 52 { 53 "color": "green", 54 "value": null 55 }, 56 { 57 "color": "red", 58 "value": 80 59 } 60 ] 61 } 62 }, 63 "overrides": [] 64 }, 65 "gridPos": { 66 "h": 4, 67 "w": 3, 68 "x": 0, 69 "y": 1 70 }, 71 "id": 2, 72 "options": { 73 "colorMode": "value", 74 "graphMode": "area", 75 "justifyMode": "auto", 76 "orientation": "auto", 77 "reduceOptions": { 78 "calcs": [ 79 "lastNotNull" 80 ], 81 "fields": "", 82 "values": false 83 }, 84 "textMode": "auto" 85 }, 86 "pluginVersion": "9.5.2", 87 "targets": [ 88 { 89 "datasource": { 90 "type": "prometheus", 91 "uid": "prometheus" 92 }, 93 "editorMode": "code", 94 "expr": "sum(capi_clusterclass_info)", 95 "legendFormat": "__auto", 96 "range": true, 97 "refId": "A" 98 } 99 ], 100 "title": "# ClusterClass", 101 "type": "stat" 102 }, 103 { 104 "datasource": { 105 "type": "prometheus", 106 "uid": "prometheus" 107 }, 108 "fieldConfig": { 109 "defaults": { 110 "color": { 111 "mode": "thresholds" 112 }, 113 "mappings": [], 114 "thresholds": { 115 "mode": "absolute", 116 "steps": [ 117 { 118 "color": "green", 119 "value": null 120 }, 121 { 122 "color": "red", 123 "value": 80 124 } 125 ] 126 } 127 }, 128 "overrides": [] 129 }, 130 "gridPos": { 131 "h": 4, 132 "w": 3, 133 "x": 3, 134 "y": 1 135 }, 136 "id": 9, 137 "options": { 138 "colorMode": "value", 139 "graphMode": "area", 140 "justifyMode": "auto", 141 "orientation": "auto", 142 "reduceOptions": { 143 "calcs": [ 144 "lastNotNull" 145 ], 146 "fields": "", 147 "values": false 148 }, 149 "textMode": "auto" 150 }, 151 "pluginVersion": "9.5.2", 152 "targets": [ 153 { 154 "datasource": { 155 "type": "prometheus", 156 "uid": "prometheus" 157 }, 158 "editorMode": "code", 159 "expr": "sum(capi_cluster_info)", 160 "legendFormat": "__auto", 161 "range": true, 162 "refId": "A" 163 } 164 ], 165 "title": "# Cluster", 166 "type": "stat" 167 }, 168 { 169 "datasource": { 170 "type": "prometheus", 171 "uid": "prometheus" 172 }, 173 "fieldConfig": { 174 "defaults": { 175 "color": { 176 "mode": "thresholds" 177 }, 178 "mappings": [], 179 "thresholds": { 180 "mode": "absolute", 181 "steps": [ 182 { 183 "color": "green", 184 "value": null 185 }, 186 { 187 "color": "red", 188 "value": 80 189 } 190 ] 191 } 192 }, 193 "overrides": [] 194 }, 195 "gridPos": { 196 "h": 4, 197 "w": 3, 198 "x": 6, 199 "y": 1 200 }, 201 "id": 3, 202 "options": { 203 "colorMode": "value", 204 "graphMode": "area", 205 "justifyMode": "auto", 206 "orientation": "auto", 207 "reduceOptions": { 208 "calcs": [ 209 "lastNotNull" 210 ], 211 "fields": "", 212 "values": false 213 }, 214 "textMode": "auto" 215 }, 216 "pluginVersion": "9.5.2", 217 "targets": [ 218 { 219 "datasource": { 220 "type": "prometheus", 221 "uid": "prometheus" 222 }, 223 "editorMode": "code", 224 "expr": "sum(capi_kubeadmcontrolplane_info)", 225 "legendFormat": "__auto", 226 "range": true, 227 "refId": "A" 228 } 229 ], 230 "title": "# KubeadmControlPlane", 231 "type": "stat" 232 }, 233 { 234 "datasource": { 235 "type": "prometheus", 236 "uid": "prometheus" 237 }, 238 "fieldConfig": { 239 "defaults": { 240 "color": { 241 "mode": "thresholds" 242 }, 243 "mappings": [], 244 "thresholds": { 245 "mode": "absolute", 246 "steps": [ 247 { 248 "color": "green", 249 "value": null 250 }, 251 { 252 "color": "red", 253 "value": 80 254 } 255 ] 256 } 257 }, 258 "overrides": [] 259 }, 260 "gridPos": { 261 "h": 4, 262 "w": 3, 263 "x": 9, 264 "y": 1 265 }, 266 "id": 4, 267 "options": { 268 "colorMode": "value", 269 "graphMode": "area", 270 "justifyMode": "auto", 271 "orientation": "auto", 272 "reduceOptions": { 273 "calcs": [ 274 "lastNotNull" 275 ], 276 "fields": "", 277 "values": false 278 }, 279 "textMode": "auto" 280 }, 281 "pluginVersion": "9.5.2", 282 "targets": [ 283 { 284 "datasource": { 285 "type": "prometheus", 286 "uid": "prometheus" 287 }, 288 "editorMode": "code", 289 "expr": "sum(capi_machinedeployment_info)", 290 "legendFormat": "__auto", 291 "range": true, 292 "refId": "A" 293 } 294 ], 295 "title": "# MachineDeployment", 296 "type": "stat" 297 }, 298 { 299 "datasource": { 300 "type": "prometheus", 301 "uid": "prometheus" 302 }, 303 "fieldConfig": { 304 "defaults": { 305 "color": { 306 "mode": "thresholds" 307 }, 308 "mappings": [], 309 "thresholds": { 310 "mode": "absolute", 311 "steps": [ 312 { 313 "color": "green", 314 "value": null 315 }, 316 { 317 "color": "red", 318 "value": 80 319 } 320 ] 321 } 322 }, 323 "overrides": [] 324 }, 325 "gridPos": { 326 "h": 4, 327 "w": 3, 328 "x": 12, 329 "y": 1 330 }, 331 "id": 5, 332 "options": { 333 "colorMode": "value", 334 "graphMode": "area", 335 "justifyMode": "auto", 336 "orientation": "auto", 337 "reduceOptions": { 338 "calcs": [ 339 "lastNotNull" 340 ], 341 "fields": "", 342 "values": false 343 }, 344 "textMode": "auto" 345 }, 346 "pluginVersion": "9.5.2", 347 "targets": [ 348 { 349 "datasource": { 350 "type": "prometheus", 351 "uid": "prometheus" 352 }, 353 "editorMode": "code", 354 "expr": "sum(capi_machineset_info)", 355 "legendFormat": "__auto", 356 "range": true, 357 "refId": "A" 358 } 359 ], 360 "title": "# MachineSet", 361 "type": "stat" 362 }, 363 { 364 "datasource": { 365 "type": "prometheus", 366 "uid": "prometheus" 367 }, 368 "fieldConfig": { 369 "defaults": { 370 "color": { 371 "mode": "thresholds" 372 }, 373 "mappings": [], 374 "thresholds": { 375 "mode": "absolute", 376 "steps": [ 377 { 378 "color": "green", 379 "value": null 380 }, 381 { 382 "color": "red", 383 "value": 80 384 } 385 ] 386 } 387 }, 388 "overrides": [] 389 }, 390 "gridPos": { 391 "h": 4, 392 "w": 3, 393 "x": 15, 394 "y": 1 395 }, 396 "id": 7, 397 "options": { 398 "colorMode": "value", 399 "graphMode": "area", 400 "justifyMode": "auto", 401 "orientation": "auto", 402 "reduceOptions": { 403 "calcs": [ 404 "lastNotNull" 405 ], 406 "fields": "", 407 "values": false 408 }, 409 "textMode": "auto" 410 }, 411 "pluginVersion": "9.5.2", 412 "targets": [ 413 { 414 "datasource": { 415 "type": "prometheus", 416 "uid": "prometheus" 417 }, 418 "editorMode": "code", 419 "expr": "sum(capi_machinepool_info)", 420 "hide": false, 421 "legendFormat": "__auto", 422 "range": true, 423 "refId": "B" 424 } 425 ], 426 "title": "# MachinePool", 427 "type": "stat" 428 }, 429 { 430 "datasource": { 431 "type": "prometheus", 432 "uid": "prometheus" 433 }, 434 "fieldConfig": { 435 "defaults": { 436 "color": { 437 "mode": "thresholds" 438 }, 439 "mappings": [], 440 "thresholds": { 441 "mode": "absolute", 442 "steps": [ 443 { 444 "color": "green", 445 "value": null 446 }, 447 { 448 "color": "red", 449 "value": 80 450 } 451 ] 452 } 453 }, 454 "overrides": [] 455 }, 456 "gridPos": { 457 "h": 4, 458 "w": 3, 459 "x": 18, 460 "y": 1 461 }, 462 "id": 6, 463 "options": { 464 "colorMode": "value", 465 "graphMode": "area", 466 "justifyMode": "auto", 467 "orientation": "auto", 468 "reduceOptions": { 469 "calcs": [ 470 "lastNotNull" 471 ], 472 "fields": "", 473 "values": false 474 }, 475 "textMode": "auto" 476 }, 477 "pluginVersion": "9.5.2", 478 "targets": [ 479 { 480 "datasource": { 481 "type": "prometheus", 482 "uid": "prometheus" 483 }, 484 "editorMode": "code", 485 "expr": "sum(capi_machine_info)", 486 "legendFormat": "__auto", 487 "range": true, 488 "refId": "A" 489 } 490 ], 491 "title": "# Machine", 492 "type": "stat" 493 }, 494 { 495 "datasource": { 496 "type": "prometheus", 497 "uid": "prometheus" 498 }, 499 "fieldConfig": { 500 "defaults": { 501 "color": { 502 "mode": "thresholds" 503 }, 504 "mappings": [], 505 "thresholds": { 506 "mode": "absolute", 507 "steps": [ 508 { 509 "color": "green", 510 "value": null 511 }, 512 { 513 "color": "red", 514 "value": 80 515 } 516 ] 517 } 518 }, 519 "overrides": [] 520 }, 521 "gridPos": { 522 "h": 4, 523 "w": 3, 524 "x": 21, 525 "y": 1 526 }, 527 "id": 8, 528 "options": { 529 "colorMode": "value", 530 "graphMode": "area", 531 "justifyMode": "auto", 532 "orientation": "auto", 533 "reduceOptions": { 534 "calcs": [ 535 "lastNotNull" 536 ], 537 "fields": "", 538 "values": false 539 }, 540 "textMode": "auto" 541 }, 542 "pluginVersion": "9.5.2", 543 "targets": [ 544 { 545 "datasource": { 546 "type": "prometheus", 547 "uid": "prometheus" 548 }, 549 "editorMode": "code", 550 "expr": "sum(capi_machinehealthcheck_info)", 551 "legendFormat": "__auto", 552 "range": true, 553 "refId": "A" 554 } 555 ], 556 "title": "# MachineHealthCheck", 557 "type": "stat" 558 }, 559 { 560 "collapsed": true, 561 "gridPos": { 562 "h": 1, 563 "w": 24, 564 "x": 0, 565 "y": 5 566 }, 567 "id": 22, 568 "panels": [ 569 { 570 "datasource": { 571 "type": "prometheus", 572 "uid": "prometheus" 573 }, 574 "fieldConfig": { 575 "defaults": { 576 "color": { 577 "mode": "palette-classic" 578 }, 579 "custom": { 580 "axisCenteredZero": false, 581 "axisColorMode": "text", 582 "axisLabel": "", 583 "axisPlacement": "auto", 584 "barAlignment": 0, 585 "drawStyle": "line", 586 "fillOpacity": 0, 587 "gradientMode": "none", 588 "hideFrom": { 589 "legend": false, 590 "tooltip": false, 591 "viz": false 592 }, 593 "lineInterpolation": "linear", 594 "lineWidth": 1, 595 "pointSize": 5, 596 "scaleDistribution": { 597 "type": "linear" 598 }, 599 "showPoints": "auto", 600 "spanNulls": false, 601 "stacking": { 602 "group": "A", 603 "mode": "none" 604 }, 605 "thresholdsStyle": { 606 "mode": "off" 607 } 608 }, 609 "mappings": [], 610 "thresholds": { 611 "mode": "absolute", 612 "steps": [ 613 { 614 "color": "green", 615 "value": null 616 }, 617 { 618 "color": "red", 619 "value": 80 620 } 621 ] 622 } 623 }, 624 "overrides": [] 625 }, 626 "gridPos": { 627 "h": 8, 628 "w": 6, 629 "x": 0, 630 "y": 6 631 }, 632 "id": 11, 633 "options": { 634 "legend": { 635 "calcs": [], 636 "displayMode": "list", 637 "placement": "bottom", 638 "showLegend": true 639 }, 640 "tooltip": { 641 "mode": "multi", 642 "sort": "none" 643 } 644 }, 645 "targets": [ 646 { 647 "datasource": { 648 "type": "prometheus", 649 "uid": "prometheus" 650 }, 651 "editorMode": "code", 652 "expr": "sum (capi_cluster_info)", 653 "legendFormat": "All", 654 "range": true, 655 "refId": "A" 656 }, 657 { 658 "datasource": { 659 "type": "prometheus", 660 "uid": "prometheus" 661 }, 662 "editorMode": "code", 663 "expr": "sum(capi_cluster_status_condition{status=\"True\"} == 1) by (type)", 664 "hide": false, 665 "legendFormat": "{{type}}", 666 "range": true, 667 "refId": "B" 668 }, 669 { 670 "datasource": { 671 "type": "prometheus", 672 "uid": "prometheus" 673 }, 674 "editorMode": "code", 675 "expr": "sum(capi_cluster_status_condition{status=\"False\"} == 1) by (type)", 676 "hide": false, 677 "legendFormat": "{{type}} (False)", 678 "range": true, 679 "refId": "C" 680 } 681 ], 682 "title": "Cluster by conditions", 683 "type": "timeseries" 684 }, 685 { 686 "datasource": { 687 "type": "prometheus", 688 "uid": "prometheus" 689 }, 690 "fieldConfig": { 691 "defaults": { 692 "color": { 693 "mode": "palette-classic" 694 }, 695 "custom": { 696 "axisCenteredZero": false, 697 "axisColorMode": "text", 698 "axisLabel": "", 699 "axisPlacement": "auto", 700 "barAlignment": 0, 701 "drawStyle": "line", 702 "fillOpacity": 0, 703 "gradientMode": "none", 704 "hideFrom": { 705 "legend": false, 706 "tooltip": false, 707 "viz": false 708 }, 709 "lineInterpolation": "linear", 710 "lineWidth": 1, 711 "pointSize": 5, 712 "scaleDistribution": { 713 "type": "linear" 714 }, 715 "showPoints": "auto", 716 "spanNulls": false, 717 "stacking": { 718 "group": "A", 719 "mode": "none" 720 }, 721 "thresholdsStyle": { 722 "mode": "off" 723 } 724 }, 725 "mappings": [], 726 "thresholds": { 727 "mode": "absolute", 728 "steps": [ 729 { 730 "color": "green" 731 }, 732 { 733 "color": "red", 734 "value": 80 735 } 736 ] 737 } 738 }, 739 "overrides": [] 740 }, 741 "gridPos": { 742 "h": 8, 743 "w": 6, 744 "x": 6, 745 "y": 6 746 }, 747 "id": 12, 748 "options": { 749 "legend": { 750 "calcs": [], 751 "displayMode": "list", 752 "placement": "bottom", 753 "showLegend": true 754 }, 755 "tooltip": { 756 "mode": "single", 757 "sort": "none" 758 } 759 }, 760 "targets": [ 761 { 762 "datasource": { 763 "type": "prometheus", 764 "uid": "prometheus" 765 }, 766 "editorMode": "code", 767 "expr": "sum (capi_cluster_info) by (topology_version)", 768 "legendFormat": "{{topology_version}}", 769 "range": true, 770 "refId": "A" 771 } 772 ], 773 "title": "Cluster by version", 774 "type": "timeseries" 775 }, 776 { 777 "datasource": { 778 "type": "prometheus", 779 "uid": "prometheus" 780 }, 781 "fieldConfig": { 782 "defaults": { 783 "color": { 784 "mode": "palette-classic" 785 }, 786 "custom": { 787 "axisCenteredZero": false, 788 "axisColorMode": "text", 789 "axisLabel": "", 790 "axisPlacement": "auto", 791 "barAlignment": 0, 792 "drawStyle": "line", 793 "fillOpacity": 0, 794 "gradientMode": "none", 795 "hideFrom": { 796 "legend": false, 797 "tooltip": false, 798 "viz": false 799 }, 800 "lineInterpolation": "linear", 801 "lineWidth": 1, 802 "pointSize": 5, 803 "scaleDistribution": { 804 "type": "linear" 805 }, 806 "showPoints": "auto", 807 "spanNulls": false, 808 "stacking": { 809 "group": "A", 810 "mode": "none" 811 }, 812 "thresholdsStyle": { 813 "mode": "off" 814 } 815 }, 816 "mappings": [], 817 "thresholds": { 818 "mode": "absolute", 819 "steps": [ 820 { 821 "color": "green" 822 }, 823 { 824 "color": "red", 825 "value": 80 826 } 827 ] 828 } 829 }, 830 "overrides": [] 831 }, 832 "gridPos": { 833 "h": 8, 834 "w": 6, 835 "x": 18, 836 "y": 6 837 }, 838 "id": 10, 839 "options": { 840 "legend": { 841 "calcs": [], 842 "displayMode": "list", 843 "placement": "bottom", 844 "showLegend": true 845 }, 846 "tooltip": { 847 "mode": "multi", 848 "sort": "none" 849 } 850 }, 851 "targets": [ 852 { 853 "datasource": { 854 "type": "prometheus", 855 "uid": "prometheus" 856 }, 857 "editorMode": "code", 858 "expr": "sum(capi_cluster_status_phase == 1) by (phase)", 859 "legendFormat": "{{phase}}", 860 "range": true, 861 "refId": "A" 862 } 863 ], 864 "title": "Cluster by status phase", 865 "type": "timeseries" 866 } 867 ], 868 "title": "Cluster", 869 "type": "row" 870 }, 871 { 872 "collapsed": true, 873 "gridPos": { 874 "h": 1, 875 "w": 24, 876 "x": 0, 877 "y": 6 878 }, 879 "id": 21, 880 "panels": [ 881 { 882 "datasource": { 883 "type": "prometheus", 884 "uid": "prometheus" 885 }, 886 "fieldConfig": { 887 "defaults": { 888 "color": { 889 "mode": "palette-classic" 890 }, 891 "custom": { 892 "axisCenteredZero": false, 893 "axisColorMode": "text", 894 "axisLabel": "", 895 "axisPlacement": "auto", 896 "barAlignment": 0, 897 "drawStyle": "line", 898 "fillOpacity": 0, 899 "gradientMode": "none", 900 "hideFrom": { 901 "legend": false, 902 "tooltip": false, 903 "viz": false 904 }, 905 "lineInterpolation": "linear", 906 "lineWidth": 1, 907 "pointSize": 5, 908 "scaleDistribution": { 909 "type": "linear" 910 }, 911 "showPoints": "auto", 912 "spanNulls": false, 913 "stacking": { 914 "group": "A", 915 "mode": "none" 916 }, 917 "thresholdsStyle": { 918 "mode": "off" 919 } 920 }, 921 "mappings": [], 922 "thresholds": { 923 "mode": "absolute", 924 "steps": [ 925 { 926 "color": "green" 927 }, 928 { 929 "color": "red", 930 "value": 80 931 } 932 ] 933 } 934 }, 935 "overrides": [] 936 }, 937 "gridPos": { 938 "h": 8, 939 "w": 6, 940 "x": 0, 941 "y": 7 942 }, 943 "id": 13, 944 "options": { 945 "legend": { 946 "calcs": [], 947 "displayMode": "list", 948 "placement": "bottom", 949 "showLegend": true 950 }, 951 "tooltip": { 952 "mode": "multi", 953 "sort": "none" 954 } 955 }, 956 "targets": [ 957 { 958 "datasource": { 959 "type": "prometheus", 960 "uid": "prometheus" 961 }, 962 "editorMode": "code", 963 "expr": "sum (capi_kubeadmcontrolplane_info)", 964 "legendFormat": "All", 965 "range": true, 966 "refId": "A" 967 }, 968 { 969 "datasource": { 970 "type": "prometheus", 971 "uid": "prometheus" 972 }, 973 "editorMode": "code", 974 "expr": "sum(capi_kubeadmcontrolplane_status_condition{status=\"True\"} == 1) by (type)", 975 "hide": false, 976 "legendFormat": "{{type}}", 977 "range": true, 978 "refId": "B" 979 }, 980 { 981 "datasource": { 982 "type": "prometheus", 983 "uid": "prometheus" 984 }, 985 "editorMode": "code", 986 "expr": "sum(capi_kubeadmcontrolplane_status_condition{status=\"False\"} == 1) by (type)", 987 "hide": false, 988 "legendFormat": "{{type}} (False)", 989 "range": true, 990 "refId": "C" 991 } 992 ], 993 "title": "KubeadmControlPlane by conditions", 994 "type": "timeseries" 995 }, 996 { 997 "datasource": { 998 "type": "prometheus", 999 "uid": "prometheus" 1000 }, 1001 "fieldConfig": { 1002 "defaults": { 1003 "color": { 1004 "mode": "palette-classic" 1005 }, 1006 "custom": { 1007 "axisCenteredZero": false, 1008 "axisColorMode": "text", 1009 "axisLabel": "", 1010 "axisPlacement": "auto", 1011 "barAlignment": 0, 1012 "drawStyle": "line", 1013 "fillOpacity": 0, 1014 "gradientMode": "none", 1015 "hideFrom": { 1016 "legend": false, 1017 "tooltip": false, 1018 "viz": false 1019 }, 1020 "lineInterpolation": "linear", 1021 "lineWidth": 1, 1022 "pointSize": 5, 1023 "scaleDistribution": { 1024 "type": "linear" 1025 }, 1026 "showPoints": "auto", 1027 "spanNulls": false, 1028 "stacking": { 1029 "group": "A", 1030 "mode": "none" 1031 }, 1032 "thresholdsStyle": { 1033 "mode": "off" 1034 } 1035 }, 1036 "mappings": [], 1037 "thresholds": { 1038 "mode": "absolute", 1039 "steps": [ 1040 { 1041 "color": "green" 1042 }, 1043 { 1044 "color": "red", 1045 "value": 80 1046 } 1047 ] 1048 } 1049 }, 1050 "overrides": [] 1051 }, 1052 "gridPos": { 1053 "h": 8, 1054 "w": 6, 1055 "x": 6, 1056 "y": 7 1057 }, 1058 "id": 1, 1059 "options": { 1060 "legend": { 1061 "calcs": [], 1062 "displayMode": "list", 1063 "placement": "bottom", 1064 "showLegend": true 1065 }, 1066 "tooltip": { 1067 "mode": "single", 1068 "sort": "none" 1069 } 1070 }, 1071 "targets": [ 1072 { 1073 "datasource": { 1074 "type": "prometheus", 1075 "uid": "prometheus" 1076 }, 1077 "editorMode": "code", 1078 "expr": "sum (capi_kubeadmcontrolplane_info) by (version)", 1079 "legendFormat": "{{version}}", 1080 "range": true, 1081 "refId": "A" 1082 } 1083 ], 1084 "title": "KubeadmControlPlane by version", 1085 "type": "timeseries" 1086 }, 1087 { 1088 "datasource": { 1089 "type": "prometheus", 1090 "uid": "prometheus" 1091 }, 1092 "fieldConfig": { 1093 "defaults": { 1094 "color": { 1095 "mode": "palette-classic" 1096 }, 1097 "custom": { 1098 "axisCenteredZero": false, 1099 "axisColorMode": "text", 1100 "axisLabel": "", 1101 "axisPlacement": "auto", 1102 "barAlignment": 0, 1103 "drawStyle": "line", 1104 "fillOpacity": 0, 1105 "gradientMode": "none", 1106 "hideFrom": { 1107 "legend": false, 1108 "tooltip": false, 1109 "viz": false 1110 }, 1111 "lineInterpolation": "linear", 1112 "lineWidth": 1, 1113 "pointSize": 5, 1114 "scaleDistribution": { 1115 "type": "linear" 1116 }, 1117 "showPoints": "auto", 1118 "spanNulls": false, 1119 "stacking": { 1120 "group": "A", 1121 "mode": "none" 1122 }, 1123 "thresholdsStyle": { 1124 "mode": "off" 1125 } 1126 }, 1127 "mappings": [], 1128 "thresholds": { 1129 "mode": "absolute", 1130 "steps": [ 1131 { 1132 "color": "green" 1133 }, 1134 { 1135 "color": "red", 1136 "value": 80 1137 } 1138 ] 1139 } 1140 }, 1141 "overrides": [] 1142 }, 1143 "gridPos": { 1144 "h": 8, 1145 "w": 6, 1146 "x": 12, 1147 "y": 7 1148 }, 1149 "id": 14, 1150 "options": { 1151 "legend": { 1152 "calcs": [], 1153 "displayMode": "list", 1154 "placement": "bottom", 1155 "showLegend": true 1156 }, 1157 "tooltip": { 1158 "mode": "multi", 1159 "sort": "none" 1160 } 1161 }, 1162 "targets": [ 1163 { 1164 "datasource": { 1165 "type": "prometheus", 1166 "uid": "prometheus" 1167 }, 1168 "editorMode": "code", 1169 "expr": "sum (capi_kubeadmcontrolplane_spec_replicas)", 1170 "legendFormat": "spec replicas", 1171 "range": true, 1172 "refId": "A" 1173 }, 1174 { 1175 "datasource": { 1176 "type": "prometheus", 1177 "uid": "prometheus" 1178 }, 1179 "editorMode": "code", 1180 "expr": "sum (capi_kubeadmcontrolplane_status_replicas)", 1181 "hide": false, 1182 "legendFormat": "status replicas", 1183 "range": true, 1184 "refId": "B" 1185 }, 1186 { 1187 "datasource": { 1188 "type": "prometheus", 1189 "uid": "prometheus" 1190 }, 1191 "editorMode": "code", 1192 "expr": "sum (capi_kubeadmcontrolplane_status_replicas_ready)", 1193 "hide": false, 1194 "legendFormat": "status ready replicas", 1195 "range": true, 1196 "refId": "C" 1197 }, 1198 { 1199 "datasource": { 1200 "type": "prometheus", 1201 "uid": "prometheus" 1202 }, 1203 "editorMode": "code", 1204 "expr": "sum (capi_kubeadmcontrolplane_status_replicas_unavailable)", 1205 "hide": false, 1206 "legendFormat": "status unavailable replicas", 1207 "range": true, 1208 "refId": "D" 1209 }, 1210 { 1211 "datasource": { 1212 "type": "prometheus", 1213 "uid": "prometheus" 1214 }, 1215 "editorMode": "code", 1216 "expr": "sum (capi_kubeadmcontrolplane_status_replicas_updated)", 1217 "hide": false, 1218 "legendFormat": "status updated replicas", 1219 "range": true, 1220 "refId": "E" 1221 } 1222 ], 1223 "title": "KubeadmControlPlane replicas", 1224 "type": "timeseries" 1225 } 1226 ], 1227 "title": "KubeadmControlPlane", 1228 "type": "row" 1229 }, 1230 { 1231 "collapsed": true, 1232 "gridPos": { 1233 "h": 1, 1234 "w": 24, 1235 "x": 0, 1236 "y": 7 1237 }, 1238 "id": 20, 1239 "panels": [ 1240 { 1241 "datasource": { 1242 "type": "prometheus", 1243 "uid": "prometheus" 1244 }, 1245 "fieldConfig": { 1246 "defaults": { 1247 "color": { 1248 "mode": "palette-classic" 1249 }, 1250 "custom": { 1251 "axisCenteredZero": false, 1252 "axisColorMode": "text", 1253 "axisLabel": "", 1254 "axisPlacement": "auto", 1255 "barAlignment": 0, 1256 "drawStyle": "line", 1257 "fillOpacity": 0, 1258 "gradientMode": "none", 1259 "hideFrom": { 1260 "legend": false, 1261 "tooltip": false, 1262 "viz": false 1263 }, 1264 "lineInterpolation": "linear", 1265 "lineWidth": 1, 1266 "pointSize": 5, 1267 "scaleDistribution": { 1268 "type": "linear" 1269 }, 1270 "showPoints": "auto", 1271 "spanNulls": false, 1272 "stacking": { 1273 "group": "A", 1274 "mode": "none" 1275 }, 1276 "thresholdsStyle": { 1277 "mode": "off" 1278 } 1279 }, 1280 "mappings": [], 1281 "thresholds": { 1282 "mode": "absolute", 1283 "steps": [ 1284 { 1285 "color": "green" 1286 }, 1287 { 1288 "color": "red", 1289 "value": 80 1290 } 1291 ] 1292 } 1293 }, 1294 "overrides": [] 1295 }, 1296 "gridPos": { 1297 "h": 8, 1298 "w": 6, 1299 "x": 0, 1300 "y": 8 1301 }, 1302 "id": 15, 1303 "options": { 1304 "legend": { 1305 "calcs": [], 1306 "displayMode": "list", 1307 "placement": "bottom", 1308 "showLegend": true 1309 }, 1310 "tooltip": { 1311 "mode": "multi", 1312 "sort": "none" 1313 } 1314 }, 1315 "targets": [ 1316 { 1317 "datasource": { 1318 "type": "prometheus", 1319 "uid": "prometheus" 1320 }, 1321 "editorMode": "code", 1322 "expr": "sum (capi_machinedeployment_info)", 1323 "legendFormat": "All", 1324 "range": true, 1325 "refId": "A" 1326 }, 1327 { 1328 "datasource": { 1329 "type": "prometheus", 1330 "uid": "prometheus" 1331 }, 1332 "editorMode": "code", 1333 "expr": "sum(capi_machinedeployment_status_condition{status=\"True\"} == 1) by (type)", 1334 "hide": false, 1335 "legendFormat": "{{type}}", 1336 "range": true, 1337 "refId": "B" 1338 }, 1339 { 1340 "datasource": { 1341 "type": "prometheus", 1342 "uid": "prometheus" 1343 }, 1344 "editorMode": "code", 1345 "expr": "sum(capi_machinedeployment_status_condition{status=\"False\"} == 1) by (type)", 1346 "hide": false, 1347 "legendFormat": "{{type}} (False)", 1348 "range": true, 1349 "refId": "C" 1350 } 1351 ], 1352 "title": "MachineDeployment by conditions", 1353 "type": "timeseries" 1354 }, 1355 { 1356 "datasource": { 1357 "type": "prometheus", 1358 "uid": "prometheus" 1359 }, 1360 "fieldConfig": { 1361 "defaults": { 1362 "color": { 1363 "mode": "palette-classic" 1364 }, 1365 "custom": { 1366 "axisCenteredZero": false, 1367 "axisColorMode": "text", 1368 "axisLabel": "", 1369 "axisPlacement": "auto", 1370 "barAlignment": 0, 1371 "drawStyle": "line", 1372 "fillOpacity": 0, 1373 "gradientMode": "none", 1374 "hideFrom": { 1375 "legend": false, 1376 "tooltip": false, 1377 "viz": false 1378 }, 1379 "lineInterpolation": "linear", 1380 "lineWidth": 1, 1381 "pointSize": 5, 1382 "scaleDistribution": { 1383 "type": "linear" 1384 }, 1385 "showPoints": "auto", 1386 "spanNulls": false, 1387 "stacking": { 1388 "group": "A", 1389 "mode": "none" 1390 }, 1391 "thresholdsStyle": { 1392 "mode": "off" 1393 } 1394 }, 1395 "mappings": [], 1396 "thresholds": { 1397 "mode": "absolute", 1398 "steps": [ 1399 { 1400 "color": "green" 1401 }, 1402 { 1403 "color": "red", 1404 "value": 80 1405 } 1406 ] 1407 } 1408 }, 1409 "overrides": [] 1410 }, 1411 "gridPos": { 1412 "h": 8, 1413 "w": 6, 1414 "x": 6, 1415 "y": 8 1416 }, 1417 "id": 16, 1418 "options": { 1419 "legend": { 1420 "calcs": [], 1421 "displayMode": "list", 1422 "placement": "bottom", 1423 "showLegend": true 1424 }, 1425 "tooltip": { 1426 "mode": "single", 1427 "sort": "none" 1428 } 1429 }, 1430 "targets": [ 1431 { 1432 "datasource": { 1433 "type": "prometheus", 1434 "uid": "prometheus" 1435 }, 1436 "editorMode": "code", 1437 "expr": "sum (capi_machinedeployment_info) by (version)", 1438 "legendFormat": "{{version}}", 1439 "range": true, 1440 "refId": "A" 1441 } 1442 ], 1443 "title": "MachineDeployment by version", 1444 "type": "timeseries" 1445 }, 1446 { 1447 "datasource": { 1448 "type": "prometheus", 1449 "uid": "prometheus" 1450 }, 1451 "fieldConfig": { 1452 "defaults": { 1453 "color": { 1454 "mode": "palette-classic" 1455 }, 1456 "custom": { 1457 "axisCenteredZero": false, 1458 "axisColorMode": "text", 1459 "axisLabel": "", 1460 "axisPlacement": "auto", 1461 "barAlignment": 0, 1462 "drawStyle": "line", 1463 "fillOpacity": 0, 1464 "gradientMode": "none", 1465 "hideFrom": { 1466 "legend": false, 1467 "tooltip": false, 1468 "viz": false 1469 }, 1470 "lineInterpolation": "linear", 1471 "lineWidth": 1, 1472 "pointSize": 5, 1473 "scaleDistribution": { 1474 "type": "linear" 1475 }, 1476 "showPoints": "auto", 1477 "spanNulls": false, 1478 "stacking": { 1479 "group": "A", 1480 "mode": "none" 1481 }, 1482 "thresholdsStyle": { 1483 "mode": "off" 1484 } 1485 }, 1486 "mappings": [], 1487 "thresholds": { 1488 "mode": "absolute", 1489 "steps": [ 1490 { 1491 "color": "green" 1492 }, 1493 { 1494 "color": "red", 1495 "value": 80 1496 } 1497 ] 1498 } 1499 }, 1500 "overrides": [] 1501 }, 1502 "gridPos": { 1503 "h": 8, 1504 "w": 6, 1505 "x": 12, 1506 "y": 8 1507 }, 1508 "id": 17, 1509 "options": { 1510 "legend": { 1511 "calcs": [], 1512 "displayMode": "list", 1513 "placement": "bottom", 1514 "showLegend": true 1515 }, 1516 "tooltip": { 1517 "mode": "multi", 1518 "sort": "none" 1519 } 1520 }, 1521 "targets": [ 1522 { 1523 "datasource": { 1524 "type": "prometheus", 1525 "uid": "prometheus" 1526 }, 1527 "editorMode": "code", 1528 "expr": "sum (capi_machinedeployment_spec_replicas)", 1529 "legendFormat": "spec replicas", 1530 "range": true, 1531 "refId": "A" 1532 }, 1533 { 1534 "datasource": { 1535 "type": "prometheus", 1536 "uid": "prometheus" 1537 }, 1538 "editorMode": "code", 1539 "expr": "sum (capi_machinedeployment_status_replicas)", 1540 "hide": false, 1541 "legendFormat": "status replicas", 1542 "range": true, 1543 "refId": "B" 1544 }, 1545 { 1546 "datasource": { 1547 "type": "prometheus", 1548 "uid": "prometheus" 1549 }, 1550 "editorMode": "code", 1551 "expr": "sum (capi_machinedeployment_status_replicas_ready)", 1552 "hide": false, 1553 "legendFormat": "status ready replicas", 1554 "range": true, 1555 "refId": "C" 1556 }, 1557 { 1558 "datasource": { 1559 "type": "prometheus", 1560 "uid": "prometheus" 1561 }, 1562 "editorMode": "code", 1563 "expr": "sum (capi_machinedeployment_status_replicas_unavailable)", 1564 "hide": false, 1565 "legendFormat": "status unavailable replicas", 1566 "range": true, 1567 "refId": "D" 1568 }, 1569 { 1570 "datasource": { 1571 "type": "prometheus", 1572 "uid": "prometheus" 1573 }, 1574 "editorMode": "code", 1575 "expr": "sum (capi_machinedeployment_status_replicas_updated)", 1576 "hide": false, 1577 "legendFormat": "status updated replicas", 1578 "range": true, 1579 "refId": "E" 1580 }, 1581 { 1582 "datasource": { 1583 "type": "prometheus", 1584 "uid": "prometheus" 1585 }, 1586 "editorMode": "code", 1587 "expr": "sum (capi_machinedeployment_status_replicas_available)", 1588 "hide": false, 1589 "legendFormat": "status available replicas", 1590 "range": true, 1591 "refId": "F" 1592 } 1593 ], 1594 "title": "MachineDeployment replicas", 1595 "type": "timeseries" 1596 }, 1597 { 1598 "datasource": { 1599 "type": "prometheus", 1600 "uid": "prometheus" 1601 }, 1602 "fieldConfig": { 1603 "defaults": { 1604 "color": { 1605 "mode": "palette-classic" 1606 }, 1607 "custom": { 1608 "axisCenteredZero": false, 1609 "axisColorMode": "text", 1610 "axisLabel": "", 1611 "axisPlacement": "auto", 1612 "barAlignment": 0, 1613 "drawStyle": "line", 1614 "fillOpacity": 0, 1615 "gradientMode": "none", 1616 "hideFrom": { 1617 "legend": false, 1618 "tooltip": false, 1619 "viz": false 1620 }, 1621 "lineInterpolation": "linear", 1622 "lineWidth": 1, 1623 "pointSize": 5, 1624 "scaleDistribution": { 1625 "type": "linear" 1626 }, 1627 "showPoints": "auto", 1628 "spanNulls": false, 1629 "stacking": { 1630 "group": "A", 1631 "mode": "none" 1632 }, 1633 "thresholdsStyle": { 1634 "mode": "off" 1635 } 1636 }, 1637 "mappings": [], 1638 "thresholds": { 1639 "mode": "absolute", 1640 "steps": [ 1641 { 1642 "color": "green" 1643 }, 1644 { 1645 "color": "red", 1646 "value": 80 1647 } 1648 ] 1649 } 1650 }, 1651 "overrides": [] 1652 }, 1653 "gridPos": { 1654 "h": 8, 1655 "w": 6, 1656 "x": 18, 1657 "y": 8 1658 }, 1659 "id": 18, 1660 "options": { 1661 "legend": { 1662 "calcs": [], 1663 "displayMode": "list", 1664 "placement": "bottom", 1665 "showLegend": true 1666 }, 1667 "tooltip": { 1668 "mode": "multi", 1669 "sort": "none" 1670 } 1671 }, 1672 "targets": [ 1673 { 1674 "datasource": { 1675 "type": "prometheus", 1676 "uid": "prometheus" 1677 }, 1678 "editorMode": "code", 1679 "expr": "sum(capi_machinedeployment_status_phase == 1) by (phase)", 1680 "legendFormat": "{{phase}}", 1681 "range": true, 1682 "refId": "A" 1683 } 1684 ], 1685 "title": "MachineDeployment by status phase", 1686 "type": "timeseries" 1687 } 1688 ], 1689 "title": "MachineDeployment", 1690 "type": "row" 1691 }, 1692 { 1693 "collapsed": true, 1694 "gridPos": { 1695 "h": 1, 1696 "w": 24, 1697 "x": 0, 1698 "y": 8 1699 }, 1700 "id": 19, 1701 "panels": [ 1702 { 1703 "datasource": { 1704 "type": "prometheus", 1705 "uid": "prometheus" 1706 }, 1707 "fieldConfig": { 1708 "defaults": { 1709 "color": { 1710 "mode": "palette-classic" 1711 }, 1712 "custom": { 1713 "axisCenteredZero": false, 1714 "axisColorMode": "text", 1715 "axisLabel": "", 1716 "axisPlacement": "auto", 1717 "barAlignment": 0, 1718 "drawStyle": "line", 1719 "fillOpacity": 0, 1720 "gradientMode": "none", 1721 "hideFrom": { 1722 "legend": false, 1723 "tooltip": false, 1724 "viz": false 1725 }, 1726 "lineInterpolation": "linear", 1727 "lineWidth": 1, 1728 "pointSize": 5, 1729 "scaleDistribution": { 1730 "type": "linear" 1731 }, 1732 "showPoints": "auto", 1733 "spanNulls": false, 1734 "stacking": { 1735 "group": "A", 1736 "mode": "none" 1737 }, 1738 "thresholdsStyle": { 1739 "mode": "off" 1740 } 1741 }, 1742 "mappings": [], 1743 "thresholds": { 1744 "mode": "absolute", 1745 "steps": [ 1746 { 1747 "color": "green" 1748 }, 1749 { 1750 "color": "red", 1751 "value": 80 1752 } 1753 ] 1754 } 1755 }, 1756 "overrides": [] 1757 }, 1758 "gridPos": { 1759 "h": 8, 1760 "w": 6, 1761 "x": 0, 1762 "y": 9 1763 }, 1764 "id": 23, 1765 "options": { 1766 "legend": { 1767 "calcs": [], 1768 "displayMode": "list", 1769 "placement": "bottom", 1770 "showLegend": true 1771 }, 1772 "tooltip": { 1773 "mode": "multi", 1774 "sort": "none" 1775 } 1776 }, 1777 "targets": [ 1778 { 1779 "datasource": { 1780 "type": "prometheus", 1781 "uid": "prometheus" 1782 }, 1783 "editorMode": "code", 1784 "expr": "sum (capi_machineset_info)", 1785 "legendFormat": "All", 1786 "range": true, 1787 "refId": "A" 1788 }, 1789 { 1790 "datasource": { 1791 "type": "prometheus", 1792 "uid": "prometheus" 1793 }, 1794 "editorMode": "code", 1795 "expr": "sum(capi_machineset_status_condition{status=\"True\"} == 1) by (type)", 1796 "hide": false, 1797 "legendFormat": "{{type}}", 1798 "range": true, 1799 "refId": "B" 1800 }, 1801 { 1802 "datasource": { 1803 "type": "prometheus", 1804 "uid": "prometheus" 1805 }, 1806 "editorMode": "code", 1807 "expr": "sum(capi_machineset_status_condition{status=\"False\"} == 1) by (type)", 1808 "hide": false, 1809 "legendFormat": "{{type}} (False)", 1810 "range": true, 1811 "refId": "C" 1812 } 1813 ], 1814 "title": "MachineSet by conditions", 1815 "type": "timeseries" 1816 }, 1817 { 1818 "datasource": { 1819 "type": "prometheus", 1820 "uid": "prometheus" 1821 }, 1822 "fieldConfig": { 1823 "defaults": { 1824 "color": { 1825 "mode": "palette-classic" 1826 }, 1827 "custom": { 1828 "axisCenteredZero": false, 1829 "axisColorMode": "text", 1830 "axisLabel": "", 1831 "axisPlacement": "auto", 1832 "barAlignment": 0, 1833 "drawStyle": "line", 1834 "fillOpacity": 0, 1835 "gradientMode": "none", 1836 "hideFrom": { 1837 "legend": false, 1838 "tooltip": false, 1839 "viz": false 1840 }, 1841 "lineInterpolation": "linear", 1842 "lineWidth": 1, 1843 "pointSize": 5, 1844 "scaleDistribution": { 1845 "type": "linear" 1846 }, 1847 "showPoints": "auto", 1848 "spanNulls": false, 1849 "stacking": { 1850 "group": "A", 1851 "mode": "none" 1852 }, 1853 "thresholdsStyle": { 1854 "mode": "off" 1855 } 1856 }, 1857 "mappings": [], 1858 "thresholds": { 1859 "mode": "absolute", 1860 "steps": [ 1861 { 1862 "color": "green" 1863 }, 1864 { 1865 "color": "red", 1866 "value": 80 1867 } 1868 ] 1869 } 1870 }, 1871 "overrides": [] 1872 }, 1873 "gridPos": { 1874 "h": 8, 1875 "w": 6, 1876 "x": 6, 1877 "y": 9 1878 }, 1879 "id": 24, 1880 "options": { 1881 "legend": { 1882 "calcs": [], 1883 "displayMode": "list", 1884 "placement": "bottom", 1885 "showLegend": true 1886 }, 1887 "tooltip": { 1888 "mode": "single", 1889 "sort": "none" 1890 } 1891 }, 1892 "targets": [ 1893 { 1894 "datasource": { 1895 "type": "prometheus", 1896 "uid": "prometheus" 1897 }, 1898 "editorMode": "code", 1899 "expr": "sum (capi_machineset_info) by (version)", 1900 "legendFormat": "{{version}}", 1901 "range": true, 1902 "refId": "A" 1903 } 1904 ], 1905 "title": "MachineSet by version", 1906 "type": "timeseries" 1907 }, 1908 { 1909 "datasource": { 1910 "type": "prometheus", 1911 "uid": "prometheus" 1912 }, 1913 "fieldConfig": { 1914 "defaults": { 1915 "color": { 1916 "mode": "palette-classic" 1917 }, 1918 "custom": { 1919 "axisCenteredZero": false, 1920 "axisColorMode": "text", 1921 "axisLabel": "", 1922 "axisPlacement": "auto", 1923 "barAlignment": 0, 1924 "drawStyle": "line", 1925 "fillOpacity": 0, 1926 "gradientMode": "none", 1927 "hideFrom": { 1928 "legend": false, 1929 "tooltip": false, 1930 "viz": false 1931 }, 1932 "lineInterpolation": "linear", 1933 "lineWidth": 1, 1934 "pointSize": 5, 1935 "scaleDistribution": { 1936 "type": "linear" 1937 }, 1938 "showPoints": "auto", 1939 "spanNulls": false, 1940 "stacking": { 1941 "group": "A", 1942 "mode": "none" 1943 }, 1944 "thresholdsStyle": { 1945 "mode": "off" 1946 } 1947 }, 1948 "mappings": [], 1949 "thresholds": { 1950 "mode": "absolute", 1951 "steps": [ 1952 { 1953 "color": "green" 1954 }, 1955 { 1956 "color": "red", 1957 "value": 80 1958 } 1959 ] 1960 } 1961 }, 1962 "overrides": [] 1963 }, 1964 "gridPos": { 1965 "h": 8, 1966 "w": 6, 1967 "x": 12, 1968 "y": 9 1969 }, 1970 "id": 25, 1971 "options": { 1972 "legend": { 1973 "calcs": [], 1974 "displayMode": "list", 1975 "placement": "bottom", 1976 "showLegend": true 1977 }, 1978 "tooltip": { 1979 "mode": "multi", 1980 "sort": "none" 1981 } 1982 }, 1983 "targets": [ 1984 { 1985 "datasource": { 1986 "type": "prometheus", 1987 "uid": "prometheus" 1988 }, 1989 "editorMode": "code", 1990 "expr": "sum (capi_machineset_spec_replicas)", 1991 "legendFormat": "spec replicas", 1992 "range": true, 1993 "refId": "A" 1994 }, 1995 { 1996 "datasource": { 1997 "type": "prometheus", 1998 "uid": "prometheus" 1999 }, 2000 "editorMode": "code", 2001 "expr": "sum (capi_machineset_status_replicas)", 2002 "hide": false, 2003 "legendFormat": "status replicas", 2004 "range": true, 2005 "refId": "B" 2006 }, 2007 { 2008 "datasource": { 2009 "type": "prometheus", 2010 "uid": "prometheus" 2011 }, 2012 "editorMode": "code", 2013 "expr": "sum (capi_machineset_status_replicas_ready)", 2014 "hide": false, 2015 "legendFormat": "status ready replicas", 2016 "range": true, 2017 "refId": "C" 2018 }, 2019 { 2020 "datasource": { 2021 "type": "prometheus", 2022 "uid": "prometheus" 2023 }, 2024 "editorMode": "code", 2025 "expr": "sum (capi_machineset_status_replicas_available)", 2026 "hide": false, 2027 "legendFormat": "status available replicas", 2028 "range": true, 2029 "refId": "F" 2030 }, 2031 { 2032 "datasource": { 2033 "type": "prometheus", 2034 "uid": "prometheus" 2035 }, 2036 "editorMode": "code", 2037 "expr": "sum (capi_machineset_status_replicas_fully_labeled)", 2038 "hide": false, 2039 "legendFormat": "status fully labeled replicas", 2040 "range": true, 2041 "refId": "D" 2042 } 2043 ], 2044 "title": "MachineSet replicas", 2045 "type": "timeseries" 2046 } 2047 ], 2048 "title": "MachineSet", 2049 "type": "row" 2050 }, 2051 { 2052 "collapsed": true, 2053 "gridPos": { 2054 "h": 1, 2055 "w": 24, 2056 "x": 0, 2057 "y": 9 2058 }, 2059 "id": 35, 2060 "panels": [ 2061 { 2062 "datasource": { 2063 "type": "prometheus", 2064 "uid": "prometheus" 2065 }, 2066 "fieldConfig": { 2067 "defaults": { 2068 "color": { 2069 "mode": "palette-classic" 2070 }, 2071 "custom": { 2072 "axisCenteredZero": false, 2073 "axisColorMode": "text", 2074 "axisLabel": "", 2075 "axisPlacement": "auto", 2076 "barAlignment": 0, 2077 "drawStyle": "line", 2078 "fillOpacity": 0, 2079 "gradientMode": "none", 2080 "hideFrom": { 2081 "legend": false, 2082 "tooltip": false, 2083 "viz": false 2084 }, 2085 "lineInterpolation": "linear", 2086 "lineWidth": 1, 2087 "pointSize": 5, 2088 "scaleDistribution": { 2089 "type": "linear" 2090 }, 2091 "showPoints": "auto", 2092 "spanNulls": false, 2093 "stacking": { 2094 "group": "A", 2095 "mode": "none" 2096 }, 2097 "thresholdsStyle": { 2098 "mode": "off" 2099 } 2100 }, 2101 "mappings": [], 2102 "thresholds": { 2103 "mode": "absolute", 2104 "steps": [ 2105 { 2106 "color": "green" 2107 }, 2108 { 2109 "color": "red", 2110 "value": 80 2111 } 2112 ] 2113 } 2114 }, 2115 "overrides": [] 2116 }, 2117 "gridPos": { 2118 "h": 8, 2119 "w": 6, 2120 "x": 0, 2121 "y": 10 2122 }, 2123 "id": 36, 2124 "options": { 2125 "legend": { 2126 "calcs": [], 2127 "displayMode": "list", 2128 "placement": "bottom", 2129 "showLegend": true 2130 }, 2131 "tooltip": { 2132 "mode": "multi", 2133 "sort": "none" 2134 } 2135 }, 2136 "targets": [ 2137 { 2138 "datasource": { 2139 "type": "prometheus", 2140 "uid": "prometheus" 2141 }, 2142 "editorMode": "code", 2143 "expr": "sum (capi_machinepool_info)", 2144 "legendFormat": "All", 2145 "range": true, 2146 "refId": "A" 2147 }, 2148 { 2149 "datasource": { 2150 "type": "prometheus", 2151 "uid": "prometheus" 2152 }, 2153 "editorMode": "code", 2154 "expr": "sum(capi_machinepool_status_condition{status=\"True\"} == 1) by (type)", 2155 "hide": false, 2156 "legendFormat": "{{type}}", 2157 "range": true, 2158 "refId": "B" 2159 }, 2160 { 2161 "datasource": { 2162 "type": "prometheus", 2163 "uid": "prometheus" 2164 }, 2165 "editorMode": "code", 2166 "expr": "sum(capi_machinepool_status_condition{status=\"False\"} == 1) by (type)", 2167 "hide": false, 2168 "legendFormat": "{{type}} (False)", 2169 "range": true, 2170 "refId": "C" 2171 } 2172 ], 2173 "title": "MachinePool by conditions", 2174 "type": "timeseries" 2175 }, 2176 { 2177 "datasource": { 2178 "type": "prometheus", 2179 "uid": "prometheus" 2180 }, 2181 "fieldConfig": { 2182 "defaults": { 2183 "color": { 2184 "mode": "palette-classic" 2185 }, 2186 "custom": { 2187 "axisCenteredZero": false, 2188 "axisColorMode": "text", 2189 "axisLabel": "", 2190 "axisPlacement": "auto", 2191 "barAlignment": 0, 2192 "drawStyle": "line", 2193 "fillOpacity": 0, 2194 "gradientMode": "none", 2195 "hideFrom": { 2196 "legend": false, 2197 "tooltip": false, 2198 "viz": false 2199 }, 2200 "lineInterpolation": "linear", 2201 "lineWidth": 1, 2202 "pointSize": 5, 2203 "scaleDistribution": { 2204 "type": "linear" 2205 }, 2206 "showPoints": "auto", 2207 "spanNulls": false, 2208 "stacking": { 2209 "group": "A", 2210 "mode": "none" 2211 }, 2212 "thresholdsStyle": { 2213 "mode": "off" 2214 } 2215 }, 2216 "mappings": [], 2217 "thresholds": { 2218 "mode": "absolute", 2219 "steps": [ 2220 { 2221 "color": "green" 2222 }, 2223 { 2224 "color": "red", 2225 "value": 80 2226 } 2227 ] 2228 } 2229 }, 2230 "overrides": [] 2231 }, 2232 "gridPos": { 2233 "h": 8, 2234 "w": 6, 2235 "x": 6, 2236 "y": 10 2237 }, 2238 "id": 37, 2239 "options": { 2240 "legend": { 2241 "calcs": [], 2242 "displayMode": "list", 2243 "placement": "bottom", 2244 "showLegend": true 2245 }, 2246 "tooltip": { 2247 "mode": "single", 2248 "sort": "none" 2249 } 2250 }, 2251 "targets": [ 2252 { 2253 "datasource": { 2254 "type": "prometheus", 2255 "uid": "prometheus" 2256 }, 2257 "editorMode": "code", 2258 "expr": "sum (capi_machinepool_info) by (version)", 2259 "legendFormat": "{{version}}", 2260 "range": true, 2261 "refId": "A" 2262 } 2263 ], 2264 "title": "MachinePool by version", 2265 "type": "timeseries" 2266 }, 2267 { 2268 "datasource": { 2269 "type": "prometheus", 2270 "uid": "prometheus" 2271 }, 2272 "fieldConfig": { 2273 "defaults": { 2274 "color": { 2275 "mode": "palette-classic" 2276 }, 2277 "custom": { 2278 "axisCenteredZero": false, 2279 "axisColorMode": "text", 2280 "axisLabel": "", 2281 "axisPlacement": "auto", 2282 "barAlignment": 0, 2283 "drawStyle": "line", 2284 "fillOpacity": 0, 2285 "gradientMode": "none", 2286 "hideFrom": { 2287 "legend": false, 2288 "tooltip": false, 2289 "viz": false 2290 }, 2291 "lineInterpolation": "linear", 2292 "lineWidth": 1, 2293 "pointSize": 5, 2294 "scaleDistribution": { 2295 "type": "linear" 2296 }, 2297 "showPoints": "auto", 2298 "spanNulls": false, 2299 "stacking": { 2300 "group": "A", 2301 "mode": "none" 2302 }, 2303 "thresholdsStyle": { 2304 "mode": "off" 2305 } 2306 }, 2307 "mappings": [], 2308 "thresholds": { 2309 "mode": "absolute", 2310 "steps": [ 2311 { 2312 "color": "green" 2313 }, 2314 { 2315 "color": "red", 2316 "value": 80 2317 } 2318 ] 2319 } 2320 }, 2321 "overrides": [] 2322 }, 2323 "gridPos": { 2324 "h": 8, 2325 "w": 6, 2326 "x": 12, 2327 "y": 10 2328 }, 2329 "id": 38, 2330 "options": { 2331 "legend": { 2332 "calcs": [], 2333 "displayMode": "list", 2334 "placement": "bottom", 2335 "showLegend": true 2336 }, 2337 "tooltip": { 2338 "mode": "multi", 2339 "sort": "none" 2340 } 2341 }, 2342 "targets": [ 2343 { 2344 "datasource": { 2345 "type": "prometheus", 2346 "uid": "prometheus" 2347 }, 2348 "editorMode": "code", 2349 "expr": "sum (capi_machinepool_spec_replicas)", 2350 "legendFormat": "spec replicas", 2351 "range": true, 2352 "refId": "A" 2353 }, 2354 { 2355 "datasource": { 2356 "type": "prometheus", 2357 "uid": "prometheus" 2358 }, 2359 "editorMode": "code", 2360 "expr": "sum (capi_machinepool_status_replicas)", 2361 "hide": false, 2362 "legendFormat": "status replicas", 2363 "range": true, 2364 "refId": "B" 2365 }, 2366 { 2367 "datasource": { 2368 "type": "prometheus", 2369 "uid": "prometheus" 2370 }, 2371 "editorMode": "code", 2372 "expr": "sum (capi_machinepool_status_replicas_ready)", 2373 "hide": false, 2374 "legendFormat": "status ready replicas", 2375 "range": true, 2376 "refId": "C" 2377 }, 2378 { 2379 "datasource": { 2380 "type": "prometheus", 2381 "uid": "prometheus" 2382 }, 2383 "editorMode": "code", 2384 "expr": "sum (capi_machinepool_status_replicas_unavailable)", 2385 "hide": false, 2386 "legendFormat": "status unavailable replicas", 2387 "range": true, 2388 "refId": "D" 2389 }, 2390 { 2391 "datasource": { 2392 "type": "prometheus", 2393 "uid": "prometheus" 2394 }, 2395 "editorMode": "code", 2396 "expr": "sum (capi_machinepool_status_replicas_available)", 2397 "hide": false, 2398 "legendFormat": "status available replicas", 2399 "range": true, 2400 "refId": "F" 2401 } 2402 ], 2403 "title": "MachinePool replicas", 2404 "type": "timeseries" 2405 }, 2406 { 2407 "datasource": { 2408 "type": "prometheus", 2409 "uid": "prometheus" 2410 }, 2411 "fieldConfig": { 2412 "defaults": { 2413 "color": { 2414 "mode": "palette-classic" 2415 }, 2416 "custom": { 2417 "axisCenteredZero": false, 2418 "axisColorMode": "text", 2419 "axisLabel": "", 2420 "axisPlacement": "auto", 2421 "barAlignment": 0, 2422 "drawStyle": "line", 2423 "fillOpacity": 0, 2424 "gradientMode": "none", 2425 "hideFrom": { 2426 "legend": false, 2427 "tooltip": false, 2428 "viz": false 2429 }, 2430 "lineInterpolation": "linear", 2431 "lineWidth": 1, 2432 "pointSize": 5, 2433 "scaleDistribution": { 2434 "type": "linear" 2435 }, 2436 "showPoints": "auto", 2437 "spanNulls": false, 2438 "stacking": { 2439 "group": "A", 2440 "mode": "none" 2441 }, 2442 "thresholdsStyle": { 2443 "mode": "off" 2444 } 2445 }, 2446 "mappings": [], 2447 "thresholds": { 2448 "mode": "absolute", 2449 "steps": [ 2450 { 2451 "color": "green" 2452 }, 2453 { 2454 "color": "red", 2455 "value": 80 2456 } 2457 ] 2458 } 2459 }, 2460 "overrides": [] 2461 }, 2462 "gridPos": { 2463 "h": 8, 2464 "w": 6, 2465 "x": 18, 2466 "y": 10 2467 }, 2468 "id": 39, 2469 "options": { 2470 "legend": { 2471 "calcs": [], 2472 "displayMode": "list", 2473 "placement": "bottom", 2474 "showLegend": true 2475 }, 2476 "tooltip": { 2477 "mode": "multi", 2478 "sort": "none" 2479 } 2480 }, 2481 "targets": [ 2482 { 2483 "datasource": { 2484 "type": "prometheus", 2485 "uid": "prometheus" 2486 }, 2487 "editorMode": "code", 2488 "expr": "sum(capi_machinepool_status_phase == 1) by (phase)", 2489 "legendFormat": "{{phase}}", 2490 "range": true, 2491 "refId": "A" 2492 } 2493 ], 2494 "title": "MachinePool by status phase", 2495 "type": "timeseries" 2496 } 2497 ], 2498 "title": "MachinePool", 2499 "type": "row" 2500 }, 2501 { 2502 "collapsed": true, 2503 "gridPos": { 2504 "h": 1, 2505 "w": 24, 2506 "x": 0, 2507 "y": 10 2508 }, 2509 "id": 42, 2510 "panels": [ 2511 { 2512 "datasource": { 2513 "type": "prometheus", 2514 "uid": "prometheus" 2515 }, 2516 "fieldConfig": { 2517 "defaults": { 2518 "color": { 2519 "mode": "palette-classic" 2520 }, 2521 "custom": { 2522 "axisCenteredZero": false, 2523 "axisColorMode": "text", 2524 "axisLabel": "", 2525 "axisPlacement": "auto", 2526 "barAlignment": 0, 2527 "drawStyle": "line", 2528 "fillOpacity": 0, 2529 "gradientMode": "none", 2530 "hideFrom": { 2531 "legend": false, 2532 "tooltip": false, 2533 "viz": false 2534 }, 2535 "lineInterpolation": "linear", 2536 "lineWidth": 1, 2537 "pointSize": 5, 2538 "scaleDistribution": { 2539 "type": "linear" 2540 }, 2541 "showPoints": "auto", 2542 "spanNulls": false, 2543 "stacking": { 2544 "group": "A", 2545 "mode": "none" 2546 }, 2547 "thresholdsStyle": { 2548 "mode": "off" 2549 } 2550 }, 2551 "mappings": [], 2552 "thresholds": { 2553 "mode": "absolute", 2554 "steps": [ 2555 { 2556 "color": "green" 2557 }, 2558 { 2559 "color": "red", 2560 "value": 80 2561 } 2562 ] 2563 } 2564 }, 2565 "overrides": [] 2566 }, 2567 "gridPos": { 2568 "h": 8, 2569 "w": 6, 2570 "x": 0, 2571 "y": 11 2572 }, 2573 "id": 28, 2574 "options": { 2575 "legend": { 2576 "calcs": [], 2577 "displayMode": "list", 2578 "placement": "bottom", 2579 "showLegend": true 2580 }, 2581 "tooltip": { 2582 "mode": "multi", 2583 "sort": "none" 2584 } 2585 }, 2586 "targets": [ 2587 { 2588 "datasource": { 2589 "type": "prometheus", 2590 "uid": "prometheus" 2591 }, 2592 "editorMode": "code", 2593 "expr": "sum(capi_machine_info{control_plane_name!=\"\"})", 2594 "legendFormat": "All", 2595 "range": true, 2596 "refId": "A" 2597 }, 2598 { 2599 "datasource": { 2600 "type": "prometheus", 2601 "uid": "prometheus" 2602 }, 2603 "editorMode": "code", 2604 "expr": "sum(avg(capi_machine_info{control_plane_name!=\"\"}) by (name) * on(name) group_right () (capi_machine_status_condition{status=\"True\"} == 1)) by (type)", 2605 "hide": false, 2606 "legendFormat": "{{type}}", 2607 "range": true, 2608 "refId": "B" 2609 }, 2610 { 2611 "datasource": { 2612 "type": "prometheus", 2613 "uid": "prometheus" 2614 }, 2615 "editorMode": "code", 2616 "expr": "sum(avg(capi_machine_info{control_plane_name!=\"\"}) by (name) * on(name) group_right () (capi_machine_status_condition{status=\"False\"} == 1)) by (type)", 2617 "hide": false, 2618 "legendFormat": "{{type}} (False)", 2619 "range": true, 2620 "refId": "C" 2621 } 2622 ], 2623 "title": "Control Plane Machine by conditions", 2624 "type": "timeseries" 2625 }, 2626 { 2627 "datasource": { 2628 "type": "prometheus", 2629 "uid": "prometheus" 2630 }, 2631 "fieldConfig": { 2632 "defaults": { 2633 "color": { 2634 "mode": "palette-classic" 2635 }, 2636 "custom": { 2637 "axisCenteredZero": false, 2638 "axisColorMode": "text", 2639 "axisLabel": "", 2640 "axisPlacement": "auto", 2641 "barAlignment": 0, 2642 "drawStyle": "line", 2643 "fillOpacity": 0, 2644 "gradientMode": "none", 2645 "hideFrom": { 2646 "legend": false, 2647 "tooltip": false, 2648 "viz": false 2649 }, 2650 "lineInterpolation": "linear", 2651 "lineWidth": 1, 2652 "pointSize": 5, 2653 "scaleDistribution": { 2654 "type": "linear" 2655 }, 2656 "showPoints": "auto", 2657 "spanNulls": false, 2658 "stacking": { 2659 "group": "A", 2660 "mode": "none" 2661 }, 2662 "thresholdsStyle": { 2663 "mode": "off" 2664 } 2665 }, 2666 "mappings": [], 2667 "thresholds": { 2668 "mode": "absolute", 2669 "steps": [ 2670 { 2671 "color": "green" 2672 }, 2673 { 2674 "color": "red", 2675 "value": 80 2676 } 2677 ] 2678 } 2679 }, 2680 "overrides": [] 2681 }, 2682 "gridPos": { 2683 "h": 8, 2684 "w": 6, 2685 "x": 6, 2686 "y": 11 2687 }, 2688 "id": 29, 2689 "options": { 2690 "legend": { 2691 "calcs": [], 2692 "displayMode": "list", 2693 "placement": "bottom", 2694 "showLegend": true 2695 }, 2696 "tooltip": { 2697 "mode": "single", 2698 "sort": "none" 2699 } 2700 }, 2701 "targets": [ 2702 { 2703 "datasource": { 2704 "type": "prometheus", 2705 "uid": "prometheus" 2706 }, 2707 "editorMode": "code", 2708 "expr": "sum (capi_machine_info{control_plane_name!=\"\"}) by (version)", 2709 "legendFormat": "{{version}}", 2710 "range": true, 2711 "refId": "A" 2712 } 2713 ], 2714 "title": "Control Plane Machine by version", 2715 "type": "timeseries" 2716 }, 2717 { 2718 "datasource": { 2719 "type": "prometheus", 2720 "uid": "prometheus" 2721 }, 2722 "fieldConfig": { 2723 "defaults": { 2724 "color": { 2725 "mode": "palette-classic" 2726 }, 2727 "custom": { 2728 "axisCenteredZero": false, 2729 "axisColorMode": "text", 2730 "axisLabel": "", 2731 "axisPlacement": "auto", 2732 "barAlignment": 0, 2733 "drawStyle": "line", 2734 "fillOpacity": 0, 2735 "gradientMode": "none", 2736 "hideFrom": { 2737 "legend": false, 2738 "tooltip": false, 2739 "viz": false 2740 }, 2741 "lineInterpolation": "linear", 2742 "lineWidth": 1, 2743 "pointSize": 5, 2744 "scaleDistribution": { 2745 "type": "linear" 2746 }, 2747 "showPoints": "auto", 2748 "spanNulls": false, 2749 "stacking": { 2750 "group": "A", 2751 "mode": "none" 2752 }, 2753 "thresholdsStyle": { 2754 "mode": "off" 2755 } 2756 }, 2757 "mappings": [], 2758 "thresholds": { 2759 "mode": "absolute", 2760 "steps": [ 2761 { 2762 "color": "green" 2763 }, 2764 { 2765 "color": "red", 2766 "value": 80 2767 } 2768 ] 2769 } 2770 }, 2771 "overrides": [] 2772 }, 2773 "gridPos": { 2774 "h": 8, 2775 "w": 6, 2776 "x": 18, 2777 "y": 11 2778 }, 2779 "id": 30, 2780 "options": { 2781 "legend": { 2782 "calcs": [], 2783 "displayMode": "list", 2784 "placement": "bottom", 2785 "showLegend": true 2786 }, 2787 "tooltip": { 2788 "mode": "multi", 2789 "sort": "none" 2790 } 2791 }, 2792 "targets": [ 2793 { 2794 "datasource": { 2795 "type": "prometheus", 2796 "uid": "prometheus" 2797 }, 2798 "editorMode": "code", 2799 "expr": "sum(avg(capi_machine_info{control_plane_name!=\"\"}) by (name) * on (name) group_right () (capi_machine_status_phase == 1)) by (phase)", 2800 "legendFormat": "{{phase}}", 2801 "range": true, 2802 "refId": "A" 2803 } 2804 ], 2805 "title": "Control Plane Machine by status phase", 2806 "type": "timeseries" 2807 } 2808 ], 2809 "title": "Control Plane Machine", 2810 "type": "row" 2811 }, 2812 { 2813 "collapsed": true, 2814 "gridPos": { 2815 "h": 1, 2816 "w": 24, 2817 "x": 0, 2818 "y": 11 2819 }, 2820 "id": 27, 2821 "panels": [ 2822 { 2823 "datasource": { 2824 "type": "prometheus", 2825 "uid": "prometheus" 2826 }, 2827 "fieldConfig": { 2828 "defaults": { 2829 "color": { 2830 "mode": "palette-classic" 2831 }, 2832 "custom": { 2833 "axisCenteredZero": false, 2834 "axisColorMode": "text", 2835 "axisLabel": "", 2836 "axisPlacement": "auto", 2837 "barAlignment": 0, 2838 "drawStyle": "line", 2839 "fillOpacity": 0, 2840 "gradientMode": "none", 2841 "hideFrom": { 2842 "legend": false, 2843 "tooltip": false, 2844 "viz": false 2845 }, 2846 "lineInterpolation": "linear", 2847 "lineWidth": 1, 2848 "pointSize": 5, 2849 "scaleDistribution": { 2850 "type": "linear" 2851 }, 2852 "showPoints": "auto", 2853 "spanNulls": false, 2854 "stacking": { 2855 "group": "A", 2856 "mode": "none" 2857 }, 2858 "thresholdsStyle": { 2859 "mode": "off" 2860 } 2861 }, 2862 "mappings": [], 2863 "thresholds": { 2864 "mode": "absolute", 2865 "steps": [ 2866 { 2867 "color": "green" 2868 }, 2869 { 2870 "color": "red", 2871 "value": 80 2872 } 2873 ] 2874 } 2875 }, 2876 "overrides": [] 2877 }, 2878 "gridPos": { 2879 "h": 8, 2880 "w": 6, 2881 "x": 0, 2882 "y": 12 2883 }, 2884 "id": 31, 2885 "options": { 2886 "legend": { 2887 "calcs": [], 2888 "displayMode": "list", 2889 "placement": "bottom", 2890 "showLegend": true 2891 }, 2892 "tooltip": { 2893 "mode": "multi", 2894 "sort": "none" 2895 } 2896 }, 2897 "targets": [ 2898 { 2899 "datasource": { 2900 "type": "prometheus", 2901 "uid": "prometheus" 2902 }, 2903 "editorMode": "code", 2904 "expr": "sum(capi_machine_info{control_plane_name=\"\"})", 2905 "legendFormat": "All", 2906 "range": true, 2907 "refId": "A" 2908 }, 2909 { 2910 "datasource": { 2911 "type": "prometheus", 2912 "uid": "prometheus" 2913 }, 2914 "editorMode": "code", 2915 "expr": "sum(avg(capi_machine_info{control_plane_name=\"\"}) by (name) * on(name) group_right () (capi_machine_status_condition{status=\"True\"} == 1)) by (type)", 2916 "hide": false, 2917 "legendFormat": "{{type}}", 2918 "range": true, 2919 "refId": "B" 2920 }, 2921 { 2922 "datasource": { 2923 "type": "prometheus", 2924 "uid": "prometheus" 2925 }, 2926 "editorMode": "code", 2927 "expr": "sum(avg(capi_machine_info{control_plane_name=\"\"}) by (name) * on(name) group_right () (capi_machine_status_condition{status=\"False\"} == 1)) by (type)", 2928 "hide": false, 2929 "legendFormat": "{{type}} (False)", 2930 "range": true, 2931 "refId": "C" 2932 } 2933 ], 2934 "title": "Worker Machine by conditions", 2935 "type": "timeseries" 2936 }, 2937 { 2938 "datasource": { 2939 "type": "prometheus", 2940 "uid": "prometheus" 2941 }, 2942 "fieldConfig": { 2943 "defaults": { 2944 "color": { 2945 "mode": "palette-classic" 2946 }, 2947 "custom": { 2948 "axisCenteredZero": false, 2949 "axisColorMode": "text", 2950 "axisLabel": "", 2951 "axisPlacement": "auto", 2952 "barAlignment": 0, 2953 "drawStyle": "line", 2954 "fillOpacity": 0, 2955 "gradientMode": "none", 2956 "hideFrom": { 2957 "legend": false, 2958 "tooltip": false, 2959 "viz": false 2960 }, 2961 "lineInterpolation": "linear", 2962 "lineWidth": 1, 2963 "pointSize": 5, 2964 "scaleDistribution": { 2965 "type": "linear" 2966 }, 2967 "showPoints": "auto", 2968 "spanNulls": false, 2969 "stacking": { 2970 "group": "A", 2971 "mode": "none" 2972 }, 2973 "thresholdsStyle": { 2974 "mode": "off" 2975 } 2976 }, 2977 "mappings": [], 2978 "thresholds": { 2979 "mode": "absolute", 2980 "steps": [ 2981 { 2982 "color": "green" 2983 }, 2984 { 2985 "color": "red", 2986 "value": 80 2987 } 2988 ] 2989 } 2990 }, 2991 "overrides": [] 2992 }, 2993 "gridPos": { 2994 "h": 8, 2995 "w": 6, 2996 "x": 6, 2997 "y": 12 2998 }, 2999 "id": 32, 3000 "options": { 3001 "legend": { 3002 "calcs": [], 3003 "displayMode": "list", 3004 "placement": "bottom", 3005 "showLegend": true 3006 }, 3007 "tooltip": { 3008 "mode": "single", 3009 "sort": "none" 3010 } 3011 }, 3012 "targets": [ 3013 { 3014 "datasource": { 3015 "type": "prometheus", 3016 "uid": "prometheus" 3017 }, 3018 "editorMode": "code", 3019 "expr": "sum (capi_machine_info{control_plane_name=\"\"}) by (version)", 3020 "legendFormat": "{{version}}", 3021 "range": true, 3022 "refId": "A" 3023 } 3024 ], 3025 "title": "Worker Machine by version", 3026 "type": "timeseries" 3027 }, 3028 { 3029 "datasource": { 3030 "type": "prometheus", 3031 "uid": "prometheus" 3032 }, 3033 "fieldConfig": { 3034 "defaults": { 3035 "color": { 3036 "mode": "palette-classic" 3037 }, 3038 "custom": { 3039 "axisCenteredZero": false, 3040 "axisColorMode": "text", 3041 "axisLabel": "", 3042 "axisPlacement": "auto", 3043 "barAlignment": 0, 3044 "drawStyle": "line", 3045 "fillOpacity": 0, 3046 "gradientMode": "none", 3047 "hideFrom": { 3048 "legend": false, 3049 "tooltip": false, 3050 "viz": false 3051 }, 3052 "lineInterpolation": "linear", 3053 "lineWidth": 1, 3054 "pointSize": 5, 3055 "scaleDistribution": { 3056 "type": "linear" 3057 }, 3058 "showPoints": "auto", 3059 "spanNulls": false, 3060 "stacking": { 3061 "group": "A", 3062 "mode": "none" 3063 }, 3064 "thresholdsStyle": { 3065 "mode": "off" 3066 } 3067 }, 3068 "mappings": [], 3069 "thresholds": { 3070 "mode": "absolute", 3071 "steps": [ 3072 { 3073 "color": "green" 3074 }, 3075 { 3076 "color": "red", 3077 "value": 80 3078 } 3079 ] 3080 } 3081 }, 3082 "overrides": [] 3083 }, 3084 "gridPos": { 3085 "h": 8, 3086 "w": 6, 3087 "x": 18, 3088 "y": 12 3089 }, 3090 "id": 33, 3091 "options": { 3092 "legend": { 3093 "calcs": [], 3094 "displayMode": "list", 3095 "placement": "bottom", 3096 "showLegend": true 3097 }, 3098 "tooltip": { 3099 "mode": "multi", 3100 "sort": "none" 3101 } 3102 }, 3103 "targets": [ 3104 { 3105 "datasource": { 3106 "type": "prometheus", 3107 "uid": "prometheus" 3108 }, 3109 "editorMode": "code", 3110 "expr": "sum(avg(capi_machine_info{control_plane_name=\"\"}) by (name) * on (name) group_right () (capi_machine_status_phase == 1)) by (phase)", 3111 "legendFormat": "{{phase}}", 3112 "range": true, 3113 "refId": "A" 3114 } 3115 ], 3116 "title": "Worker Machine by status phase", 3117 "type": "timeseries" 3118 } 3119 ], 3120 "title": "Worker Machine", 3121 "type": "row" 3122 }, 3123 { 3124 "collapsed": true, 3125 "gridPos": { 3126 "h": 1, 3127 "w": 24, 3128 "x": 0, 3129 "y": 12 3130 }, 3131 "id": 34, 3132 "panels": [ 3133 { 3134 "datasource": { 3135 "type": "prometheus", 3136 "uid": "prometheus" 3137 }, 3138 "fieldConfig": { 3139 "defaults": { 3140 "color": { 3141 "mode": "palette-classic" 3142 }, 3143 "custom": { 3144 "axisCenteredZero": false, 3145 "axisColorMode": "text", 3146 "axisLabel": "", 3147 "axisPlacement": "auto", 3148 "barAlignment": 0, 3149 "drawStyle": "line", 3150 "fillOpacity": 0, 3151 "gradientMode": "none", 3152 "hideFrom": { 3153 "legend": false, 3154 "tooltip": false, 3155 "viz": false 3156 }, 3157 "lineInterpolation": "linear", 3158 "lineWidth": 1, 3159 "pointSize": 5, 3160 "scaleDistribution": { 3161 "type": "linear" 3162 }, 3163 "showPoints": "auto", 3164 "spanNulls": false, 3165 "stacking": { 3166 "group": "A", 3167 "mode": "none" 3168 }, 3169 "thresholdsStyle": { 3170 "mode": "off" 3171 } 3172 }, 3173 "mappings": [], 3174 "thresholds": { 3175 "mode": "absolute", 3176 "steps": [ 3177 { 3178 "color": "green" 3179 }, 3180 { 3181 "color": "red", 3182 "value": 80 3183 } 3184 ] 3185 } 3186 }, 3187 "overrides": [] 3188 }, 3189 "gridPos": { 3190 "h": 8, 3191 "w": 6, 3192 "x": 0, 3193 "y": 12 3194 }, 3195 "id": 40, 3196 "options": { 3197 "legend": { 3198 "calcs": [], 3199 "displayMode": "list", 3200 "placement": "bottom", 3201 "showLegend": true 3202 }, 3203 "tooltip": { 3204 "mode": "multi", 3205 "sort": "none" 3206 } 3207 }, 3208 "targets": [ 3209 { 3210 "datasource": { 3211 "type": "prometheus", 3212 "uid": "prometheus" 3213 }, 3214 "editorMode": "code", 3215 "expr": "sum (capi_machinehealthcheck_info)", 3216 "legendFormat": "All", 3217 "range": true, 3218 "refId": "A" 3219 }, 3220 { 3221 "datasource": { 3222 "type": "prometheus", 3223 "uid": "prometheus" 3224 }, 3225 "editorMode": "code", 3226 "expr": "sum(capi_machinehealthcheck_status_condition{status=\"True\"} == 1) by (type)", 3227 "hide": false, 3228 "legendFormat": "{{type}}", 3229 "range": true, 3230 "refId": "B" 3231 }, 3232 { 3233 "datasource": { 3234 "type": "prometheus", 3235 "uid": "prometheus" 3236 }, 3237 "editorMode": "code", 3238 "expr": "sum(capi_machinehealthcheck_status_condition{status=\"False\"} == 1) by (type)", 3239 "hide": false, 3240 "legendFormat": "{{type}} (False)", 3241 "range": true, 3242 "refId": "C" 3243 } 3244 ], 3245 "title": "MachineHealthCheck by conditions", 3246 "type": "timeseries" 3247 }, 3248 { 3249 "datasource": { 3250 "type": "prometheus", 3251 "uid": "prometheus" 3252 }, 3253 "fieldConfig": { 3254 "defaults": { 3255 "color": { 3256 "mode": "palette-classic" 3257 }, 3258 "custom": { 3259 "axisCenteredZero": false, 3260 "axisColorMode": "text", 3261 "axisLabel": "", 3262 "axisPlacement": "auto", 3263 "barAlignment": 0, 3264 "drawStyle": "line", 3265 "fillOpacity": 0, 3266 "gradientMode": "none", 3267 "hideFrom": { 3268 "legend": false, 3269 "tooltip": false, 3270 "viz": false 3271 }, 3272 "lineInterpolation": "linear", 3273 "lineWidth": 1, 3274 "pointSize": 5, 3275 "scaleDistribution": { 3276 "type": "linear" 3277 }, 3278 "showPoints": "auto", 3279 "spanNulls": false, 3280 "stacking": { 3281 "group": "A", 3282 "mode": "none" 3283 }, 3284 "thresholdsStyle": { 3285 "mode": "off" 3286 } 3287 }, 3288 "mappings": [], 3289 "thresholds": { 3290 "mode": "absolute", 3291 "steps": [ 3292 { 3293 "color": "green" 3294 }, 3295 { 3296 "color": "red", 3297 "value": 80 3298 } 3299 ] 3300 } 3301 }, 3302 "overrides": [] 3303 }, 3304 "gridPos": { 3305 "h": 8, 3306 "w": 6, 3307 "x": 12, 3308 "y": 12 3309 }, 3310 "id": 41, 3311 "options": { 3312 "legend": { 3313 "calcs": [], 3314 "displayMode": "list", 3315 "placement": "bottom", 3316 "showLegend": true 3317 }, 3318 "tooltip": { 3319 "mode": "multi", 3320 "sort": "none" 3321 } 3322 }, 3323 "targets": [ 3324 { 3325 "datasource": { 3326 "type": "prometheus", 3327 "uid": "prometheus" 3328 }, 3329 "editorMode": "code", 3330 "expr": "sum (capi_machinehealthcheck_status_expected_machines)", 3331 "legendFormat": "status expected", 3332 "range": true, 3333 "refId": "A" 3334 }, 3335 { 3336 "datasource": { 3337 "type": "prometheus", 3338 "uid": "prometheus" 3339 }, 3340 "editorMode": "code", 3341 "expr": "sum (capi_machinehealthcheck_status_current_healthy)", 3342 "hide": false, 3343 "legendFormat": "status current healthy", 3344 "range": true, 3345 "refId": "B" 3346 } 3347 ], 3348 "title": "MachineHealthCheck replicas", 3349 "type": "timeseries" 3350 } 3351 ], 3352 "title": "MachineHealthCheck", 3353 "type": "row" 3354 } 3355 ], 3356 "refresh": "", 3357 "schemaVersion": 38, 3358 "style": "dark", 3359 "tags": [], 3360 "templating": { 3361 "list": [] 3362 }, 3363 "time": { 3364 "from": "now-30m", 3365 "to": "now" 3366 }, 3367 "timepicker": {}, 3368 "timezone": "", 3369 "title": "Cluster API State", 3370 "uid": "f782099f-f732-4d48-80ed-5fb7d9148d9f", 3371 "version": 1, 3372 "weekStart": "" 3373 }