k8s_dash.json (201021B)
1 { 2 "__inputs": [ 3 { 4 "name": "DS__VICTORIAMETRICS-PROD-ALL", 5 "label": "VictoriaMetrics-prod-all", 6 "description": "", 7 "type": "datasource", 8 "pluginId": "prometheus", 9 "pluginName": "Prometheus" 10 } 11 ], 12 "__elements": {}, 13 "__requires": [ 14 { 15 "type": "panel", 16 "id": "bargauge", 17 "name": "Bar gauge", 18 "version": "" 19 }, 20 { 21 "type": "grafana", 22 "id": "grafana", 23 "name": "Grafana", 24 "version": "10.4.1" 25 }, 26 { 27 "type": "datasource", 28 "id": "prometheus", 29 "name": "Prometheus", 30 "version": "1.0.0" 31 }, 32 { 33 "type": "panel", 34 "id": "stat", 35 "name": "Stat", 36 "version": "" 37 }, 38 { 39 "type": "panel", 40 "id": "table", 41 "name": "Table", 42 "version": "" 43 }, 44 { 45 "type": "panel", 46 "id": "timeseries", 47 "name": "Time series", 48 "version": "" 49 } 50 ], 51 "annotations": { 52 "list": [ 53 { 54 "$$hashKey": "object:247", 55 "builtIn": 1, 56 "datasource": { 57 "type": "datasource", 58 "uid": "grafana" 59 }, 60 "enable": true, 61 "hide": true, 62 "iconColor": "rgba(0, 211, 255, 1)", 63 "name": "Annotations & Alerts", 64 "target": { 65 "limit": 100, 66 "matchAny": false, 67 "tags": [], 68 "type": "dashboard" 69 }, 70 "type": "dashboard" 71 } 72 ] 73 }, 74 "description": "【English version】2025.01.25 Updates,kubernetesComprehensive display of resources!Includes K8S Overall Resource Overview、Microservices Resource Details、Pod Resource Details andK8SNetwork Bandwidth,Optimization metrics。https://grafana.com/orgs/starsliao/dashboards", 75 "editable": true, 76 "fiscalYearStartMonth": 0, 77 "gnetId": 15661, 78 "graphTooltip": 0, 79 "id": null, 80 "links": [ 81 { 82 "icon": "bolt", 83 "tags": [], 84 "targetBlank": true, 85 "title": "Update", 86 "tooltip": "See more dashboards", 87 "type": "link", 88 "url": "https://grafana.com/orgs/starsliao/dashboards" 89 }, 90 { 91 "$$hashKey": "object:831", 92 "icon": "question", 93 "tags": ["node_exporter"], 94 "targetBlank": true, 95 "title": "GitHub", 96 "tooltip": "View more dashboards", 97 "type": "link", 98 "url": "https://github.com/starsliao" 99 } 100 ], 101 "liveNow": false, 102 "panels": [ 103 { 104 "collapsed": false, 105 "datasource": { 106 "type": "prometheus", 107 "uid": "WAYOn0FGz" 108 }, 109 "gridPos": { 110 "h": 1, 111 "w": 24, 112 "x": 0, 113 "y": 0 114 }, 115 "id": 54, 116 "panels": [], 117 "title": "Node Resource Overview:Selected Nodes:【$Node】", 118 "type": "row" 119 }, 120 { 121 "datasource": { 122 "type": "prometheus", 123 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 124 }, 125 "fieldConfig": { 126 "defaults": { 127 "decimals": 1, 128 "mappings": [], 129 "max": 1, 130 "min": 0, 131 "thresholds": { 132 "mode": "absolute", 133 "steps": [ 134 { 135 "color": "green", 136 "value": null 137 }, 138 { 139 "color": "orange", 140 "value": 0.8 141 }, 142 { 143 "color": "red", 144 "value": 0.9 145 } 146 ] 147 }, 148 "unit": "percentunit" 149 }, 150 "overrides": [] 151 }, 152 "gridPos": { 153 "h": 4, 154 "w": 4, 155 "x": 0, 156 "y": 1 157 }, 158 "id": 44, 159 "options": { 160 "displayMode": "basic", 161 "maxVizHeight": 300, 162 "minVizHeight": 10, 163 "minVizWidth": 0, 164 "namePlacement": "auto", 165 "orientation": "vertical", 166 "reduceOptions": { 167 "calcs": ["last"], 168 "fields": "", 169 "values": false 170 }, 171 "showUnfilled": false, 172 "sizing": "auto", 173 "text": {}, 174 "valueMode": "color" 175 }, 176 "pluginVersion": "10.4.1", 177 "targets": [ 178 { 179 "datasource": { 180 "type": "prometheus", 181 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 182 }, 183 "editorMode": "code", 184 "exemplar": true, 185 "expr": "sum(container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})", 186 "format": "time_series", 187 "hide": false, 188 "instant": true, 189 "interval": "", 190 "legendFormat": "Memory Utilization", 191 "refId": "C" 192 }, 193 { 194 "datasource": { 195 "type": "prometheus", 196 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 197 }, 198 "editorMode": "code", 199 "exemplar": true, 200 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})", 201 "format": "time_series", 202 "hide": false, 203 "instant": true, 204 "interval": "", 205 "legendFormat": "Memory Request Rate", 206 "refId": "A" 207 }, 208 { 209 "datasource": { 210 "type": "prometheus", 211 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 212 }, 213 "editorMode": "code", 214 "exemplar": true, 215 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})", 216 "format": "time_series", 217 "hide": false, 218 "instant": true, 219 "interval": "", 220 "intervalFactor": 1, 221 "legendFormat": "Memory Limit Rate", 222 "refId": "B", 223 "step": 10 224 } 225 ], 226 "title": "Node Memory Ratio", 227 "type": "bargauge" 228 }, 229 { 230 "datasource": { 231 "type": "prometheus", 232 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 233 }, 234 "fieldConfig": { 235 "defaults": { 236 "decimals": 1, 237 "mappings": [], 238 "max": 1, 239 "min": 0, 240 "thresholds": { 241 "mode": "absolute", 242 "steps": [ 243 { 244 "color": "green", 245 "value": null 246 }, 247 { 248 "color": "orange", 249 "value": 0.7 250 }, 251 { 252 "color": "red", 253 "value": 0.9 254 } 255 ] 256 }, 257 "unit": "percentunit" 258 }, 259 "overrides": [] 260 }, 261 "gridPos": { 262 "h": 4, 263 "w": 4, 264 "x": 4, 265 "y": 1 266 }, 267 "id": 45, 268 "options": { 269 "displayMode": "basic", 270 "maxVizHeight": 300, 271 "minVizHeight": 10, 272 "minVizWidth": 0, 273 "namePlacement": "auto", 274 "orientation": "vertical", 275 "reduceOptions": { 276 "calcs": ["last"], 277 "fields": "", 278 "values": false 279 }, 280 "showUnfilled": false, 281 "sizing": "auto", 282 "text": {}, 283 "valueMode": "color" 284 }, 285 "pluginVersion": "10.4.1", 286 "targets": [ 287 { 288 "datasource": { 289 "type": "prometheus", 290 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 291 }, 292 "editorMode": "code", 293 "exemplar": true, 294 "expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m])) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})", 295 "format": "time_series", 296 "hide": false, 297 "instant": true, 298 "interval": "", 299 "legendFormat": "CPU Utilization Rate", 300 "refId": "C" 301 }, 302 { 303 "datasource": { 304 "type": "prometheus", 305 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 306 }, 307 "editorMode": "code", 308 "exemplar": true, 309 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})", 310 "format": "time_series", 311 "instant": true, 312 "interval": "", 313 "legendFormat": "CPU Request Rate", 314 "refId": "A" 315 }, 316 { 317 "datasource": { 318 "type": "prometheus", 319 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 320 }, 321 "editorMode": "code", 322 "exemplar": true, 323 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})", 324 "format": "time_series", 325 "instant": true, 326 "interval": "", 327 "legendFormat": "CPU Limit Rate", 328 "refId": "B" 329 } 330 ], 331 "title": "Node CPU Ratio", 332 "type": "bargauge" 333 }, 334 { 335 "datasource": { 336 "type": "prometheus", 337 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 338 }, 339 "description": "Number of cluster nodes,Nodes POD Number of,NodesPODUpper Limit", 340 "fieldConfig": { 341 "defaults": { 342 "mappings": [], 343 "max": 100, 344 "min": 1, 345 "thresholds": { 346 "mode": "absolute", 347 "steps": [ 348 { 349 "color": "green", 350 "value": null 351 }, 352 { 353 "color": "orange", 354 "value": 1000 355 }, 356 { 357 "color": "red", 358 "value": 2000 359 } 360 ] 361 }, 362 "unit": "none" 363 }, 364 "overrides": [] 365 }, 366 "gridPos": { 367 "h": 4, 368 "w": 3, 369 "x": 8, 370 "y": 1 371 }, 372 "id": 74, 373 "options": { 374 "displayMode": "basic", 375 "maxVizHeight": 300, 376 "minVizHeight": 10, 377 "minVizWidth": 0, 378 "namePlacement": "auto", 379 "orientation": "vertical", 380 "reduceOptions": { 381 "calcs": ["last"], 382 "fields": "", 383 "values": false 384 }, 385 "showUnfilled": false, 386 "sizing": "auto", 387 "text": {}, 388 "valueMode": "color" 389 }, 390 "pluginVersion": "10.4.1", 391 "targets": [ 392 { 393 "datasource": { 394 "type": "prometheus", 395 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 396 }, 397 "expr": "count(kube_node_info{origin_prometheus=~\"$origin_prometheus\"})", 398 "instant": true, 399 "interval": "", 400 "legendFormat": "Number of nodes", 401 "refId": "A" 402 }, 403 { 404 "datasource": { 405 "type": "prometheus", 406 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 407 }, 408 "expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"})", 409 "hide": false, 410 "instant": true, 411 "interval": "", 412 "legendFormat": "Pod Number of nodes", 413 "refId": "B" 414 }, 415 { 416 "datasource": { 417 "type": "prometheus", 418 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 419 }, 420 "exemplar": true, 421 "expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"pods\", unit=\"integer\",node=~\"^$Node$\"})", 422 "hide": false, 423 "instant": true, 424 "interval": "", 425 "legendFormat": "Upper limit Pod", 426 "refId": "C" 427 } 428 ], 429 "title": "Nodes with Pod", 430 "type": "bargauge" 431 }, 432 { 433 "datasource": { 434 "type": "prometheus", 435 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 436 }, 437 "fieldConfig": { 438 "defaults": { 439 "color": { 440 "mode": "palette-classic" 441 }, 442 "custom": { 443 "align": "center", 444 "cellOptions": { 445 "type": "color-text" 446 }, 447 "filterable": false, 448 "inspect": false 449 }, 450 "mappings": [], 451 "noValue": "0", 452 "thresholds": { 453 "mode": "absolute", 454 "steps": [ 455 { 456 "color": "green", 457 "value": null 458 }, 459 { 460 "color": "red", 461 "value": 80 462 } 463 ] 464 }, 465 "unit": "none" 466 }, 467 "overrides": [ 468 { 469 "matcher": { 470 "id": "byName", 471 "options": "Space" 472 }, 473 "properties": [ 474 { 475 "id": "custom.width", 476 "value": 59 477 } 478 ] 479 }, 480 { 481 "matcher": { 482 "id": "byName", 483 "options": "Pod" 484 }, 485 "properties": [ 486 { 487 "id": "custom.width", 488 "value": 21 489 } 490 ] 491 }, 492 { 493 "matcher": { 494 "id": "byName", 495 "options": "SVC" 496 }, 497 "properties": [ 498 { 499 "id": "custom.width", 500 "value": 7 501 } 502 ] 503 }, 504 { 505 "matcher": { 506 "id": "byName", 507 "options": "Microservices" 508 }, 509 "properties": [ 510 { 511 "id": "custom.width", 512 "value": 4 513 } 514 ] 515 }, 516 { 517 "matcher": { 518 "id": "byName", 519 "options": "Configuration" 520 }, 521 "properties": [ 522 { 523 "id": "custom.width", 524 "value": 16 525 } 526 ] 527 }, 528 { 529 "matcher": { 530 "id": "byName", 531 "options": "Passwords" 532 }, 533 "properties": [ 534 { 535 "id": "custom.width", 536 "value": 33 537 } 538 ] 539 } 540 ] 541 }, 542 "gridPos": { 543 "h": 8, 544 "w": 5, 545 "x": 11, 546 "y": 1 547 }, 548 "id": 51, 549 "options": { 550 "cellHeight": "sm", 551 "footer": { 552 "countRows": false, 553 "fields": "", 554 "reducer": ["sum"], 555 "show": true 556 }, 557 "showHeader": true, 558 "sortBy": [ 559 { 560 "desc": true, 561 "displayName": "Microservices" 562 } 563 ] 564 }, 565 "pluginVersion": "10.4.1", 566 "targets": [ 567 { 568 "datasource": { 569 "type": "prometheus", 570 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 571 }, 572 "editorMode": "code", 573 "expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}) by (namespace)", 574 "format": "table", 575 "instant": true, 576 "interval": "", 577 "legendFormat": "", 578 "refId": "A" 579 }, 580 { 581 "datasource": { 582 "type": "prometheus", 583 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 584 }, 585 "editorMode": "code", 586 "expr": "count(kube_service_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)", 587 "format": "table", 588 "hide": false, 589 "instant": true, 590 "interval": "", 591 "legendFormat": "", 592 "refId": "C" 593 }, 594 { 595 "datasource": { 596 "type": "prometheus", 597 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 598 }, 599 "editorMode": "code", 600 "expr": "count by (namespace)({__name__=~\"kube_deployment_metadata_generation|kube_daemonset_metadata_generation|kube_statefulset_metadata_generation\",origin_prometheus=~\"$origin_prometheus\"})", 601 "format": "table", 602 "hide": false, 603 "instant": true, 604 "interval": "", 605 "legendFormat": "__auto", 606 "refId": "D" 607 }, 608 { 609 "datasource": { 610 "type": "prometheus", 611 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 612 }, 613 "editorMode": "code", 614 "expr": "count(kube_configmap_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)", 615 "format": "table", 616 "hide": false, 617 "instant": true, 618 "interval": "", 619 "legendFormat": "configmap", 620 "refId": "B" 621 }, 622 { 623 "datasource": { 624 "type": "prometheus", 625 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 626 }, 627 "editorMode": "code", 628 "expr": "count(kube_secret_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)", 629 "format": "table", 630 "hide": false, 631 "instant": true, 632 "interval": "", 633 "legendFormat": "secret", 634 "refId": "E" 635 } 636 ], 637 "title": "Namespace Resource Statistics", 638 "transformations": [ 639 { 640 "id": "seriesToColumns", 641 "options": { 642 "byField": "namespace" 643 } 644 }, 645 { 646 "id": "organize", 647 "options": { 648 "excludeByName": { 649 "Time": true, 650 "Time 1": true, 651 "Time 2": true, 652 "Time 3": true, 653 "Time 4": true, 654 "Time 5": true 655 }, 656 "includeByName": {}, 657 "indexByName": { 658 "Time 1": 2, 659 "Time 2": 4, 660 "Time 3": 6, 661 "Value #A": 3, 662 "Value #C": 5, 663 "Value #D": 1, 664 "namespace": 0 665 }, 666 "renameByName": { 667 "Time 1": "", 668 "Time 2": "", 669 "Value #A": "Pod", 670 "Value #B": "Configuration", 671 "Value #C": "SVC", 672 "Value #D": "Microservices", 673 "Value #E": "Passwords", 674 "namespace": "Spaces" 675 } 676 } 677 } 678 ], 679 "type": "table" 680 }, 681 { 682 "datasource": { 683 "type": "prometheus", 684 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 685 }, 686 "fieldConfig": { 687 "defaults": { 688 "color": { 689 "mode": "palette-classic" 690 }, 691 "custom": { 692 "axisBorderShow": false, 693 "axisCenteredZero": false, 694 "axisColorMode": "series", 695 "axisLabel": "", 696 "axisPlacement": "auto", 697 "barAlignment": 0, 698 "drawStyle": "line", 699 "fillOpacity": 30, 700 "gradientMode": "opacity", 701 "hideFrom": { 702 "legend": false, 703 "tooltip": false, 704 "viz": false 705 }, 706 "insertNulls": false, 707 "lineInterpolation": "linear", 708 "lineStyle": { 709 "fill": "solid" 710 }, 711 "lineWidth": 2, 712 "pointSize": 4, 713 "scaleDistribution": { 714 "type": "linear" 715 }, 716 "showPoints": "never", 717 "spanNulls": false, 718 "stacking": { 719 "group": "A", 720 "mode": "none" 721 }, 722 "thresholdsStyle": { 723 "mode": "off" 724 } 725 }, 726 "links": [], 727 "mappings": [], 728 "thresholds": { 729 "mode": "absolute", 730 "steps": [ 731 { 732 "color": "green", 733 "value": null 734 }, 735 { 736 "color": "red", 737 "value": 80 738 } 739 ] 740 }, 741 "unit": "binbps" 742 }, 743 "overrides": [] 744 }, 745 "gridPos": { 746 "h": 8, 747 "w": 8, 748 "x": 16, 749 "y": 1 750 }, 751 "id": 32, 752 "options": { 753 "legend": { 754 "calcs": ["max"], 755 "displayMode": "list", 756 "placement": "bottom", 757 "showLegend": true, 758 "width": 200 759 }, 760 "tooltip": { 761 "mode": "multi", 762 "sort": "desc" 763 } 764 }, 765 "pluginVersion": "10.4.1", 766 "targets": [ 767 { 768 "datasource": { 769 "type": "prometheus", 770 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 771 }, 772 "editorMode": "code", 773 "exemplar": true, 774 "expr": "sum (irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m]))*8", 775 "format": "time_series", 776 "interval": "", 777 "intervalFactor": 1, 778 "legendFormat": "Receive", 779 "metric": "network", 780 "range": true, 781 "refId": "A", 782 "step": 10 783 }, 784 { 785 "datasource": { 786 "type": "prometheus", 787 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 788 }, 789 "editorMode": "code", 790 "exemplar": true, 791 "expr": "sum (irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m]))*8", 792 "instant": false, 793 "interval": "", 794 "intervalFactor": 1, 795 "legendFormat": "Send", 796 "metric": "network", 797 "refId": "B", 798 "step": 10 799 } 800 ], 801 "title": "$NameSpace:Network Overview(Associable nodes and namespaces)", 802 "type": "timeseries" 803 }, 804 { 805 "datasource": { 806 "type": "prometheus", 807 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 808 }, 809 "fieldConfig": { 810 "defaults": { 811 "decimals": 1, 812 "mappings": [], 813 "max": 2000000000000, 814 "min": 1, 815 "thresholds": { 816 "mode": "absolute", 817 "steps": [ 818 { 819 "color": "green", 820 "value": null 821 }, 822 { 823 "color": "orange", 824 "value": 100000000000 825 }, 826 { 827 "color": "red", 828 "value": 2000000000000 829 } 830 ] 831 }, 832 "unit": "bytes" 833 }, 834 "overrides": [] 835 }, 836 "gridPos": { 837 "h": 4, 838 "w": 4, 839 "x": 0, 840 "y": 5 841 }, 842 "id": 71, 843 "options": { 844 "displayMode": "basic", 845 "maxVizHeight": 300, 846 "minVizHeight": 10, 847 "minVizWidth": 0, 848 "namePlacement": "auto", 849 "orientation": "vertical", 850 "reduceOptions": { 851 "calcs": ["last"], 852 "fields": "", 853 "values": false 854 }, 855 "showUnfilled": false, 856 "sizing": "auto", 857 "text": {}, 858 "valueMode": "color" 859 }, 860 "pluginVersion": "10.4.1", 861 "targets": [ 862 { 863 "datasource": { 864 "type": "prometheus", 865 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 866 }, 867 "exemplar": true, 868 "expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})", 869 "instant": true, 870 "interval": "", 871 "legendFormat": "Total Memory", 872 "refId": "A" 873 }, 874 { 875 "datasource": { 876 "type": "prometheus", 877 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 878 }, 879 "exemplar": true, 880 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})", 881 "instant": true, 882 "interval": "", 883 "legendFormat": "Usage", 884 "refId": "C" 885 }, 886 { 887 "datasource": { 888 "type": "prometheus", 889 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 890 }, 891 "exemplar": true, 892 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})", 893 "instant": true, 894 "interval": "", 895 "legendFormat": "Requests", 896 "refId": "D" 897 }, 898 { 899 "datasource": { 900 "type": "prometheus", 901 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 902 }, 903 "exemplar": true, 904 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})", 905 "instant": true, 906 "interval": "", 907 "legendFormat": "Limits", 908 "refId": "B" 909 } 910 ], 911 "title": "Node Memory Information", 912 "type": "bargauge" 913 }, 914 { 915 "datasource": { 916 "type": "prometheus", 917 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 918 }, 919 "fieldConfig": { 920 "defaults": { 921 "decimals": 1, 922 "mappings": [], 923 "max": 500, 924 "min": 1, 925 "thresholds": { 926 "mode": "absolute", 927 "steps": [ 928 { 929 "color": "green", 930 "value": null 931 }, 932 { 933 "color": "#EAB839", 934 "value": 500 935 }, 936 { 937 "color": "red", 938 "value": 1000 939 } 940 ] 941 }, 942 "unit": "none" 943 }, 944 "overrides": [] 945 }, 946 "gridPos": { 947 "h": 4, 948 "w": 4, 949 "x": 4, 950 "y": 5 951 }, 952 "id": 72, 953 "options": { 954 "displayMode": "basic", 955 "maxVizHeight": 300, 956 "minVizHeight": 10, 957 "minVizWidth": 0, 958 "namePlacement": "auto", 959 "orientation": "vertical", 960 "reduceOptions": { 961 "calcs": ["last"], 962 "fields": "", 963 "values": false 964 }, 965 "showUnfilled": false, 966 "sizing": "auto", 967 "text": {}, 968 "valueMode": "color" 969 }, 970 "pluginVersion": "10.4.1", 971 "targets": [ 972 { 973 "datasource": { 974 "type": "prometheus", 975 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 976 }, 977 "exemplar": true, 978 "expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})", 979 "instant": true, 980 "interval": "", 981 "legendFormat": "Total Cores", 982 "refId": "A" 983 }, 984 { 985 "datasource": { 986 "type": "prometheus", 987 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 988 }, 989 "exemplar": true, 990 "expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"}[2m]))", 991 "instant": true, 992 "interval": "", 993 "legendFormat": "Usage", 994 "refId": "C" 995 }, 996 { 997 "datasource": { 998 "type": "prometheus", 999 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1000 }, 1001 "exemplar": true, 1002 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})", 1003 "instant": true, 1004 "interval": "", 1005 "legendFormat": "Requests", 1006 "refId": "D" 1007 }, 1008 { 1009 "datasource": { 1010 "type": "prometheus", 1011 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1012 }, 1013 "exemplar": true, 1014 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})", 1015 "instant": true, 1016 "interval": "", 1017 "legendFormat": "Limit", 1018 "refId": "B" 1019 } 1020 ], 1021 "title": "Node CPU Number of cores", 1022 "type": "bargauge" 1023 }, 1024 { 1025 "datasource": { 1026 "type": "prometheus", 1027 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1028 }, 1029 "fieldConfig": { 1030 "defaults": { 1031 "decimals": 1, 1032 "mappings": [], 1033 "max": 8000000000000, 1034 "min": 1, 1035 "thresholds": { 1036 "mode": "absolute", 1037 "steps": [ 1038 { 1039 "color": "green", 1040 "value": null 1041 }, 1042 { 1043 "color": "#EAB839", 1044 "value": 5000000000000 1045 }, 1046 { 1047 "color": "red", 1048 "value": 10000000000000 1049 } 1050 ] 1051 }, 1052 "unit": "bytes" 1053 }, 1054 "overrides": [ 1055 { 1056 "matcher": { 1057 "id": "byName", 1058 "options": "Utilization" 1059 }, 1060 "properties": [ 1061 { 1062 "id": "unit", 1063 "value": "percentunit" 1064 }, 1065 { 1066 "id": "max" 1067 }, 1068 { 1069 "id": "min", 1070 "value": 0 1071 }, 1072 { 1073 "id": "thresholds", 1074 "value": { 1075 "mode": "percentage", 1076 "steps": [ 1077 { 1078 "color": "green", 1079 "value": null 1080 }, 1081 { 1082 "color": "orange", 1083 "value": 80 1084 }, 1085 { 1086 "color": "red", 1087 "value": 90 1088 } 1089 ] 1090 } 1091 } 1092 ] 1093 }, 1094 { 1095 "matcher": { 1096 "id": "byName", 1097 "options": "Total" 1098 }, 1099 "properties": [ 1100 { 1101 "id": "decimals", 1102 "value": 0 1103 } 1104 ] 1105 } 1106 ] 1107 }, 1108 "gridPos": { 1109 "h": 4, 1110 "w": 3, 1111 "x": 8, 1112 "y": 5 1113 }, 1114 "id": 73, 1115 "options": { 1116 "displayMode": "basic", 1117 "maxVizHeight": 300, 1118 "minVizHeight": 10, 1119 "minVizWidth": 0, 1120 "namePlacement": "auto", 1121 "orientation": "vertical", 1122 "reduceOptions": { 1123 "calcs": ["last"], 1124 "fields": "", 1125 "values": false 1126 }, 1127 "showUnfilled": false, 1128 "sizing": "auto", 1129 "text": {}, 1130 "valueMode": "color" 1131 }, 1132 "pluginVersion": "10.4.1", 1133 "targets": [ 1134 { 1135 "datasource": { 1136 "type": "prometheus", 1137 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1138 }, 1139 "expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) / sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})", 1140 "instant": true, 1141 "interval": "", 1142 "legendFormat": "Utilization Rate", 1143 "refId": "C" 1144 }, 1145 { 1146 "datasource": { 1147 "type": "prometheus", 1148 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1149 }, 1150 "expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})", 1151 "instant": true, 1152 "interval": "", 1153 "legendFormat": "Usage", 1154 "refId": "A" 1155 }, 1156 { 1157 "datasource": { 1158 "type": "prometheus", 1159 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1160 }, 1161 "expr": "sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})", 1162 "instant": true, 1163 "interval": "", 1164 "legendFormat": "Total", 1165 "refId": "B" 1166 } 1167 ], 1168 "title": "Node Storage Information", 1169 "type": "bargauge" 1170 }, 1171 { 1172 "datasource": { 1173 "type": "prometheus", 1174 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1175 }, 1176 "fieldConfig": { 1177 "defaults": { 1178 "color": { 1179 "mode": "palette-classic" 1180 }, 1181 "mappings": [], 1182 "thresholds": { 1183 "mode": "absolute", 1184 "steps": [ 1185 { 1186 "color": "green", 1187 "value": null 1188 }, 1189 { 1190 "color": "red", 1191 "value": 80 1192 } 1193 ] 1194 } 1195 }, 1196 "overrides": [ 1197 { 1198 "matcher": { 1199 "id": "byRegexp", 1200 "options": "/Anomaly.*/" 1201 }, 1202 "properties": [ 1203 { 1204 "id": "color", 1205 "value": { 1206 "fixedColor": "red", 1207 "mode": "fixed" 1208 } 1209 } 1210 ] 1211 } 1212 ] 1213 }, 1214 "gridPos": { 1215 "h": 2, 1216 "w": 24, 1217 "x": 0, 1218 "y": 9 1219 }, 1220 "id": 88, 1221 "maxPerRow": 2, 1222 "options": { 1223 "colorMode": "background", 1224 "graphMode": "none", 1225 "justifyMode": "center", 1226 "orientation": "auto", 1227 "reduceOptions": { 1228 "calcs": ["last"], 1229 "fields": "", 1230 "values": false 1231 }, 1232 "showPercentChange": false, 1233 "text": {}, 1234 "textMode": "auto", 1235 "wideLayout": true 1236 }, 1237 "pluginVersion": "10.4.1", 1238 "repeat": "origin_prometheus", 1239 "repeatDirection": "v", 1240 "targets": [ 1241 { 1242 "datasource": { 1243 "type": "prometheus", 1244 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1245 }, 1246 "editorMode": "code", 1247 "exemplar": false, 1248 "expr": "count({__name__=~\"kube_deployment_metadata_generation|kube_daemonset_metadata_generation|kube_statefulset_metadata_generation\",origin_prometheus=~\"$origin_prometheus\"})", 1249 "hide": false, 1250 "instant": true, 1251 "legendFormat": "Workload", 1252 "range": false, 1253 "refId": "F" 1254 }, 1255 { 1256 "datasource": { 1257 "type": "prometheus", 1258 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1259 }, 1260 "editorMode": "code", 1261 "exemplar": false, 1262 "expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\"})", 1263 "hide": false, 1264 "instant": true, 1265 "legendFormat": "Total Pod", 1266 "range": false, 1267 "refId": "E" 1268 }, 1269 { 1270 "datasource": { 1271 "type": "prometheus", 1272 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1273 }, 1274 "editorMode": "code", 1275 "exemplar": false, 1276 "expr": "count by(key,origin_prometheus)(kube_node_spec_taint{origin_prometheus=~\"$origin_prometheus\",key=~\"node.kubernetes.io.*\"})", 1277 "format": "time_series", 1278 "hide": false, 1279 "instant": true, 1280 "legendFormat": "{{key}}", 1281 "range": false, 1282 "refId": "D" 1283 }, 1284 { 1285 "datasource": { 1286 "type": "prometheus", 1287 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1288 }, 1289 "editorMode": "code", 1290 "exemplar": false, 1291 "expr": "count by(origin_prometheus)(kube_node_info{origin_prometheus=~\"$origin_prometheus\"})", 1292 "hide": false, 1293 "instant": true, 1294 "legendFormat": "Total Nodes", 1295 "range": false, 1296 "refId": "C" 1297 }, 1298 { 1299 "datasource": { 1300 "type": "prometheus", 1301 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1302 }, 1303 "editorMode": "code", 1304 "exemplar": false, 1305 "expr": "count by(origin_prometheus)(kube_node_info{origin_prometheus=~\"$origin_prometheus\"}) - count by(origin_prometheus)(kube_node_spec_taint{origin_prometheus=~\"$origin_prometheus\",key!~\"node.kubernetes.io.*\"})", 1306 "hide": false, 1307 "instant": true, 1308 "legendFormat": "Normal Node", 1309 "range": false, 1310 "refId": "B" 1311 }, 1312 { 1313 "datasource": { 1314 "type": "prometheus", 1315 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1316 }, 1317 "editorMode": "code", 1318 "exemplar": false, 1319 "expr": "count by(key,origin_prometheus)(kube_node_spec_taint{origin_prometheus=~\"$origin_prometheus\",key!~\"node.kubernetes.io.*\"})", 1320 "hide": false, 1321 "instant": true, 1322 "legendFormat": "{{key}}", 1323 "range": false, 1324 "refId": "A" 1325 } 1326 ], 1327 "transformations": [ 1328 { 1329 "id": "renameByRegex", 1330 "options": { 1331 "regex": "(node.kubernetes.io/)(.*)", 1332 "renamePattern": "Abnormal:$2" 1333 } 1334 } 1335 ], 1336 "type": "stat" 1337 }, 1338 { 1339 "datasource": { 1340 "type": "prometheus", 1341 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1342 }, 1343 "fieldConfig": { 1344 "defaults": { 1345 "color": { 1346 "mode": "palette-classic" 1347 }, 1348 "custom": { 1349 "axisBorderShow": false, 1350 "axisCenteredZero": false, 1351 "axisColorMode": "text", 1352 "axisLabel": "", 1353 "axisPlacement": "auto", 1354 "barAlignment": 0, 1355 "drawStyle": "line", 1356 "fillOpacity": 15, 1357 "gradientMode": "opacity", 1358 "hideFrom": { 1359 "legend": false, 1360 "tooltip": false, 1361 "viz": false 1362 }, 1363 "insertNulls": false, 1364 "lineInterpolation": "linear", 1365 "lineWidth": 1, 1366 "pointSize": 5, 1367 "scaleDistribution": { 1368 "type": "linear" 1369 }, 1370 "showPoints": "never", 1371 "spanNulls": false, 1372 "stacking": { 1373 "group": "A", 1374 "mode": "none" 1375 }, 1376 "thresholdsStyle": { 1377 "mode": "off" 1378 } 1379 }, 1380 "mappings": [], 1381 "thresholds": { 1382 "mode": "absolute", 1383 "steps": [ 1384 { 1385 "color": "green", 1386 "value": null 1387 }, 1388 { 1389 "color": "red", 1390 "value": 80 1391 } 1392 ] 1393 }, 1394 "unit": "bytes" 1395 }, 1396 "overrides": [ 1397 { 1398 "matcher": { 1399 "id": "byName", 1400 "options": "Total Memory" 1401 }, 1402 "properties": [ 1403 { 1404 "id": "color", 1405 "value": { 1406 "fixedColor": "red", 1407 "mode": "fixed" 1408 } 1409 }, 1410 { 1411 "id": "custom.lineWidth", 1412 "value": 2 1413 } 1414 ] 1415 } 1416 ] 1417 }, 1418 "gridPos": { 1419 "h": 5, 1420 "w": 8, 1421 "x": 0, 1422 "y": 11 1423 }, 1424 "id": 79, 1425 "options": { 1426 "legend": { 1427 "calcs": [], 1428 "displayMode": "list", 1429 "placement": "bottom", 1430 "showLegend": false 1431 }, 1432 "tooltip": { 1433 "mode": "multi", 1434 "sort": "desc" 1435 } 1436 }, 1437 "pluginVersion": "10.4.1", 1438 "targets": [ 1439 { 1440 "datasource": { 1441 "type": "prometheus", 1442 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1443 }, 1444 "editorMode": "code", 1445 "exemplar": true, 1446 "expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})", 1447 "instant": false, 1448 "interval": "", 1449 "legendFormat": "Total Memory", 1450 "refId": "A" 1451 }, 1452 { 1453 "datasource": { 1454 "type": "prometheus", 1455 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1456 }, 1457 "exemplar": true, 1458 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})", 1459 "instant": false, 1460 "interval": "", 1461 "legendFormat": "Usage", 1462 "refId": "C" 1463 }, 1464 { 1465 "datasource": { 1466 "type": "prometheus", 1467 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1468 }, 1469 "exemplar": true, 1470 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})", 1471 "hide": true, 1472 "instant": false, 1473 "interval": "", 1474 "legendFormat": "Requests", 1475 "refId": "D" 1476 }, 1477 { 1478 "datasource": { 1479 "type": "prometheus", 1480 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1481 }, 1482 "exemplar": true, 1483 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})", 1484 "hide": true, 1485 "instant": false, 1486 "interval": "", 1487 "legendFormat": "Limit", 1488 "refId": "B" 1489 } 1490 ], 1491 "title": "Memory Usage【$Node】", 1492 "type": "timeseries" 1493 }, 1494 { 1495 "datasource": { 1496 "type": "prometheus", 1497 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1498 }, 1499 "fieldConfig": { 1500 "defaults": { 1501 "color": { 1502 "mode": "palette-classic" 1503 }, 1504 "custom": { 1505 "axisBorderShow": false, 1506 "axisCenteredZero": false, 1507 "axisColorMode": "text", 1508 "axisLabel": "", 1509 "axisPlacement": "auto", 1510 "barAlignment": 0, 1511 "drawStyle": "line", 1512 "fillOpacity": 15, 1513 "gradientMode": "opacity", 1514 "hideFrom": { 1515 "legend": false, 1516 "tooltip": false, 1517 "viz": false 1518 }, 1519 "insertNulls": false, 1520 "lineInterpolation": "linear", 1521 "lineWidth": 1, 1522 "pointSize": 5, 1523 "scaleDistribution": { 1524 "type": "linear" 1525 }, 1526 "showPoints": "never", 1527 "spanNulls": false, 1528 "stacking": { 1529 "group": "A", 1530 "mode": "none" 1531 }, 1532 "thresholdsStyle": { 1533 "mode": "off" 1534 } 1535 }, 1536 "mappings": [], 1537 "thresholds": { 1538 "mode": "absolute", 1539 "steps": [ 1540 { 1541 "color": "green", 1542 "value": null 1543 }, 1544 { 1545 "color": "red", 1546 "value": 80 1547 } 1548 ] 1549 }, 1550 "unit": "none" 1551 }, 1552 "overrides": [ 1553 { 1554 "matcher": { 1555 "id": "byName", 1556 "options": "Total Cores" 1557 }, 1558 "properties": [ 1559 { 1560 "id": "color", 1561 "value": { 1562 "fixedColor": "red", 1563 "mode": "fixed" 1564 } 1565 }, 1566 { 1567 "id": "custom.lineWidth", 1568 "value": 2 1569 } 1570 ] 1571 } 1572 ] 1573 }, 1574 "gridPos": { 1575 "h": 5, 1576 "w": 8, 1577 "x": 8, 1578 "y": 11 1579 }, 1580 "id": 80, 1581 "options": { 1582 "legend": { 1583 "calcs": [], 1584 "displayMode": "list", 1585 "placement": "bottom", 1586 "showLegend": false 1587 }, 1588 "tooltip": { 1589 "mode": "multi", 1590 "sort": "desc" 1591 } 1592 }, 1593 "pluginVersion": "10.4.1", 1594 "targets": [ 1595 { 1596 "datasource": { 1597 "type": "prometheus", 1598 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1599 }, 1600 "editorMode": "code", 1601 "exemplar": true, 1602 "expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})", 1603 "instant": false, 1604 "interval": "", 1605 "legendFormat": "Total Cores", 1606 "refId": "A" 1607 }, 1608 { 1609 "datasource": { 1610 "type": "prometheus", 1611 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1612 }, 1613 "exemplar": true, 1614 "expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"}[2m]))", 1615 "instant": false, 1616 "interval": "", 1617 "legendFormat": "Usage", 1618 "refId": "C" 1619 }, 1620 { 1621 "datasource": { 1622 "type": "prometheus", 1623 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1624 }, 1625 "exemplar": true, 1626 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})", 1627 "hide": true, 1628 "instant": false, 1629 "interval": "", 1630 "legendFormat": "Requests", 1631 "refId": "D" 1632 }, 1633 { 1634 "datasource": { 1635 "type": "prometheus", 1636 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1637 }, 1638 "exemplar": true, 1639 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})", 1640 "hide": true, 1641 "instant": true, 1642 "interval": "", 1643 "legendFormat": "Limit", 1644 "refId": "B" 1645 } 1646 ], 1647 "title": "CPU Used Cores【$Node】", 1648 "type": "timeseries" 1649 }, 1650 { 1651 "datasource": { 1652 "type": "prometheus", 1653 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1654 }, 1655 "description": "Number of Cluster Nodes,Nodes POD Number of,Nodes POD Upper Limit", 1656 "fieldConfig": { 1657 "defaults": { 1658 "color": { 1659 "mode": "palette-classic" 1660 }, 1661 "custom": { 1662 "axisBorderShow": false, 1663 "axisCenteredZero": false, 1664 "axisColorMode": "series", 1665 "axisLabel": "", 1666 "axisPlacement": "auto", 1667 "barAlignment": 0, 1668 "drawStyle": "line", 1669 "fillOpacity": 15, 1670 "gradientMode": "opacity", 1671 "hideFrom": { 1672 "legend": false, 1673 "tooltip": false, 1674 "viz": false 1675 }, 1676 "insertNulls": false, 1677 "lineInterpolation": "linear", 1678 "lineWidth": 1, 1679 "pointSize": 5, 1680 "scaleDistribution": { 1681 "type": "linear" 1682 }, 1683 "showPoints": "never", 1684 "spanNulls": false, 1685 "stacking": { 1686 "group": "A", 1687 "mode": "none" 1688 }, 1689 "thresholdsStyle": { 1690 "mode": "off" 1691 } 1692 }, 1693 "mappings": [], 1694 "thresholds": { 1695 "mode": "absolute", 1696 "steps": [ 1697 { 1698 "color": "green", 1699 "value": null 1700 }, 1701 { 1702 "color": "red", 1703 "value": 80 1704 } 1705 ] 1706 }, 1707 "unit": "none" 1708 }, 1709 "overrides": [ 1710 { 1711 "matcher": { 1712 "id": "byName", 1713 "options": "Upper Limit Pod" 1714 }, 1715 "properties": [ 1716 { 1717 "id": "color", 1718 "value": { 1719 "fixedColor": "red", 1720 "mode": "fixed" 1721 } 1722 }, 1723 { 1724 "id": "custom.lineWidth", 1725 "value": 2 1726 } 1727 ] 1728 }, 1729 { 1730 "matcher": { 1731 "id": "byName", 1732 "options": "Number of nodes" 1733 }, 1734 "properties": [ 1735 { 1736 "id": "custom.axisPlacement", 1737 "value": "right" 1738 }, 1739 { 1740 "id": "custom.drawStyle", 1741 "value": "points" 1742 }, 1743 { 1744 "id": "color", 1745 "value": { 1746 "fixedColor": "blue", 1747 "mode": "fixed" 1748 } 1749 }, 1750 { 1751 "id": "custom.pointSize", 1752 "value": 3 1753 } 1754 ] 1755 } 1756 ] 1757 }, 1758 "gridPos": { 1759 "h": 5, 1760 "w": 8, 1761 "x": 16, 1762 "y": 11 1763 }, 1764 "id": 81, 1765 "options": { 1766 "legend": { 1767 "calcs": [], 1768 "displayMode": "list", 1769 "placement": "bottom", 1770 "showLegend": true 1771 }, 1772 "tooltip": { 1773 "mode": "multi", 1774 "sort": "desc" 1775 } 1776 }, 1777 "pluginVersion": "10.4.1", 1778 "targets": [ 1779 { 1780 "datasource": { 1781 "type": "prometheus", 1782 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1783 }, 1784 "exemplar": true, 1785 "expr": "count(kube_node_info{origin_prometheus=~\"$origin_prometheus\"})", 1786 "hide": false, 1787 "instant": false, 1788 "interval": "", 1789 "legendFormat": "Number of nodes", 1790 "refId": "A" 1791 }, 1792 { 1793 "datasource": { 1794 "type": "prometheus", 1795 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1796 }, 1797 "editorMode": "code", 1798 "exemplar": true, 1799 "expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"})", 1800 "hide": false, 1801 "instant": false, 1802 "interval": "", 1803 "legendFormat": "Pod Number", 1804 "refId": "B" 1805 }, 1806 { 1807 "datasource": { 1808 "type": "prometheus", 1809 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1810 }, 1811 "exemplar": true, 1812 "expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"pods\", unit=\"integer\",node=~\"^$Node$\"})", 1813 "hide": false, 1814 "instant": false, 1815 "interval": "", 1816 "legendFormat": "Upper Limit Pod", 1817 "refId": "C" 1818 } 1819 ], 1820 "title": "Pod Number and nodes【$Node】", 1821 "type": "timeseries" 1822 }, 1823 { 1824 "datasource": { 1825 "type": "prometheus", 1826 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1827 }, 1828 "fieldConfig": { 1829 "defaults": { 1830 "color": { 1831 "mode": "palette-classic" 1832 }, 1833 "custom": { 1834 "axisBorderShow": false, 1835 "axisCenteredZero": false, 1836 "axisColorMode": "text", 1837 "axisLabel": "", 1838 "axisPlacement": "auto", 1839 "barAlignment": 0, 1840 "drawStyle": "line", 1841 "fillOpacity": 0, 1842 "gradientMode": "none", 1843 "hideFrom": { 1844 "legend": false, 1845 "tooltip": false, 1846 "viz": false 1847 }, 1848 "insertNulls": false, 1849 "lineInterpolation": "linear", 1850 "lineWidth": 1, 1851 "pointSize": 5, 1852 "scaleDistribution": { 1853 "type": "linear" 1854 }, 1855 "showPoints": "never", 1856 "spanNulls": false, 1857 "stacking": { 1858 "group": "A", 1859 "mode": "none" 1860 }, 1861 "thresholdsStyle": { 1862 "mode": "off" 1863 } 1864 }, 1865 "mappings": [], 1866 "thresholds": { 1867 "mode": "absolute", 1868 "steps": [ 1869 { 1870 "color": "green", 1871 "value": null 1872 }, 1873 { 1874 "color": "red", 1875 "value": 80 1876 } 1877 ] 1878 }, 1879 "unit": "percent" 1880 }, 1881 "overrides": [ 1882 { 1883 "matcher": { 1884 "id": "byRegexp", 1885 "options": "/Total number of cores.*/" 1886 }, 1887 "properties": [ 1888 { 1889 "id": "color", 1890 "value": { 1891 "fixedColor": "#C4162A", 1892 "mode": "fixed" 1893 } 1894 } 1895 ] 1896 } 1897 ] 1898 }, 1899 "gridPos": { 1900 "h": 6, 1901 "w": 8, 1902 "x": 0, 1903 "y": 16 1904 }, 1905 "id": 75, 1906 "options": { 1907 "legend": { 1908 "calcs": ["mean", "lastNotNull", "max"], 1909 "displayMode": "table", 1910 "placement": "bottom", 1911 "showLegend": false 1912 }, 1913 "tooltip": { 1914 "mode": "multi", 1915 "sort": "desc" 1916 } 1917 }, 1918 "pluginVersion": "10.4.1", 1919 "targets": [ 1920 { 1921 "datasource": { 1922 "type": "prometheus", 1923 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1924 }, 1925 "exemplar": true, 1926 "expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m]))by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)*100", 1927 "format": "time_series", 1928 "hide": false, 1929 "instant": false, 1930 "interval": "", 1931 "legendFormat": "{{node}}", 1932 "refId": "I" 1933 } 1934 ], 1935 "title": "$Node:Nodes CPU Breakdown", 1936 "type": "timeseries" 1937 }, 1938 { 1939 "datasource": { 1940 "type": "prometheus", 1941 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 1942 }, 1943 "fieldConfig": { 1944 "defaults": { 1945 "color": { 1946 "mode": "palette-classic" 1947 }, 1948 "custom": { 1949 "axisBorderShow": false, 1950 "axisCenteredZero": false, 1951 "axisColorMode": "text", 1952 "axisLabel": "", 1953 "axisPlacement": "auto", 1954 "barAlignment": 0, 1955 "drawStyle": "line", 1956 "fillOpacity": 0, 1957 "gradientMode": "none", 1958 "hideFrom": { 1959 "legend": false, 1960 "tooltip": false, 1961 "viz": false 1962 }, 1963 "insertNulls": false, 1964 "lineInterpolation": "linear", 1965 "lineWidth": 1, 1966 "pointSize": 5, 1967 "scaleDistribution": { 1968 "type": "linear" 1969 }, 1970 "showPoints": "never", 1971 "spanNulls": false, 1972 "stacking": { 1973 "group": "A", 1974 "mode": "none" 1975 }, 1976 "thresholdsStyle": { 1977 "mode": "off" 1978 } 1979 }, 1980 "mappings": [], 1981 "thresholds": { 1982 "mode": "absolute", 1983 "steps": [ 1984 { 1985 "color": "green", 1986 "value": null 1987 }, 1988 { 1989 "color": "red", 1990 "value": 80 1991 } 1992 ] 1993 }, 1994 "unit": "percent" 1995 }, 1996 "overrides": [] 1997 }, 1998 "gridPos": { 1999 "h": 6, 2000 "w": 8, 2001 "x": 8, 2002 "y": 16 2003 }, 2004 "id": 76, 2005 "options": { 2006 "legend": { 2007 "calcs": ["mean", "lastNotNull", "max"], 2008 "displayMode": "table", 2009 "placement": "bottom", 2010 "showLegend": false 2011 }, 2012 "tooltip": { 2013 "mode": "multi", 2014 "sort": "desc" 2015 } 2016 }, 2017 "pluginVersion": "10.4.1", 2018 "targets": [ 2019 { 2020 "datasource": { 2021 "type": "prometheus", 2022 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2023 }, 2024 "exemplar": true, 2025 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)*100", 2026 "format": "time_series", 2027 "hide": false, 2028 "instant": false, 2029 "interval": "", 2030 "legendFormat": "{{node}}", 2031 "refId": "I" 2032 } 2033 ], 2034 "title": "$Node:Node Memory Breakdown", 2035 "type": "timeseries" 2036 }, 2037 { 2038 "datasource": { 2039 "type": "prometheus", 2040 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2041 }, 2042 "fieldConfig": { 2043 "defaults": { 2044 "color": { 2045 "mode": "palette-classic" 2046 }, 2047 "custom": { 2048 "axisBorderShow": false, 2049 "axisCenteredZero": false, 2050 "axisColorMode": "series", 2051 "axisLabel": "←Inflow/Outflow→", 2052 "axisPlacement": "auto", 2053 "barAlignment": 0, 2054 "drawStyle": "line", 2055 "fillOpacity": 0, 2056 "gradientMode": "none", 2057 "hideFrom": { 2058 "legend": false, 2059 "tooltip": false, 2060 "viz": false 2061 }, 2062 "insertNulls": false, 2063 "lineInterpolation": "linear", 2064 "lineWidth": 1, 2065 "pointSize": 5, 2066 "scaleDistribution": { 2067 "type": "linear" 2068 }, 2069 "showPoints": "never", 2070 "spanNulls": false, 2071 "stacking": { 2072 "group": "A", 2073 "mode": "none" 2074 }, 2075 "thresholdsStyle": { 2076 "mode": "off" 2077 } 2078 }, 2079 "links": [], 2080 "mappings": [], 2081 "thresholds": { 2082 "mode": "absolute", 2083 "steps": [ 2084 { 2085 "color": "green", 2086 "value": null 2087 }, 2088 { 2089 "color": "red", 2090 "value": 80 2091 } 2092 ] 2093 }, 2094 "unit": "binbps" 2095 }, 2096 "overrides": [ 2097 { 2098 "matcher": { 2099 "id": "byRegexp", 2100 "options": "/Inflow.*/" 2101 }, 2102 "properties": [ 2103 { 2104 "id": "custom.transform", 2105 "value": "negative-Y" 2106 } 2107 ] 2108 } 2109 ] 2110 }, 2111 "gridPos": { 2112 "h": 6, 2113 "w": 8, 2114 "x": 16, 2115 "y": 16 2116 }, 2117 "id": 78, 2118 "options": { 2119 "legend": { 2120 "calcs": ["mean", "lastNotNull", "max"], 2121 "displayMode": "table", 2122 "placement": "bottom", 2123 "showLegend": false 2124 }, 2125 "tooltip": { 2126 "mode": "multi", 2127 "sort": "desc" 2128 } 2129 }, 2130 "pluginVersion": "10.4.1", 2131 "targets": [ 2132 { 2133 "datasource": { 2134 "type": "prometheus", 2135 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2136 }, 2137 "exemplar": true, 2138 "expr": "sum (irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}[2m]))by (node) *8", 2139 "format": "time_series", 2140 "interval": "", 2141 "intervalFactor": 1, 2142 "legendFormat": "Inflow:{{node}}", 2143 "metric": "network", 2144 "refId": "A", 2145 "step": 10 2146 }, 2147 { 2148 "datasource": { 2149 "type": "prometheus", 2150 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2151 }, 2152 "exemplar": true, 2153 "expr": "sum (irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}[2m]))by (node) *8", 2154 "instant": false, 2155 "interval": "", 2156 "intervalFactor": 1, 2157 "legendFormat": "Outflows:{{node}}", 2158 "metric": "network", 2159 "refId": "B", 2160 "step": 10 2161 } 2162 ], 2163 "title": "$Node:Node Network Overview", 2164 "type": "timeseries" 2165 }, 2166 { 2167 "datasource": { 2168 "type": "prometheus", 2169 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2170 }, 2171 "fieldConfig": { 2172 "defaults": { 2173 "color": { 2174 "mode": "thresholds" 2175 }, 2176 "custom": { 2177 "align": "center", 2178 "cellOptions": { 2179 "type": "auto" 2180 }, 2181 "filterable": false, 2182 "inspect": false 2183 }, 2184 "mappings": [], 2185 "max": 1, 2186 "min": 0, 2187 "thresholds": { 2188 "mode": "absolute", 2189 "steps": [ 2190 { 2191 "color": "green" 2192 }, 2193 { 2194 "color": "red", 2195 "value": 80 2196 } 2197 ] 2198 } 2199 }, 2200 "overrides": [ 2201 { 2202 "matcher": { 2203 "id": "byName", 2204 "options": "CPU Limitations" 2205 }, 2206 "properties": [ 2207 { 2208 "id": "custom.width", 2209 "value": 76 2210 } 2211 ] 2212 }, 2213 { 2214 "matcher": { 2215 "id": "byName", 2216 "options": "Memory Usage" 2217 }, 2218 "properties": [ 2219 { 2220 "id": "custom.width", 2221 "value": 71 2222 } 2223 ] 2224 }, 2225 { 2226 "matcher": { 2227 "id": "byName", 2228 "options": "Memory Limits" 2229 }, 2230 "properties": [ 2231 { 2232 "id": "custom.width", 2233 "value": 74 2234 } 2235 ] 2236 }, 2237 { 2238 "matcher": { 2239 "id": "byName", 2240 "options": "Disk Usage" 2241 }, 2242 "properties": [ 2243 { 2244 "id": "custom.width", 2245 "value": 74 2246 } 2247 ] 2248 }, 2249 { 2250 "matcher": { 2251 "id": "byRegexp", 2252 "options": ".*%" 2253 }, 2254 "properties": [ 2255 { 2256 "id": "custom.cellOptions", 2257 "value": { 2258 "mode": "gradient", 2259 "type": "color-background" 2260 } 2261 }, 2262 { 2263 "id": "color", 2264 "value": { 2265 "mode": "continuous-GrYlRd" 2266 } 2267 }, 2268 { 2269 "id": "custom.width", 2270 "value": 85 2271 }, 2272 { 2273 "id": "unit", 2274 "value": "percentunit" 2275 }, 2276 { 2277 "id": "decimals", 2278 "value": 0 2279 } 2280 ] 2281 }, 2282 { 2283 "matcher": { 2284 "id": "byRegexp", 2285 "options": "(Memory Usage|Total Memory|Memory Request|Memory Limit|Disk Usage|Disk Total)" 2286 }, 2287 "properties": [ 2288 { 2289 "id": "unit", 2290 "value": "bytes" 2291 } 2292 ] 2293 }, 2294 { 2295 "matcher": { 2296 "id": "byName", 2297 "options": "Nodes" 2298 }, 2299 "properties": [ 2300 { 2301 "id": "custom.width", 2302 "value": 96 2303 } 2304 ] 2305 }, 2306 { 2307 "matcher": { 2308 "id": "byName", 2309 "options": "Memory Requests" 2310 }, 2311 "properties": [ 2312 { 2313 "id": "custom.width", 2314 "value": 76 2315 } 2316 ] 2317 }, 2318 { 2319 "matcher": { 2320 "id": "byName", 2321 "options": "CPU Requests" 2322 }, 2323 "properties": [ 2324 { 2325 "id": "custom.width", 2326 "value": 75 2327 } 2328 ] 2329 }, 2330 { 2331 "matcher": { 2332 "id": "byRegexp", 2333 "options": "(CPUTotal|MemoryTotal|DiskTotal|PodLimit)" 2334 }, 2335 "properties": [ 2336 { 2337 "id": "custom.cellOptions", 2338 "value": { 2339 "mode": "gradient", 2340 "type": "color-background" 2341 } 2342 }, 2343 { 2344 "id": "thresholds", 2345 "value": { 2346 "mode": "absolute", 2347 "steps": [ 2348 { 2349 "color": "blue" 2350 } 2351 ] 2352 } 2353 } 2354 ] 2355 }, 2356 { 2357 "matcher": { 2358 "id": "byName", 2359 "options": "PodCap" 2360 }, 2361 "properties": [ 2362 { 2363 "id": "custom.width", 2364 "value": 66 2365 } 2366 ] 2367 }, 2368 { 2369 "matcher": { 2370 "id": "byRegexp", 2371 "options": "CPU Core Usage$|Memory Usage$|Disk Usage$|Pod Number of" 2372 }, 2373 "properties": [ 2374 { 2375 "id": "custom.cellOptions", 2376 "value": { 2377 "type": "color-text" 2378 } 2379 }, 2380 { 2381 "id": "color", 2382 "value": { 2383 "fixedColor": "orange", 2384 "mode": "fixed" 2385 } 2386 } 2387 ] 2388 }, 2389 { 2390 "matcher": { 2391 "id": "byRegexp", 2392 "options": "/.*Total/" 2393 }, 2394 "properties": [ 2395 { 2396 "id": "custom.cellOptions", 2397 "value": { 2398 "mode": "gradient", 2399 "type": "color-background" 2400 } 2401 }, 2402 { 2403 "id": "custom.cellOptions", 2404 "value": { 2405 "mode": "gradient", 2406 "type": "color-background" 2407 } 2408 }, 2409 { 2410 "id": "color", 2411 "value": { 2412 "fixedColor": "blue", 2413 "mode": "fixed" 2414 } 2415 }, 2416 { 2417 "id": "decimals", 2418 "value": 0 2419 } 2420 ] 2421 }, 2422 { 2423 "matcher": { 2424 "id": "byName", 2425 "options": "Pod Number of" 2426 }, 2427 "properties": [ 2428 { 2429 "id": "custom.width", 2430 "value": 58 2431 } 2432 ] 2433 }, 2434 { 2435 "matcher": { 2436 "id": "byName", 2437 "options": "CPUTotal Cores" 2438 }, 2439 "properties": [ 2440 { 2441 "id": "custom.width", 2442 "value": 69 2443 } 2444 ] 2445 }, 2446 { 2447 "matcher": { 2448 "id": "byName", 2449 "options": "Total Memory" 2450 }, 2451 "properties": [ 2452 { 2453 "id": "custom.width", 2454 "value": 75 2455 } 2456 ] 2457 }, 2458 { 2459 "matcher": { 2460 "id": "byName", 2461 "options": "Total Disk" 2462 }, 2463 "properties": [ 2464 { 2465 "id": "custom.width", 2466 "value": 74 2467 } 2468 ] 2469 }, 2470 { 2471 "matcher": { 2472 "id": "byName", 2473 "options": "CPU Core Usage" 2474 }, 2475 "properties": [ 2476 { 2477 "id": "custom.width", 2478 "value": 74 2479 } 2480 ] 2481 }, 2482 { 2483 "matcher": { 2484 "id": "byName", 2485 "options": "Memory Usage%" 2486 }, 2487 "properties": [ 2488 { 2489 "id": "custom.width", 2490 "value": 102 2491 } 2492 ] 2493 } 2494 ] 2495 }, 2496 "gridPos": { 2497 "h": 11, 2498 "w": 24, 2499 "x": 0, 2500 "y": 22 2501 }, 2502 "id": 52, 2503 "options": { 2504 "cellHeight": "sm", 2505 "footer": { 2506 "countRows": false, 2507 "enablePagination": true, 2508 "fields": "", 2509 "reducer": ["sum"], 2510 "show": false 2511 }, 2512 "showHeader": true, 2513 "sortBy": [ 2514 { 2515 "desc": true, 2516 "displayName": "Memory Usage%" 2517 } 2518 ] 2519 }, 2520 "pluginVersion": "10.4.1", 2521 "targets": [ 2522 { 2523 "datasource": { 2524 "type": "prometheus", 2525 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2526 }, 2527 "exemplar": false, 2528 "expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"}) by (node)", 2529 "format": "table", 2530 "hide": false, 2531 "instant": true, 2532 "interval": "", 2533 "legendFormat": "pod Number", 2534 "refId": "A" 2535 }, 2536 { 2537 "datasource": { 2538 "type": "prometheus", 2539 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2540 }, 2541 "exemplar": false, 2542 "expr": "kube_node_status_condition{origin_prometheus=~\"$origin_prometheus\",status=\"true\",node=~\"^$Node$\"} == 1", 2543 "format": "table", 2544 "hide": true, 2545 "instant": true, 2546 "interval": "", 2547 "legendFormat": "Status", 2548 "refId": "B" 2549 }, 2550 { 2551 "datasource": { 2552 "type": "prometheus", 2553 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2554 }, 2555 "exemplar": false, 2556 "expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m])) by (node)", 2557 "format": "table", 2558 "hide": false, 2559 "instant": true, 2560 "interval": "", 2561 "legendFormat": "", 2562 "refId": "I" 2563 }, 2564 { 2565 "datasource": { 2566 "type": "prometheus", 2567 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2568 }, 2569 "exemplar": false, 2570 "expr": "kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"} - 0", 2571 "format": "table", 2572 "hide": false, 2573 "instant": true, 2574 "interval": "", 2575 "legendFormat": "", 2576 "refId": "C" 2577 }, 2578 { 2579 "datasource": { 2580 "type": "prometheus", 2581 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2582 }, 2583 "exemplar": false, 2584 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) by (node)", 2585 "format": "table", 2586 "hide": false, 2587 "instant": true, 2588 "interval": "", 2589 "legendFormat": "", 2590 "refId": "E" 2591 }, 2592 { 2593 "datasource": { 2594 "type": "prometheus", 2595 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2596 }, 2597 "exemplar": false, 2598 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) by (node)", 2599 "format": "table", 2600 "hide": false, 2601 "instant": true, 2602 "interval": "", 2603 "legendFormat": "", 2604 "refId": "F" 2605 }, 2606 { 2607 "datasource": { 2608 "type": "prometheus", 2609 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2610 }, 2611 "exemplar": false, 2612 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}) by (node)", 2613 "format": "table", 2614 "hide": false, 2615 "instant": true, 2616 "interval": "", 2617 "legendFormat": "", 2618 "refId": "J" 2619 }, 2620 { 2621 "datasource": { 2622 "type": "prometheus", 2623 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2624 }, 2625 "exemplar": false, 2626 "expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"}) by (node) - 0", 2627 "format": "table", 2628 "hide": false, 2629 "instant": true, 2630 "interval": "", 2631 "legendFormat": "", 2632 "refId": "D" 2633 }, 2634 { 2635 "datasource": { 2636 "type": "prometheus", 2637 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2638 }, 2639 "exemplar": false, 2640 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) by (node)", 2641 "format": "table", 2642 "hide": false, 2643 "instant": true, 2644 "interval": "", 2645 "legendFormat": "", 2646 "refId": "G" 2647 }, 2648 { 2649 "datasource": { 2650 "type": "prometheus", 2651 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2652 }, 2653 "exemplar": false, 2654 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) by (node)", 2655 "format": "table", 2656 "hide": false, 2657 "instant": true, 2658 "interval": "", 2659 "legendFormat": "", 2660 "refId": "H" 2661 }, 2662 { 2663 "datasource": { 2664 "type": "prometheus", 2665 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2666 }, 2667 "exemplar": false, 2668 "expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) by (node)", 2669 "format": "table", 2670 "hide": false, 2671 "instant": true, 2672 "interval": "", 2673 "legendFormat": "", 2674 "refId": "K" 2675 }, 2676 { 2677 "datasource": { 2678 "type": "prometheus", 2679 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2680 }, 2681 "exemplar": false, 2682 "expr": "sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) by (node)", 2683 "format": "table", 2684 "hide": false, 2685 "instant": true, 2686 "interval": "", 2687 "legendFormat": "", 2688 "refId": "L" 2689 }, 2690 { 2691 "datasource": { 2692 "type": "prometheus", 2693 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2694 }, 2695 "exemplar": false, 2696 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)", 2697 "format": "table", 2698 "hide": false, 2699 "instant": true, 2700 "interval": "", 2701 "legendFormat": "Memory Usage%", 2702 "refId": "M" 2703 }, 2704 { 2705 "datasource": { 2706 "type": "prometheus", 2707 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2708 }, 2709 "exemplar": false, 2710 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)", 2711 "format": "table", 2712 "hide": false, 2713 "instant": true, 2714 "interval": "", 2715 "legendFormat": "Memory Requests%", 2716 "refId": "N" 2717 }, 2718 { 2719 "datasource": { 2720 "type": "prometheus", 2721 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2722 }, 2723 "exemplar": false, 2724 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)", 2725 "format": "table", 2726 "hide": false, 2727 "instant": true, 2728 "interval": "", 2729 "legendFormat": "Memory Limit%", 2730 "refId": "O" 2731 }, 2732 { 2733 "datasource": { 2734 "type": "prometheus", 2735 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2736 }, 2737 "exemplar": false, 2738 "expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m]))by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)", 2739 "format": "table", 2740 "hide": false, 2741 "instant": true, 2742 "interval": "", 2743 "legendFormat": "CPU Usage%", 2744 "refId": "P" 2745 }, 2746 { 2747 "datasource": { 2748 "type": "prometheus", 2749 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2750 }, 2751 "exemplar": false, 2752 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)", 2753 "format": "table", 2754 "hide": false, 2755 "instant": true, 2756 "interval": "", 2757 "legendFormat": "CPU Requests%", 2758 "refId": "Q" 2759 }, 2760 { 2761 "datasource": { 2762 "type": "prometheus", 2763 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2764 }, 2765 "exemplar": false, 2766 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)", 2767 "format": "table", 2768 "hide": false, 2769 "instant": true, 2770 "interval": "", 2771 "legendFormat": "Memory Limit%", 2772 "refId": "R" 2773 }, 2774 { 2775 "datasource": { 2776 "type": "prometheus", 2777 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2778 }, 2779 "exemplar": false, 2780 "expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})by (node) / sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})by (node)", 2781 "format": "table", 2782 "hide": false, 2783 "instant": true, 2784 "interval": "", 2785 "legendFormat": "Disk Usage%", 2786 "refId": "S" 2787 }, 2788 { 2789 "datasource": { 2790 "type": "prometheus", 2791 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2792 }, 2793 "exemplar": false, 2794 "expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"pods\", unit=\"integer\",node=~\"^$Node$\"})by (node)", 2795 "format": "table", 2796 "hide": false, 2797 "instant": true, 2798 "interval": "", 2799 "legendFormat": "PodCaps", 2800 "refId": "T" 2801 } 2802 ], 2803 "title": "$Node:Node Information Detail", 2804 "transformations": [ 2805 { 2806 "id": "merge", 2807 "options": {} 2808 }, 2809 { 2810 "id": "organize", 2811 "options": { 2812 "excludeByName": { 2813 "Time": true, 2814 "Time 1": true, 2815 "Time 10": true, 2816 "Time 11": true, 2817 "Time 12": true, 2818 "Time 13": true, 2819 "Time 14": true, 2820 "Time 15": true, 2821 "Time 16": true, 2822 "Time 17": true, 2823 "Time 18": true, 2824 "Time 19": true, 2825 "Time 2": true, 2826 "Time 20": true, 2827 "Time 3": true, 2828 "Time 4": true, 2829 "Time 5": true, 2830 "Time 6": true, 2831 "Time 7": true, 2832 "Time 8": true, 2833 "Time 9": true, 2834 "Value #B": true, 2835 "Value #E": false, 2836 "Value #F": false, 2837 "__name__": true, 2838 "app_kubernetes_io_name": true, 2839 "app_kubernetes_io_name 1": true, 2840 "app_kubernetes_io_name 2": true, 2841 "app_kubernetes_io_name 3": true, 2842 "app_kubernetes_io_version": true, 2843 "app_kubernetes_io_version 1": true, 2844 "app_kubernetes_io_version 2": true, 2845 "app_kubernetes_io_version 3": true, 2846 "condition": true, 2847 "instance": true, 2848 "instance 1": true, 2849 "instance 2": true, 2850 "instance 3": true, 2851 "job": true, 2852 "job 1": true, 2853 "job 2": true, 2854 "job 3": true, 2855 "k8s_namespace": true, 2856 "k8s_namespace 1": true, 2857 "k8s_namespace 2": true, 2858 "k8s_namespace 3": true, 2859 "k8s_sname": true, 2860 "k8s_sname 1": true, 2861 "k8s_sname 2": true, 2862 "k8s_sname 3": true, 2863 "origin_prometheus": true, 2864 "origin_prometheus 1": true, 2865 "origin_prometheus 2": true, 2866 "origin_prometheus 3": true, 2867 "resource": true, 2868 "status": true, 2869 "unit": true 2870 }, 2871 "includeByName": {}, 2872 "indexByName": { 2873 "Time": 22, 2874 "Value #A": 2, 2875 "Value #C": 6, 2876 "Value #D": 8, 2877 "Value #E": 16, 2878 "Value #F": 17, 2879 "Value #G": 18, 2880 "Value #H": 19, 2881 "Value #I": 7, 2882 "Value #J": 9, 2883 "Value #K": 11, 2884 "Value #L": 10, 2885 "Value #M": 4, 2886 "Value #N": 13, 2887 "Value #O": 15, 2888 "Value #P": 3, 2889 "Value #Q": 12, 2890 "Value #R": 14, 2891 "Value #S": 5, 2892 "Value #T": 1, 2893 "instance": 23, 2894 "job": 24, 2895 "node": 0, 2896 "origin_prometheus": 25, 2897 "resource": 20, 2898 "unit": 21 2899 }, 2900 "renameByName": { 2901 "Value #A": "Pod Number of", 2902 "Value #C": "CPU Total Cores", 2903 "Value #D": "Total Memory", 2904 "Value #E": "CPU Requests", 2905 "Value #F": "CPU Limit", 2906 "Value #G": "Memory Requests", 2907 "Value #H": "Memory Limit", 2908 "Value #I": "CPU Core Usage", 2909 "Value #J": "Memory Usage", 2910 "Value #K": "Disk Usage", 2911 "Value #L": "Disk Total", 2912 "Value #M": "Memory Usage%", 2913 "Value #N": "Memory Requests%", 2914 "Value #O": "Memory Limit%", 2915 "Value #P": "CPU Usage%", 2916 "Value #Q": "CPU Requests%", 2917 "Value #R": "CPU Limit%", 2918 "Value #S": "Disk Usage%", 2919 "Value #T": "Pod Limit", 2920 "condition": "Status", 2921 "node": "Node" 2922 } 2923 } 2924 }, 2925 { 2926 "id": "filterFieldsByName", 2927 "options": {} 2928 } 2929 ], 2930 "type": "table" 2931 }, 2932 { 2933 "datasource": { 2934 "type": "prometheus", 2935 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 2936 }, 2937 "fieldConfig": { 2938 "defaults": { 2939 "color": { 2940 "mode": "palette-classic" 2941 }, 2942 "custom": { 2943 "align": "center", 2944 "cellOptions": { 2945 "type": "color-background" 2946 }, 2947 "inspect": false 2948 }, 2949 "decimals": 0, 2950 "links": [], 2951 "mappings": [ 2952 { 2953 "options": { 2954 "0": { 2955 "color": "red", 2956 "index": 0 2957 } 2958 }, 2959 "type": "value" 2960 }, 2961 { 2962 "options": { 2963 "match": "null", 2964 "result": { 2965 "color": "red", 2966 "index": 1 2967 } 2968 }, 2969 "type": "special" 2970 } 2971 ], 2972 "noValue": "0", 2973 "thresholds": { 2974 "mode": "absolute", 2975 "steps": [ 2976 { 2977 "color": "green" 2978 } 2979 ] 2980 }, 2981 "unit": "bytes" 2982 }, 2983 "overrides": [ 2984 { 2985 "matcher": { 2986 "id": "byName", 2987 "options": "Utilization" 2988 }, 2989 "properties": [ 2990 { 2991 "id": "unit", 2992 "value": "percent" 2993 }, 2994 { 2995 "id": "custom.width", 2996 "value": 54 2997 }, 2998 { 2999 "id": "color", 3000 "value": { 3001 "fixedColor": "purple", 3002 "mode": "fixed" 3003 } 3004 }, 3005 { 3006 "id": "decimals" 3007 }, 3008 { 3009 "id": "mappings", 3010 "value": [ 3011 { 3012 "options": { 3013 "from": 75, 3014 "result": { 3015 "color": "semi-dark-red", 3016 "index": 0 3017 }, 3018 "to": 110 3019 }, 3020 "type": "range" 3021 } 3022 ] 3023 } 3024 ] 3025 }, 3026 { 3027 "matcher": { 3028 "id": "byName", 3029 "options": "Mounts Pod Number of" 3030 }, 3031 "properties": [ 3032 { 3033 "id": "unit", 3034 "value": "none" 3035 }, 3036 { 3037 "id": "custom.width", 3038 "value": 59 3039 } 3040 ] 3041 }, 3042 { 3043 "matcher": { 3044 "id": "byName", 3045 "options": "Namespace" 3046 }, 3047 "properties": [ 3048 { 3049 "id": "custom.width", 3050 "value": 58 3051 } 3052 ] 3053 }, 3054 { 3055 "matcher": { 3056 "id": "byName", 3057 "options": "PVC" 3058 }, 3059 "properties": [ 3060 { 3061 "id": "custom.width", 3062 "value": 94 3063 } 3064 ] 3065 }, 3066 { 3067 "matcher": { 3068 "id": "byName", 3069 "options": "Usage" 3070 }, 3071 "properties": [ 3072 { 3073 "id": "custom.width", 3074 "value": 57 3075 } 3076 ] 3077 }, 3078 { 3079 "matcher": { 3080 "id": "byName", 3081 "options": "Total" 3082 }, 3083 "properties": [ 3084 { 3085 "id": "custom.width", 3086 "value": 54 3087 } 3088 ] 3089 } 3090 ] 3091 }, 3092 "gridPos": { 3093 "h": 8, 3094 "w": 6, 3095 "x": 0, 3096 "y": 33 3097 }, 3098 "id": 92, 3099 "options": { 3100 "cellHeight": "sm", 3101 "footer": { 3102 "countRows": false, 3103 "fields": "", 3104 "reducer": ["sum"], 3105 "show": false 3106 }, 3107 "showHeader": true, 3108 "sortBy": [ 3109 { 3110 "desc": true, 3111 "displayName": "Usage Rate" 3112 } 3113 ] 3114 }, 3115 "pluginVersion": "10.4.1", 3116 "targets": [ 3117 { 3118 "datasource": { 3119 "type": "prometheus", 3120 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3121 }, 3122 "editorMode": "code", 3123 "exemplar": false, 3124 "expr": "max by (namespace,persistentvolumeclaim) (kubelet_volume_stats_used_bytes{origin_prometheus=~\"$origin_prometheus\"})", 3125 "format": "table", 3126 "instant": true, 3127 "interval": "", 3128 "intervalFactor": 1, 3129 "legendFormat": "{{namespace}}:{{ persistentvolumeclaim }}", 3130 "metric": "container_memory_usage:sort_desc", 3131 "range": false, 3132 "refId": "A", 3133 "step": 10 3134 }, 3135 { 3136 "datasource": { 3137 "type": "prometheus", 3138 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3139 }, 3140 "editorMode": "code", 3141 "exemplar": false, 3142 "expr": "min by (namespace,persistentvolumeclaim) (kubelet_volume_stats_available_bytes{origin_prometheus=~\"$origin_prometheus\"}) + max by (namespace,persistentvolumeclaim) (kubelet_volume_stats_used_bytes{origin_prometheus=~\"$origin_prometheus\"})", 3143 "format": "table", 3144 "hide": false, 3145 "instant": true, 3146 "interval": "", 3147 "intervalFactor": 1, 3148 "legendFormat": "__auto", 3149 "metric": "container_memory_usage:sort_desc", 3150 "range": false, 3151 "refId": "B", 3152 "step": 10 3153 }, 3154 { 3155 "datasource": { 3156 "type": "prometheus", 3157 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3158 }, 3159 "editorMode": "code", 3160 "exemplar": false, 3161 "expr": "max by (namespace,persistentvolumeclaim) (kubelet_volume_stats_used_bytes{origin_prometheus=~\"$origin_prometheus\"}) /(min by (namespace,persistentvolumeclaim) (kubelet_volume_stats_available_bytes{origin_prometheus=~\"$origin_prometheus\"}) + max by (namespace,persistentvolumeclaim) (kubelet_volume_stats_used_bytes{origin_prometheus=~\"$origin_prometheus\"}))*100", 3162 "format": "table", 3163 "hide": false, 3164 "instant": true, 3165 "interval": "", 3166 "intervalFactor": 1, 3167 "legendFormat": "{{namespace}}:{{ persistentvolumeclaim }}", 3168 "metric": "container_memory_usage:sort_desc", 3169 "range": false, 3170 "refId": "C", 3171 "step": 10 3172 }, 3173 { 3174 "datasource": { 3175 "type": "prometheus", 3176 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3177 }, 3178 "editorMode": "code", 3179 "exemplar": false, 3180 "expr": "count by (namespace,persistentvolumeclaim)(kube_pod_spec_volumes_persistentvolumeclaims_info{origin_prometheus=~\"$origin_prometheus\"})", 3181 "format": "table", 3182 "hide": false, 3183 "instant": true, 3184 "interval": "", 3185 "intervalFactor": 1, 3186 "legendFormat": "__auto", 3187 "metric": "container_memory_usage:sort_desc", 3188 "range": false, 3189 "refId": "D", 3190 "step": 10 3191 } 3192 ], 3193 "title": "PVC Storage Usage", 3194 "transformations": [ 3195 { 3196 "id": "merge", 3197 "options": {} 3198 }, 3199 { 3200 "id": "organize", 3201 "options": { 3202 "excludeByName": { 3203 "Time": true 3204 }, 3205 "includeByName": {}, 3206 "indexByName": {}, 3207 "renameByName": { 3208 "Value #A": "Usage", 3209 "Value #B": "Total", 3210 "Value #C": "Usage Rate", 3211 "Value #D": "Mount Pod Number", 3212 "namespace": "Namespaces", 3213 "persistentvolumeclaim": "PVC" 3214 } 3215 } 3216 } 3217 ], 3218 "type": "table" 3219 }, 3220 { 3221 "datasource": { 3222 "type": "prometheus", 3223 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3224 }, 3225 "fieldConfig": { 3226 "defaults": { 3227 "color": { 3228 "mode": "palette-classic" 3229 }, 3230 "custom": { 3231 "axisBorderShow": false, 3232 "axisCenteredZero": false, 3233 "axisColorMode": "text", 3234 "axisLabel": "", 3235 "axisPlacement": "auto", 3236 "barAlignment": 0, 3237 "drawStyle": "line", 3238 "fillOpacity": 0, 3239 "gradientMode": "none", 3240 "hideFrom": { 3241 "legend": false, 3242 "tooltip": false, 3243 "viz": false 3244 }, 3245 "insertNulls": false, 3246 "lineInterpolation": "linear", 3247 "lineWidth": 1, 3248 "pointSize": 5, 3249 "scaleDistribution": { 3250 "type": "linear" 3251 }, 3252 "showPoints": "never", 3253 "spanNulls": false, 3254 "stacking": { 3255 "group": "A", 3256 "mode": "none" 3257 }, 3258 "thresholdsStyle": { 3259 "mode": "off" 3260 } 3261 }, 3262 "links": [], 3263 "mappings": [], 3264 "thresholds": { 3265 "mode": "absolute", 3266 "steps": [ 3267 { 3268 "color": "green" 3269 }, 3270 { 3271 "color": "red", 3272 "value": 80 3273 } 3274 ] 3275 }, 3276 "unit": "none" 3277 }, 3278 "overrides": [] 3279 }, 3280 "gridPos": { 3281 "h": 8, 3282 "w": 9, 3283 "x": 6, 3284 "y": 33 3285 }, 3286 "id": 86, 3287 "options": { 3288 "legend": { 3289 "calcs": ["last", "max"], 3290 "displayMode": "table", 3291 "placement": "right", 3292 "showLegend": true, 3293 "sortBy": "Max", 3294 "sortDesc": true 3295 }, 3296 "tooltip": { 3297 "mode": "multi", 3298 "sort": "desc" 3299 } 3300 }, 3301 "pluginVersion": "10.4.1", 3302 "targets": [ 3303 { 3304 "datasource": { 3305 "type": "prometheus", 3306 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3307 }, 3308 "editorMode": "code", 3309 "exemplar": true, 3310 "expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container !=\"\",container!=\"POD\"}[2m])) by (namespace)>0.5", 3311 "hide": false, 3312 "instant": false, 3313 "interval": "", 3314 "intervalFactor": 1, 3315 "legendFormat": "{{ namespace }}", 3316 "metric": "container_cpu", 3317 "refId": "A", 3318 "step": 10 3319 } 3320 ], 3321 "title": "Namespaces CPU Usage kernel(>0.5)", 3322 "type": "timeseries" 3323 }, 3324 { 3325 "datasource": { 3326 "type": "prometheus", 3327 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3328 }, 3329 "fieldConfig": { 3330 "defaults": { 3331 "color": { 3332 "mode": "palette-classic" 3333 }, 3334 "custom": { 3335 "axisBorderShow": false, 3336 "axisCenteredZero": false, 3337 "axisColorMode": "text", 3338 "axisLabel": "", 3339 "axisPlacement": "auto", 3340 "barAlignment": 0, 3341 "drawStyle": "line", 3342 "fillOpacity": 0, 3343 "gradientMode": "none", 3344 "hideFrom": { 3345 "legend": false, 3346 "tooltip": false, 3347 "viz": false 3348 }, 3349 "insertNulls": false, 3350 "lineInterpolation": "linear", 3351 "lineWidth": 1, 3352 "pointSize": 5, 3353 "scaleDistribution": { 3354 "type": "linear" 3355 }, 3356 "showPoints": "never", 3357 "spanNulls": false, 3358 "stacking": { 3359 "group": "A", 3360 "mode": "none" 3361 }, 3362 "thresholdsStyle": { 3363 "mode": "off" 3364 } 3365 }, 3366 "decimals": 0, 3367 "links": [], 3368 "mappings": [], 3369 "thresholds": { 3370 "mode": "absolute", 3371 "steps": [ 3372 { 3373 "color": "green" 3374 }, 3375 { 3376 "color": "red", 3377 "value": 80 3378 } 3379 ] 3380 }, 3381 "unit": "bytes" 3382 }, 3383 "overrides": [] 3384 }, 3385 "gridPos": { 3386 "h": 8, 3387 "w": 9, 3388 "x": 15, 3389 "y": 33 3390 }, 3391 "id": 85, 3392 "options": { 3393 "legend": { 3394 "calcs": ["last", "max"], 3395 "displayMode": "table", 3396 "placement": "right", 3397 "showLegend": true, 3398 "sortBy": "Max", 3399 "sortDesc": true 3400 }, 3401 "tooltip": { 3402 "mode": "multi", 3403 "sort": "desc" 3404 } 3405 }, 3406 "pluginVersion": "10.4.1", 3407 "targets": [ 3408 { 3409 "datasource": { 3410 "type": "prometheus", 3411 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3412 }, 3413 "editorMode": "code", 3414 "exemplar": true, 3415 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container !=\"\",container!=\"POD\"}) by (namespace) > 1*1024*1024*1024", 3416 "interval": "", 3417 "intervalFactor": 1, 3418 "legendFormat": "{{namespace} {{ pod }}", 3419 "metric": "container_memory_usage:sort_desc", 3420 "range": true, 3421 "refId": "A", 3422 "step": 10 3423 } 3424 ], 3425 "title": "Namespaces WSS Memory Usage (>1G)", 3426 "type": "timeseries" 3427 }, 3428 { 3429 "collapsed": false, 3430 "datasource": { 3431 "type": "prometheus", 3432 "uid": "WAYOn0FGz" 3433 }, 3434 "gridPos": { 3435 "h": 1, 3436 "w": 24, 3437 "x": 0, 3438 "y": 41 3439 }, 3440 "id": 49, 3441 "panels": [], 3442 "title": "Pod Resource Overview:SelectedPod:【$Pod】", 3443 "type": "row" 3444 }, 3445 { 3446 "datasource": { 3447 "type": "prometheus", 3448 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3449 }, 3450 "fieldConfig": { 3451 "defaults": { 3452 "color": { 3453 "mode": "thresholds" 3454 }, 3455 "custom": { 3456 "align": "center", 3457 "cellOptions": { 3458 "type": "auto" 3459 }, 3460 "filterable": false, 3461 "inspect": false 3462 }, 3463 "displayName": "", 3464 "mappings": [], 3465 "max": 100, 3466 "min": 0, 3467 "thresholds": { 3468 "mode": "percentage", 3469 "steps": [ 3470 { 3471 "color": "green", 3472 "value": null 3473 }, 3474 { 3475 "color": "#EAB839", 3476 "value": 80 3477 }, 3478 { 3479 "color": "red", 3480 "value": 90 3481 } 3482 ] 3483 }, 3484 "unit": "short" 3485 }, 3486 "overrides": [ 3487 { 3488 "matcher": { 3489 "id": "byName", 3490 "options": "Namespace" 3491 }, 3492 "properties": [ 3493 { 3494 "id": "custom.width", 3495 "value": 96 3496 } 3497 ] 3498 }, 3499 { 3500 "matcher": { 3501 "id": "byName", 3502 "options": "Pod Name" 3503 }, 3504 "properties": [ 3505 { 3506 "id": "custom.width", 3507 "value": 207 3508 }, 3509 { 3510 "id": "custom.align", 3511 "value": "right" 3512 } 3513 ] 3514 }, 3515 { 3516 "matcher": { 3517 "id": "byName", 3518 "options": "Cores Used" 3519 }, 3520 "properties": [ 3521 { 3522 "id": "custom.width", 3523 "value": 71 3524 } 3525 ] 3526 }, 3527 { 3528 "matcher": { 3529 "id": "byName", 3530 "options": "Reboot" 3531 }, 3532 "properties": [ 3533 { 3534 "id": "custom.width", 3535 "value": 38 3536 }, 3537 { 3538 "id": "thresholds", 3539 "value": { 3540 "mode": "absolute", 3541 "steps": [ 3542 { 3543 "color": "green", 3544 "value": null 3545 }, 3546 { 3547 "color": "#EAB839", 3548 "value": 1 3549 }, 3550 { 3551 "color": "red", 3552 "value": 3 3553 } 3554 ] 3555 } 3556 }, 3557 { 3558 "id": "custom.cellOptions", 3559 "value": { 3560 "mode": "gradient", 3561 "type": "color-background" 3562 } 3563 }, 3564 { 3565 "id": "decimals" 3566 } 3567 ] 3568 }, 3569 { 3570 "matcher": { 3571 "id": "byRegexp", 3572 "options": ".*%" 3573 }, 3574 "properties": [ 3575 { 3576 "id": "unit", 3577 "value": "percentunit" 3578 }, 3579 { 3580 "id": "custom.cellOptions", 3581 "value": { 3582 "type": "color-background" 3583 } 3584 }, 3585 { 3586 "id": "color", 3587 "value": { 3588 "mode": "continuous-GrYlRd" 3589 } 3590 }, 3591 { 3592 "id": "decimals", 3593 "value": 1 3594 }, 3595 { 3596 "id": "custom.width", 3597 "value": 55 3598 }, 3599 { 3600 "id": "min", 3601 "value": 0 3602 }, 3603 { 3604 "id": "max", 3605 "value": 1 3606 } 3607 ] 3608 }, 3609 { 3610 "matcher": { 3611 "id": "byRegexp", 3612 "options": ".*Restrictions" 3613 }, 3614 "properties": [ 3615 { 3616 "id": "color", 3617 "value": { 3618 "fixedColor": "blue", 3619 "mode": "fixed" 3620 } 3621 }, 3622 { 3623 "id": "custom.cellOptions", 3624 "value": { 3625 "mode": "gradient", 3626 "type": "color-background" 3627 } 3628 } 3629 ] 3630 }, 3631 { 3632 "matcher": { 3633 "id": "byName", 3634 "options": "Nodes" 3635 }, 3636 "properties": [ 3637 { 3638 "id": "custom.width", 3639 "value": 100 3640 } 3641 ] 3642 }, 3643 { 3644 "matcher": { 3645 "id": "byRegexp", 3646 "options": "Cores in use$|WSS$|RSS$|Survival|Inflow|Outflow" 3647 }, 3648 "properties": [ 3649 { 3650 "id": "custom.cellOptions", 3651 "value": { 3652 "type": "color-text" 3653 } 3654 }, 3655 { 3656 "id": "color", 3657 "value": { 3658 "fixedColor": "orange", 3659 "mode": "fixed" 3660 } 3661 } 3662 ] 3663 }, 3664 { 3665 "matcher": { 3666 "id": "byName", 3667 "options": "Container Name" 3668 }, 3669 "properties": [ 3670 { 3671 "id": "custom.width", 3672 "value": 57 3673 }, 3674 { 3675 "id": "custom.align", 3676 "value": "left" 3677 } 3678 ] 3679 }, 3680 { 3681 "matcher": { 3682 "id": "byName", 3683 "options": "Survival" 3684 }, 3685 "properties": [ 3686 { 3687 "id": "unit", 3688 "value": "s" 3689 }, 3690 { 3691 "id": "custom.width", 3692 "value": 80 3693 } 3694 ] 3695 }, 3696 { 3697 "matcher": { 3698 "id": "byName", 3699 "options": "Used cores" 3700 }, 3701 "properties": [ 3702 { 3703 "id": "custom.width", 3704 "value": 62 3705 } 3706 ] 3707 }, 3708 { 3709 "matcher": { 3710 "id": "byName", 3711 "options": "CPU Limits" 3712 }, 3713 "properties": [ 3714 { 3715 "id": "custom.width", 3716 "value": 58 3717 } 3718 ] 3719 }, 3720 { 3721 "matcher": { 3722 "id": "byName", 3723 "options": "Memory Limit" 3724 }, 3725 "properties": [ 3726 { 3727 "id": "custom.width", 3728 "value": 68 3729 } 3730 ] 3731 }, 3732 { 3733 "matcher": { 3734 "id": "byName", 3735 "options": "Memory Requirements" 3736 }, 3737 "properties": [ 3738 { 3739 "id": "custom.width", 3740 "value": 88 3741 } 3742 ] 3743 }, 3744 { 3745 "matcher": { 3746 "id": "byRegexp", 3747 "options": "WSS$|RSS$|Memory Requirements$|Memory Limit$|Disk.*$" 3748 }, 3749 "properties": [ 3750 { 3751 "id": "unit", 3752 "value": "bytes" 3753 } 3754 ] 3755 }, 3756 { 3757 "matcher": { 3758 "id": "byName", 3759 "options": "WSS" 3760 }, 3761 "properties": [ 3762 { 3763 "id": "custom.width", 3764 "value": 81 3765 } 3766 ] 3767 }, 3768 { 3769 "matcher": { 3770 "id": "byName", 3771 "options": "RSS" 3772 }, 3773 "properties": [ 3774 { 3775 "id": "custom.width", 3776 "value": 74 3777 } 3778 ] 3779 }, 3780 { 3781 "matcher": { 3782 "id": "byName", 3783 "options": "CPU Requirements" 3784 }, 3785 "properties": [ 3786 { 3787 "id": "custom.width", 3788 "value": 72 3789 } 3790 ] 3791 }, 3792 { 3793 "matcher": { 3794 "id": "byName", 3795 "options": "Disk Limitations" 3796 }, 3797 "properties": [ 3798 { 3799 "id": "custom.width", 3800 "value": 83 3801 } 3802 ] 3803 }, 3804 { 3805 "matcher": { 3806 "id": "byName", 3807 "options": "Disk Usage" 3808 }, 3809 "properties": [ 3810 { 3811 "id": "custom.width", 3812 "value": 72 3813 }, 3814 { 3815 "id": "custom.cellOptions", 3816 "value": { 3817 "type": "color-background" 3818 } 3819 }, 3820 { 3821 "id": "thresholds", 3822 "value": { 3823 "mode": "absolute", 3824 "steps": [ 3825 { 3826 "color": "green", 3827 "value": null 3828 }, 3829 { 3830 "color": "orange", 3831 "value": 10737418240 3832 }, 3833 { 3834 "color": "red", 3835 "value": 16106127360 3836 } 3837 ] 3838 } 3839 } 3840 ] 3841 }, 3842 { 3843 "matcher": { 3844 "id": "byName", 3845 "options": "WSS%" 3846 }, 3847 "properties": [ 3848 { 3849 "id": "custom.width", 3850 "value": 77 3851 } 3852 ] 3853 }, 3854 { 3855 "matcher": { 3856 "id": "byRegexp", 3857 "options": "/Inflow|Streaming Out/" 3858 }, 3859 "properties": [ 3860 { 3861 "id": "unit", 3862 "value": "binbps" 3863 }, 3864 { 3865 "id": "custom.width", 3866 "value": 80 3867 } 3868 ] 3869 } 3870 ] 3871 }, 3872 "gridPos": { 3873 "h": 8, 3874 "w": 24, 3875 "x": 0, 3876 "y": 42 3877 }, 3878 "id": 47, 3879 "options": { 3880 "cellHeight": "sm", 3881 "footer": { 3882 "countRows": false, 3883 "fields": "", 3884 "reducer": ["sum"], 3885 "show": false 3886 }, 3887 "showHeader": true, 3888 "sortBy": [ 3889 { 3890 "desc": true, 3891 "displayName": "WSS%" 3892 } 3893 ] 3894 }, 3895 "pluginVersion": "10.4.1", 3896 "targets": [ 3897 { 3898 "datasource": { 3899 "type": "prometheus", 3900 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3901 }, 3902 "editorMode": "code", 3903 "exemplar": false, 3904 "expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod,node,namespace) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}/100000) by (container, pod,node,namespace)) ", 3905 "format": "table", 3906 "hide": false, 3907 "instant": true, 3908 "interval": "", 3909 "legendFormat": "", 3910 "refId": "A" 3911 }, 3912 { 3913 "datasource": { 3914 "type": "prometheus", 3915 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3916 }, 3917 "exemplar": false, 3918 "expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod,node,namespace)", 3919 "format": "table", 3920 "hide": false, 3921 "instant": true, 3922 "interval": "", 3923 "legendFormat": "CPUKernel Usage", 3924 "refId": "Q" 3925 }, 3926 { 3927 "datasource": { 3928 "type": "prometheus", 3929 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3930 }, 3931 "exemplar": false, 3932 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)", 3933 "format": "table", 3934 "hide": false, 3935 "instant": true, 3936 "interval": "", 3937 "legendFormat": "", 3938 "refId": "B" 3939 }, 3940 { 3941 "datasource": { 3942 "type": "prometheus", 3943 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3944 }, 3945 "exemplar": false, 3946 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)", 3947 "format": "table", 3948 "instant": true, 3949 "interval": "", 3950 "legendFormat": "", 3951 "refId": "C" 3952 }, 3953 { 3954 "datasource": { 3955 "type": "prometheus", 3956 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3957 }, 3958 "editorMode": "code", 3959 "exemplar": false, 3960 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)", 3961 "format": "table", 3962 "hide": false, 3963 "instant": true, 3964 "interval": "", 3965 "legendFormat": "wss%", 3966 "refId": "I" 3967 }, 3968 { 3969 "datasource": { 3970 "type": "prometheus", 3971 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3972 }, 3973 "exemplar": false, 3974 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)", 3975 "format": "table", 3976 "hide": false, 3977 "instant": true, 3978 "interval": "", 3979 "legendFormat": "wss", 3980 "refId": "D" 3981 }, 3982 { 3983 "datasource": { 3984 "type": "prometheus", 3985 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 3986 }, 3987 "editorMode": "code", 3988 "exemplar": false, 3989 "expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)", 3990 "format": "table", 3991 "hide": false, 3992 "instant": true, 3993 "interval": "", 3994 "legendFormat": "rss%", 3995 "refId": "L" 3996 }, 3997 { 3998 "datasource": { 3999 "type": "prometheus", 4000 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4001 }, 4002 "exemplar": false, 4003 "expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)", 4004 "format": "table", 4005 "hide": false, 4006 "instant": true, 4007 "interval": "", 4008 "legendFormat": "rss", 4009 "refId": "K" 4010 }, 4011 { 4012 "datasource": { 4013 "type": "prometheus", 4014 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4015 }, 4016 "editorMode": "code", 4017 "exemplar": false, 4018 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)", 4019 "format": "table", 4020 "hide": false, 4021 "instant": true, 4022 "interval": "", 4023 "legendFormat": "", 4024 "refId": "E" 4025 }, 4026 { 4027 "datasource": { 4028 "type": "prometheus", 4029 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4030 }, 4031 "exemplar": false, 4032 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)", 4033 "format": "table", 4034 "hide": false, 4035 "instant": true, 4036 "interval": "", 4037 "legendFormat": "", 4038 "refId": "F" 4039 }, 4040 { 4041 "datasource": { 4042 "type": "prometheus", 4043 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4044 }, 4045 "editorMode": "code", 4046 "exemplar": false, 4047 "expr": "sum(container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)", 4048 "format": "table", 4049 "instant": true, 4050 "interval": "", 4051 "legendFormat": "", 4052 "refId": "J" 4053 }, 4054 { 4055 "datasource": { 4056 "type": "prometheus", 4057 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4058 }, 4059 "editorMode": "code", 4060 "exemplar": false, 4061 "expr": "kube_pod_container_status_restarts_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"} * on (pod) group_left(node) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}", 4062 "format": "table", 4063 "hide": false, 4064 "instant": true, 4065 "interval": "", 4066 "legendFormat": "", 4067 "refId": "H" 4068 }, 4069 { 4070 "datasource": { 4071 "type": "prometheus", 4072 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4073 }, 4074 "editorMode": "code", 4075 "exemplar": false, 4076 "expr": "time() - kube_pod_created{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"} * on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}", 4077 "format": "table", 4078 "hide": false, 4079 "instant": true, 4080 "interval": "", 4081 "legendFormat": "__auto", 4082 "refId": "R" 4083 }, 4084 { 4085 "datasource": { 4086 "type": "prometheus", 4087 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4088 }, 4089 "editorMode": "code", 4090 "exemplar": false, 4091 "expr": "sum(container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)", 4092 "format": "table", 4093 "hide": false, 4094 "instant": true, 4095 "interval": "", 4096 "legendFormat": "", 4097 "refId": "S" 4098 }, 4099 { 4100 "datasource": { 4101 "type": "prometheus", 4102 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4103 }, 4104 "editorMode": "code", 4105 "exemplar": false, 4106 "expr": "sum(sum(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(pod) *8", 4107 "format": "table", 4108 "hide": false, 4109 "instant": true, 4110 "interval": "", 4111 "legendFormat": "__auto", 4112 "refId": "T" 4113 }, 4114 { 4115 "datasource": { 4116 "type": "prometheus", 4117 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4118 }, 4119 "editorMode": "code", 4120 "exemplar": false, 4121 "expr": "sum(sum(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(pod) *8", 4122 "format": "table", 4123 "hide": false, 4124 "instant": true, 4125 "interval": "", 4126 "legendFormat": "__auto", 4127 "refId": "U" 4128 } 4129 ], 4130 "title": "$Node:Pod Resource Detail(Associable Nodes)", 4131 "transformations": [ 4132 { 4133 "id": "merge", 4134 "options": {} 4135 }, 4136 { 4137 "id": "organize", 4138 "options": { 4139 "excludeByName": { 4140 "Time": true, 4141 "Time 1": true, 4142 "Time 10": true, 4143 "Time 11": true, 4144 "Time 12": true, 4145 "Time 13": true, 4146 "Time 2": true, 4147 "Time 3": true, 4148 "Time 4": true, 4149 "Time 5": true, 4150 "Time 6": true, 4151 "Time 7": true, 4152 "Time 8": true, 4153 "Time 9": true, 4154 "Value #G": false, 4155 "__name__": true, 4156 "app_kubernetes_io_name": true, 4157 "app_kubernetes_io_name 1": true, 4158 "app_kubernetes_io_name 2": true, 4159 "app_kubernetes_io_version": true, 4160 "app_kubernetes_io_version 1": true, 4161 "app_kubernetes_io_version 2": true, 4162 "container 1": true, 4163 "container 10": true, 4164 "container 11": true, 4165 "container 12": true, 4166 "container 2": true, 4167 "container 3": true, 4168 "container 4": true, 4169 "container 5": true, 4170 "container 6": true, 4171 "container 7": true, 4172 "container 8": true, 4173 "container 9": true, 4174 "created_by_kind": true, 4175 "created_by_name": true, 4176 "host_ip": true, 4177 "instance": true, 4178 "instance 1": true, 4179 "instance 2": true, 4180 "job": true, 4181 "job 1": true, 4182 "job 2": true, 4183 "k8s_namespace": true, 4184 "k8s_namespace 1": true, 4185 "k8s_namespace 2": true, 4186 "k8s_sname": true, 4187 "k8s_sname 1": true, 4188 "k8s_sname 2": true, 4189 "namespace": false, 4190 "namespace 1": true, 4191 "namespace 10": true, 4192 "namespace 11": true, 4193 "namespace 12": false, 4194 "namespace 2": true, 4195 "namespace 3": true, 4196 "namespace 4": true, 4197 "namespace 5": true, 4198 "namespace 6": true, 4199 "namespace 7": true, 4200 "namespace 8": true, 4201 "namespace 9": true, 4202 "node 1": true, 4203 "node 10": true, 4204 "node 11": false, 4205 "node 12": true, 4206 "node 2": true, 4207 "node 3": true, 4208 "node 4": true, 4209 "node 5": true, 4210 "node 6": true, 4211 "node 7": true, 4212 "node 8": true, 4213 "node 9": true, 4214 "origin_prometheus": true, 4215 "origin_prometheus 1": true, 4216 "origin_prometheus 2": true, 4217 "phase": true, 4218 "pod_ip": true, 4219 "priority_class": true, 4220 "uid": true 4221 }, 4222 "includeByName": {}, 4223 "indexByName": { 4224 "Time": 21, 4225 "Value #A": 4, 4226 "Value #B": 16, 4227 "Value #C": 7, 4228 "Value #D": 10, 4229 "Value #E": 17, 4230 "Value #F": 9, 4231 "Value #G": 23, 4232 "Value #H": 14, 4233 "Value #I": 5, 4234 "Value #J": 13, 4235 "Value #K": 11, 4236 "Value #L": 6, 4237 "Value #M": 24, 4238 "Value #N": 25, 4239 "Value #O": 26, 4240 "Value #P": 27, 4241 "Value #Q": 8, 4242 "Value #R": 15, 4243 "Value #S": 12, 4244 "container": 2, 4245 "instance": 18, 4246 "ip": 28, 4247 "job": 19, 4248 "namespace": 1, 4249 "node": 0, 4250 "origin_prometheus": 20, 4251 "pod": 3, 4252 "uid": 22 4253 }, 4254 "renameByName": { 4255 "Value #A": "CPU%", 4256 "Value #B": "CPU Requirements", 4257 "Value #C": "CPU Limitations", 4258 "Value #D": "WSS", 4259 "Value #E": "Memory Requirements", 4260 "Value #F": "Memory Limit", 4261 "Value #H": "Reboot", 4262 "Value #I": "WSS%", 4263 "Value #J": "Disk Usage", 4264 "Value #K": "RSS", 4265 "Value #L": "RSS%", 4266 "Value #M": "Heap Memory", 4267 "Value #N": "maxHeap", 4268 "Value #O": "Non-Heap", 4269 "Value #P": "maxNon-Heap", 4270 "Value #Q": "Using Cores", 4271 "Value #R": "Survival", 4272 "Value #S": "Disk Limit", 4273 "Value #T": "Inflow", 4274 "Value #U": "Streaming Out", 4275 "container": "Container Name", 4276 "instance": "", 4277 "ip": "POD IP", 4278 "namespace": "Namespace", 4279 "namespace 1": "", 4280 "namespace 12": "Namespace", 4281 "node": "Nodes", 4282 "node 1": "", 4283 "node 11": "Node", 4284 "pod": "Pod Name", 4285 "priority_class": "" 4286 } 4287 } 4288 }, 4289 { 4290 "id": "filterFieldsByName", 4291 "options": { 4292 "include": { 4293 "names": [ 4294 "Node", 4295 "Namespace", 4296 "Container Name", 4297 "Pod Name", 4298 "CPU%", 4299 "WSS%", 4300 "RSS%", 4301 "CPU Restrictions", 4302 "Cores Used", 4303 "Memory Limit", 4304 "WSS", 4305 "RSS", 4306 "Disk Limit", 4307 "Disk Usage", 4308 "Reboot", 4309 "CPUDemand", 4310 "Memory Requirements", 4311 "Inflow", 4312 "Outflow", 4313 "Survival" 4314 ] 4315 } 4316 } 4317 } 4318 ], 4319 "type": "table" 4320 }, 4321 { 4322 "datasource": { 4323 "type": "prometheus", 4324 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4325 }, 4326 "fieldConfig": { 4327 "defaults": { 4328 "color": { 4329 "mode": "palette-classic" 4330 }, 4331 "custom": { 4332 "axisBorderShow": false, 4333 "axisCenteredZero": false, 4334 "axisColorMode": "text", 4335 "axisLabel": "", 4336 "axisPlacement": "auto", 4337 "barAlignment": 0, 4338 "drawStyle": "line", 4339 "fillOpacity": 0, 4340 "gradientMode": "none", 4341 "hideFrom": { 4342 "legend": false, 4343 "tooltip": false, 4344 "viz": false 4345 }, 4346 "insertNulls": false, 4347 "lineInterpolation": "linear", 4348 "lineWidth": 1, 4349 "pointSize": 5, 4350 "scaleDistribution": { 4351 "type": "linear" 4352 }, 4353 "showPoints": "never", 4354 "spanNulls": false, 4355 "stacking": { 4356 "group": "A", 4357 "mode": "none" 4358 }, 4359 "thresholdsStyle": { 4360 "mode": "off" 4361 } 4362 }, 4363 "links": [], 4364 "mappings": [], 4365 "thresholds": { 4366 "mode": "absolute", 4367 "steps": [ 4368 { 4369 "color": "green", 4370 "value": null 4371 }, 4372 { 4373 "color": "red", 4374 "value": 80 4375 } 4376 ] 4377 }, 4378 "unit": "percent" 4379 }, 4380 "overrides": [] 4381 }, 4382 "gridPos": { 4383 "h": 9, 4384 "w": 8, 4385 "x": 0, 4386 "y": 50 4387 }, 4388 "id": 58, 4389 "options": { 4390 "legend": { 4391 "calcs": ["mean", "lastNotNull", "max"], 4392 "displayMode": "table", 4393 "placement": "bottom", 4394 "showLegend": true 4395 }, 4396 "tooltip": { 4397 "mode": "multi", 4398 "sort": "desc" 4399 } 4400 }, 4401 "pluginVersion": "10.4.1", 4402 "targets": [ 4403 { 4404 "datasource": { 4405 "type": "prometheus", 4406 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4407 }, 4408 "editorMode": "code", 4409 "exemplar": true, 4410 "expr": "max(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod) / (max(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}/100000) by (container, pod)) * 100", 4411 "hide": false, 4412 "instant": false, 4413 "interval": "", 4414 "intervalFactor": 1, 4415 "legendFormat": "{{ pod }}", 4416 "metric": "container_cpu", 4417 "refId": "A", 4418 "step": 10 4419 } 4420 ], 4421 "title": "Pod Containers CPU Utilization (Maximum100%Associable Nodes)", 4422 "type": "timeseries" 4423 }, 4424 { 4425 "datasource": { 4426 "type": "prometheus", 4427 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4428 }, 4429 "fieldConfig": { 4430 "defaults": { 4431 "color": { 4432 "mode": "palette-classic" 4433 }, 4434 "custom": { 4435 "axisBorderShow": false, 4436 "axisCenteredZero": false, 4437 "axisColorMode": "text", 4438 "axisLabel": "", 4439 "axisPlacement": "auto", 4440 "barAlignment": 0, 4441 "drawStyle": "line", 4442 "fillOpacity": 0, 4443 "gradientMode": "none", 4444 "hideFrom": { 4445 "legend": false, 4446 "tooltip": false, 4447 "viz": false 4448 }, 4449 "insertNulls": false, 4450 "lineInterpolation": "linear", 4451 "lineWidth": 1, 4452 "pointSize": 5, 4453 "scaleDistribution": { 4454 "type": "linear" 4455 }, 4456 "showPoints": "never", 4457 "spanNulls": false, 4458 "stacking": { 4459 "group": "A", 4460 "mode": "none" 4461 }, 4462 "thresholdsStyle": { 4463 "mode": "off" 4464 } 4465 }, 4466 "links": [], 4467 "mappings": [], 4468 "thresholds": { 4469 "mode": "absolute", 4470 "steps": [ 4471 { 4472 "color": "green", 4473 "value": null 4474 }, 4475 { 4476 "color": "red", 4477 "value": 80 4478 } 4479 ] 4480 }, 4481 "unit": "percent" 4482 }, 4483 "overrides": [] 4484 }, 4485 "gridPos": { 4486 "h": 9, 4487 "w": 8, 4488 "x": 8, 4489 "y": 50 4490 }, 4491 "id": 27, 4492 "options": { 4493 "legend": { 4494 "calcs": ["max", "last", "mean"], 4495 "displayMode": "table", 4496 "placement": "bottom", 4497 "showLegend": true 4498 }, 4499 "tooltip": { 4500 "mode": "multi", 4501 "sort": "desc" 4502 } 4503 }, 4504 "pluginVersion": "10.4.1", 4505 "targets": [ 4506 { 4507 "datasource": { 4508 "type": "prometheus", 4509 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4510 }, 4511 "editorMode": "code", 4512 "exemplar": false, 4513 "expr": "max (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod)/ max(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod) * 100", 4514 "interval": "", 4515 "intervalFactor": 1, 4516 "legendFormat": "WSS:{{ pod }}", 4517 "metric": "container_memory_usage:sort_desc", 4518 "range": true, 4519 "refId": "A", 4520 "step": 10 4521 }, 4522 { 4523 "datasource": { 4524 "type": "prometheus", 4525 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4526 }, 4527 "editorMode": "code", 4528 "exemplar": false, 4529 "expr": "max (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod)/ max(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod) * 100", 4530 "interval": "", 4531 "intervalFactor": 1, 4532 "legendFormat": "RSS:{{ pod }}", 4533 "metric": "container_memory_usage:sort_desc", 4534 "range": true, 4535 "refId": "B", 4536 "step": 10 4537 }, 4538 { 4539 "datasource": { 4540 "type": "prometheus", 4541 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4542 }, 4543 "editorMode": "code", 4544 "exemplar": true, 4545 "expr": "(cass_jvm_heap{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}) / (cass_jvm_heap_max{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}) * 100", 4546 "hide": true, 4547 "instant": false, 4548 "interval": "", 4549 "intervalFactor": 1, 4550 "legendFormat": "Heap:{{ pod }}", 4551 "metric": "container_memory_usage:sort_desc", 4552 "refId": "C", 4553 "step": 10 4554 } 4555 ], 4556 "title": "Pod Container Memory Usage (Associatable Nodes)", 4557 "type": "timeseries" 4558 }, 4559 { 4560 "datasource": { 4561 "type": "prometheus", 4562 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4563 }, 4564 "fieldConfig": { 4565 "defaults": { 4566 "color": { 4567 "mode": "palette-classic" 4568 }, 4569 "custom": { 4570 "axisBorderShow": false, 4571 "axisCenteredZero": false, 4572 "axisColorMode": "text", 4573 "axisLabel": "", 4574 "axisPlacement": "auto", 4575 "barAlignment": 0, 4576 "drawStyle": "line", 4577 "fillOpacity": 0, 4578 "gradientMode": "none", 4579 "hideFrom": { 4580 "legend": false, 4581 "tooltip": false, 4582 "viz": false 4583 }, 4584 "insertNulls": false, 4585 "lineInterpolation": "linear", 4586 "lineWidth": 1, 4587 "pointSize": 5, 4588 "scaleDistribution": { 4589 "type": "linear" 4590 }, 4591 "showPoints": "never", 4592 "spanNulls": false, 4593 "stacking": { 4594 "group": "A", 4595 "mode": "none" 4596 }, 4597 "thresholdsStyle": { 4598 "mode": "off" 4599 } 4600 }, 4601 "links": [], 4602 "mappings": [], 4603 "thresholds": { 4604 "mode": "absolute", 4605 "steps": [ 4606 { 4607 "color": "green", 4608 "value": null 4609 }, 4610 { 4611 "color": "red", 4612 "value": 80 4613 } 4614 ] 4615 }, 4616 "unit": "binbps" 4617 }, 4618 "overrides": [] 4619 }, 4620 "gridPos": { 4621 "h": 9, 4622 "w": 8, 4623 "x": 16, 4624 "y": 50 4625 }, 4626 "id": 77, 4627 "options": { 4628 "legend": { 4629 "calcs": ["max", "last", "mean"], 4630 "displayMode": "table", 4631 "placement": "bottom", 4632 "showLegend": true 4633 }, 4634 "tooltip": { 4635 "mode": "multi", 4636 "sort": "desc" 4637 } 4638 }, 4639 "pluginVersion": "10.4.1", 4640 "targets": [ 4641 { 4642 "datasource": { 4643 "type": "prometheus", 4644 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4645 }, 4646 "editorMode": "code", 4647 "exemplar": false, 4648 "expr": "max(max(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(pod) *8", 4649 "hide": false, 4650 "interval": "", 4651 "intervalFactor": 1, 4652 "legendFormat": "Inflow:{{ pod}}", 4653 "metric": "network", 4654 "range": true, 4655 "refId": "A", 4656 "step": 10 4657 }, 4658 { 4659 "datasource": { 4660 "type": "prometheus", 4661 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4662 }, 4663 "editorMode": "code", 4664 "exemplar": false, 4665 "expr": "max(max(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(pod) *8", 4666 "interval": "", 4667 "intervalFactor": 1, 4668 "legendFormat": "Outflow:{{ pod}}", 4669 "metric": "network", 4670 "range": true, 4671 "refId": "B", 4672 "step": 10 4673 }, 4674 { 4675 "datasource": { 4676 "type": "prometheus", 4677 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4678 }, 4679 "editorMode": "code", 4680 "expr": "sum(sum(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info) by(pod) *8", 4681 "hide": true, 4682 "interval": "", 4683 "intervalFactor": 1, 4684 "legendFormat": "__auto", 4685 "metric": "network", 4686 "range": true, 4687 "refId": "C", 4688 "step": 10 4689 }, 4690 { 4691 "datasource": { 4692 "type": "prometheus", 4693 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4694 }, 4695 "editorMode": "code", 4696 "expr": "sum(sum(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info) by(pod) *8", 4697 "hide": true, 4698 "interval": "", 4699 "intervalFactor": 1, 4700 "legendFormat": "__auto", 4701 "metric": "network", 4702 "range": true, 4703 "refId": "D", 4704 "step": 10 4705 } 4706 ], 4707 "title": "Pod Network bandwidth per second (Associable Nodes)", 4708 "type": "timeseries" 4709 }, 4710 { 4711 "datasource": { 4712 "type": "prometheus", 4713 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4714 }, 4715 "fieldConfig": { 4716 "defaults": { 4717 "color": { 4718 "mode": "palette-classic" 4719 }, 4720 "custom": { 4721 "axisBorderShow": false, 4722 "axisCenteredZero": false, 4723 "axisColorMode": "text", 4724 "axisLabel": "", 4725 "axisPlacement": "auto", 4726 "barAlignment": 0, 4727 "drawStyle": "line", 4728 "fillOpacity": 0, 4729 "gradientMode": "none", 4730 "hideFrom": { 4731 "legend": false, 4732 "tooltip": false, 4733 "viz": false 4734 }, 4735 "insertNulls": false, 4736 "lineInterpolation": "linear", 4737 "lineWidth": 1, 4738 "pointSize": 5, 4739 "scaleDistribution": { 4740 "type": "linear" 4741 }, 4742 "showPoints": "never", 4743 "spanNulls": false, 4744 "stacking": { 4745 "group": "A", 4746 "mode": "none" 4747 }, 4748 "thresholdsStyle": { 4749 "mode": "off" 4750 } 4751 }, 4752 "links": [], 4753 "mappings": [], 4754 "thresholds": { 4755 "mode": "absolute", 4756 "steps": [ 4757 { 4758 "color": "green", 4759 "value": null 4760 }, 4761 { 4762 "color": "red", 4763 "value": 80 4764 } 4765 ] 4766 }, 4767 "unit": "none" 4768 }, 4769 "overrides": [ 4770 { 4771 "matcher": { 4772 "id": "byRegexp", 4773 "options": "/Limit.*/" 4774 }, 4775 "properties": [ 4776 { 4777 "id": "color", 4778 "value": { 4779 "fixedColor": "red", 4780 "mode": "fixed" 4781 } 4782 } 4783 ] 4784 } 4785 ] 4786 }, 4787 "gridPos": { 4788 "h": 9, 4789 "w": 8, 4790 "x": 0, 4791 "y": 59 4792 }, 4793 "id": 82, 4794 "options": { 4795 "legend": { 4796 "calcs": ["max", "last", "mean"], 4797 "displayMode": "table", 4798 "placement": "bottom", 4799 "showLegend": true, 4800 "sortBy": "Max", 4801 "sortDesc": true 4802 }, 4803 "tooltip": { 4804 "mode": "multi", 4805 "sort": "desc" 4806 } 4807 }, 4808 "pluginVersion": "10.4.1", 4809 "targets": [ 4810 { 4811 "datasource": { 4812 "type": "prometheus", 4813 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4814 }, 4815 "editorMode": "code", 4816 "exemplar": true, 4817 "expr": "max(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod,node,namespace)", 4818 "hide": false, 4819 "instant": false, 4820 "interval": "", 4821 "intervalFactor": 1, 4822 "legendFormat": "CPU Usage:{{ pod }}", 4823 "metric": "container_cpu", 4824 "refId": "A", 4825 "step": 10 4826 }, 4827 { 4828 "datasource": { 4829 "type": "prometheus", 4830 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4831 }, 4832 "editorMode": "code", 4833 "exemplar": true, 4834 "expr": "max(max(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)) by(container)", 4835 "hide": false, 4836 "instant": false, 4837 "interval": "", 4838 "intervalFactor": 1, 4839 "legendFormat": "Pod CPU Limitations:{{ container}}", 4840 "metric": "container_cpu", 4841 "refId": "B", 4842 "step": 10 4843 } 4844 ], 4845 "title": "Pod Containers CPU Core Usage", 4846 "type": "timeseries" 4847 }, 4848 { 4849 "datasource": { 4850 "type": "prometheus", 4851 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4852 }, 4853 "fieldConfig": { 4854 "defaults": { 4855 "color": { 4856 "mode": "palette-classic" 4857 }, 4858 "custom": { 4859 "axisBorderShow": false, 4860 "axisCenteredZero": false, 4861 "axisColorMode": "text", 4862 "axisLabel": "", 4863 "axisPlacement": "auto", 4864 "barAlignment": 0, 4865 "drawStyle": "line", 4866 "fillOpacity": 0, 4867 "gradientMode": "none", 4868 "hideFrom": { 4869 "legend": false, 4870 "tooltip": false, 4871 "viz": false 4872 }, 4873 "insertNulls": false, 4874 "lineInterpolation": "linear", 4875 "lineWidth": 1, 4876 "pointSize": 5, 4877 "scaleDistribution": { 4878 "type": "linear" 4879 }, 4880 "showPoints": "never", 4881 "spanNulls": false, 4882 "stacking": { 4883 "group": "A", 4884 "mode": "none" 4885 }, 4886 "thresholdsStyle": { 4887 "mode": "off" 4888 } 4889 }, 4890 "links": [], 4891 "mappings": [], 4892 "thresholds": { 4893 "mode": "absolute", 4894 "steps": [ 4895 { 4896 "color": "green", 4897 "value": null 4898 }, 4899 { 4900 "color": "red", 4901 "value": 80 4902 } 4903 ] 4904 }, 4905 "unit": "bytes" 4906 }, 4907 "overrides": [ 4908 { 4909 "matcher": { 4910 "id": "byRegexp", 4911 "options": "/.*Limitations/" 4912 }, 4913 "properties": [ 4914 { 4915 "id": "color", 4916 "value": { 4917 "fixedColor": "red", 4918 "mode": "fixed" 4919 } 4920 } 4921 ] 4922 } 4923 ] 4924 }, 4925 "gridPos": { 4926 "h": 9, 4927 "w": 8, 4928 "x": 8, 4929 "y": 59 4930 }, 4931 "id": 84, 4932 "options": { 4933 "legend": { 4934 "calcs": ["max", "last", "mean"], 4935 "displayMode": "table", 4936 "placement": "bottom", 4937 "showLegend": true, 4938 "sortBy": "Max", 4939 "sortDesc": true 4940 }, 4941 "tooltip": { 4942 "mode": "multi", 4943 "sort": "desc" 4944 } 4945 }, 4946 "pluginVersion": "10.4.1", 4947 "targets": [ 4948 { 4949 "datasource": { 4950 "type": "prometheus", 4951 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4952 }, 4953 "editorMode": "code", 4954 "exemplar": false, 4955 "expr": "max (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)", 4956 "interval": "", 4957 "intervalFactor": 1, 4958 "legendFormat": "WSS:{{ pod }}", 4959 "metric": "container_memory_usage:sort_desc", 4960 "range": true, 4961 "refId": "A", 4962 "step": 10 4963 }, 4964 { 4965 "datasource": { 4966 "type": "prometheus", 4967 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4968 }, 4969 "editorMode": "code", 4970 "exemplar": false, 4971 "expr": "max(max(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)) by(container)", 4972 "hide": false, 4973 "interval": "", 4974 "intervalFactor": 1, 4975 "legendFormat": "PodMemory Limits:{{ container}}", 4976 "metric": "container_memory_usage:sort_desc", 4977 "range": true, 4978 "refId": "B", 4979 "step": 10 4980 } 4981 ], 4982 "title": "Pod Containers WSS Memory Usage (Associable Nodes)", 4983 "type": "timeseries" 4984 }, 4985 { 4986 "datasource": { 4987 "type": "prometheus", 4988 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 4989 }, 4990 "fieldConfig": { 4991 "defaults": { 4992 "color": { 4993 "mode": "palette-classic" 4994 }, 4995 "custom": { 4996 "axisBorderShow": false, 4997 "axisCenteredZero": false, 4998 "axisColorMode": "text", 4999 "axisLabel": "", 5000 "axisPlacement": "auto", 5001 "barAlignment": 0, 5002 "drawStyle": "line", 5003 "fillOpacity": 0, 5004 "gradientMode": "none", 5005 "hideFrom": { 5006 "legend": false, 5007 "tooltip": false, 5008 "viz": false 5009 }, 5010 "insertNulls": false, 5011 "lineInterpolation": "linear", 5012 "lineWidth": 1, 5013 "pointSize": 5, 5014 "scaleDistribution": { 5015 "type": "linear" 5016 }, 5017 "showPoints": "never", 5018 "spanNulls": false, 5019 "stacking": { 5020 "group": "A", 5021 "mode": "none" 5022 }, 5023 "thresholdsStyle": { 5024 "mode": "off" 5025 } 5026 }, 5027 "links": [], 5028 "mappings": [], 5029 "thresholds": { 5030 "mode": "absolute", 5031 "steps": [ 5032 { 5033 "color": "green", 5034 "value": null 5035 }, 5036 { 5037 "color": "red", 5038 "value": 80 5039 } 5040 ] 5041 }, 5042 "unit": "bytes" 5043 }, 5044 "overrides": [] 5045 }, 5046 "gridPos": { 5047 "h": 9, 5048 "w": 8, 5049 "x": 16, 5050 "y": 59 5051 }, 5052 "id": 83, 5053 "options": { 5054 "legend": { 5055 "calcs": ["lastNotNull", "max"], 5056 "displayMode": "table", 5057 "placement": "bottom", 5058 "showLegend": true 5059 }, 5060 "tooltip": { 5061 "mode": "multi", 5062 "sort": "desc" 5063 } 5064 }, 5065 "pluginVersion": "10.4.1", 5066 "targets": [ 5067 { 5068 "datasource": { 5069 "type": "prometheus", 5070 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5071 }, 5072 "editorMode": "code", 5073 "exemplar": true, 5074 "expr": "max (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)", 5075 "interval": "", 5076 "intervalFactor": 1, 5077 "legendFormat": "RSS:{{ pod }}", 5078 "metric": "container_memory_usage:sort_desc", 5079 "range": true, 5080 "refId": "A", 5081 "step": 10 5082 } 5083 ], 5084 "title": "Pod Containers RSS Memory Usage (Associable Nodes)", 5085 "type": "timeseries" 5086 }, 5087 { 5088 "collapsed": true, 5089 "datasource": { 5090 "type": "prometheus", 5091 "uid": "WAYOn0FGz" 5092 }, 5093 "gridPos": { 5094 "h": 1, 5095 "w": 24, 5096 "x": 0, 5097 "y": 68 5098 }, 5099 "id": 61, 5100 "panels": [ 5101 { 5102 "datasource": { 5103 "type": "prometheus", 5104 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5105 }, 5106 "fieldConfig": { 5107 "defaults": { 5108 "color": { 5109 "mode": "thresholds" 5110 }, 5111 "custom": { 5112 "align": "center", 5113 "cellOptions": { 5114 "type": "auto" 5115 }, 5116 "filterable": false, 5117 "inspect": false 5118 }, 5119 "displayName": "", 5120 "mappings": [], 5121 "thresholds": { 5122 "mode": "percentage", 5123 "steps": [ 5124 { 5125 "color": "green" 5126 } 5127 ] 5128 }, 5129 "unit": "none" 5130 }, 5131 "overrides": [ 5132 { 5133 "matcher": { 5134 "id": "byRegexp", 5135 "options": ".*%" 5136 }, 5137 "properties": [ 5138 { 5139 "id": "unit", 5140 "value": "percentunit" 5141 }, 5142 { 5143 "id": "custom.cellOptions", 5144 "value": { 5145 "mode": "gradient", 5146 "type": "gauge", 5147 "valueDisplayMode": "color" 5148 } 5149 }, 5150 { 5151 "id": "max", 5152 "value": 1 5153 }, 5154 { 5155 "id": "min", 5156 "value": 0 5157 }, 5158 { 5159 "id": "color", 5160 "value": { 5161 "mode": "continuous-GrYlRd" 5162 } 5163 }, 5164 { 5165 "id": "decimals", 5166 "value": 0 5167 } 5168 ] 5169 }, 5170 { 5171 "matcher": { 5172 "id": "byRegexp", 5173 "options": ".*Memory Usage$|.*Memory Limits$|.*Memory Requirements$|.*Disk Usage$|.*Disk Limits$" 5174 }, 5175 "properties": [ 5176 { 5177 "id": "unit", 5178 "value": "bytes" 5179 } 5180 ] 5181 }, 5182 { 5183 "matcher": { 5184 "id": "byName", 5185 "options": "Namespace" 5186 }, 5187 "properties": [ 5188 { 5189 "id": "custom.width", 5190 "value": 92 5191 } 5192 ] 5193 }, 5194 { 5195 "matcher": { 5196 "id": "byName", 5197 "options": "Container Name" 5198 }, 5199 "properties": [ 5200 { 5201 "id": "custom.width", 5202 "value": 187 5203 } 5204 ] 5205 }, 5206 { 5207 "matcher": { 5208 "id": "byName", 5209 "options": "Total CPU Core Usage" 5210 }, 5211 "properties": [ 5212 { 5213 "id": "custom.width", 5214 "value": 100 5215 } 5216 ] 5217 }, 5218 { 5219 "matcher": { 5220 "id": "byName", 5221 "options": "Pod" 5222 }, 5223 "properties": [ 5224 { 5225 "id": "custom.width", 5226 "value": 44 5227 }, 5228 { 5229 "id": "custom.cellOptions", 5230 "value": { 5231 "type": "color-background" 5232 } 5233 }, 5234 { 5235 "id": "color", 5236 "value": { 5237 "fixedColor": "blue", 5238 "mode": "fixed" 5239 } 5240 } 5241 ] 5242 }, 5243 { 5244 "matcher": { 5245 "id": "byName", 5246 "options": "Average CPU Usage%" 5247 }, 5248 "properties": [ 5249 { 5250 "id": "custom.width", 5251 "value": 116 5252 } 5253 ] 5254 }, 5255 { 5256 "matcher": { 5257 "id": "byName", 5258 "options": "Average RSS Memory Usage%" 5259 }, 5260 "properties": [ 5261 { 5262 "id": "custom.width", 5263 "value": 141 5264 } 5265 ] 5266 }, 5267 { 5268 "matcher": { 5269 "id": "byName", 5270 "options": "Average WSS Memory Usage%" 5271 }, 5272 "properties": [ 5273 { 5274 "id": "custom.width", 5275 "value": 165 5276 } 5277 ] 5278 }, 5279 { 5280 "matcher": { 5281 "id": "byName", 5282 "options": "Total CPU Limit" 5283 }, 5284 "properties": [ 5285 { 5286 "id": "custom.width", 5287 "value": 86 5288 } 5289 ] 5290 }, 5291 { 5292 "matcher": { 5293 "id": "byName", 5294 "options": "Total Memory Limit" 5295 }, 5296 "properties": [ 5297 { 5298 "id": "custom.width", 5299 "value": 86 5300 } 5301 ] 5302 }, 5303 { 5304 "matcher": { 5305 "id": "byRegexp", 5306 "options": "/.*Limit$/" 5307 }, 5308 "properties": [ 5309 { 5310 "id": "color", 5311 "value": { 5312 "fixedColor": "blue", 5313 "mode": "fixed" 5314 } 5315 }, 5316 { 5317 "id": "custom.cellOptions", 5318 "value": { 5319 "type": "color-background" 5320 } 5321 } 5322 ] 5323 }, 5324 { 5325 "matcher": { 5326 "id": "byRegexp", 5327 "options": "/.*Memory Usage$|.*Core Usage$/" 5328 }, 5329 "properties": [ 5330 { 5331 "id": "custom.cellOptions", 5332 "value": { 5333 "type": "color-text" 5334 } 5335 }, 5336 { 5337 "id": "color", 5338 "value": { 5339 "fixedColor": "orange", 5340 "mode": "fixed" 5341 } 5342 } 5343 ] 5344 }, 5345 { 5346 "matcher": { 5347 "id": "byName", 5348 "options": "Total RSS Memory Usage" 5349 }, 5350 "properties": [ 5351 { 5352 "id": "custom.width", 5353 "value": 107 5354 } 5355 ] 5356 }, 5357 { 5358 "matcher": { 5359 "id": "byName", 5360 "options": "Total WSS Memory Usage" 5361 }, 5362 "properties": [ 5363 { 5364 "id": "custom.width", 5365 "value": 113 5366 } 5367 ] 5368 }, 5369 { 5370 "matcher": { 5371 "id": "byName", 5372 "options": "Average Disk Usage" 5373 }, 5374 "properties": [ 5375 { 5376 "id": "custom.width", 5377 "value": 96 5378 }, 5379 { 5380 "id": "custom.cellOptions", 5381 "value": { 5382 "type": "color-background" 5383 } 5384 }, 5385 { 5386 "id": "thresholds", 5387 "value": { 5388 "mode": "absolute", 5389 "steps": [ 5390 { 5391 "color": "green" 5392 }, 5393 { 5394 "color": "orange", 5395 "value": 10737418240 5396 }, 5397 { 5398 "color": "red", 5399 "value": 16106127360 5400 } 5401 ] 5402 } 5403 } 5404 ] 5405 }, 5406 { 5407 "matcher": { 5408 "id": "byName", 5409 "options": "Average Disk Limit" 5410 }, 5411 "properties": [ 5412 { 5413 "id": "custom.width", 5414 "value": 96 5415 } 5416 ] 5417 }, 5418 { 5419 "matcher": { 5420 "id": "byName", 5421 "options": "Total CPU Demand" 5422 }, 5423 "properties": [ 5424 { 5425 "id": "custom.width", 5426 "value": 80 5427 } 5428 ] 5429 }, 5430 { 5431 "matcher": { 5432 "id": "byName", 5433 "options": "Total Memory Demand" 5434 }, 5435 "properties": [ 5436 { 5437 "id": "custom.width", 5438 "value": 80 5439 } 5440 ] 5441 } 5442 ] 5443 }, 5444 "gridPos": { 5445 "h": 9, 5446 "w": 24, 5447 "x": 0, 5448 "y": 3 5449 }, 5450 "id": 87, 5451 "options": { 5452 "cellHeight": "sm", 5453 "footer": { 5454 "countRows": false, 5455 "enablePagination": true, 5456 "fields": "", 5457 "reducer": ["sum"], 5458 "show": false 5459 }, 5460 "showHeader": true, 5461 "sortBy": [ 5462 { 5463 "desc": true, 5464 "displayName": "Average WSS Memory Usage%" 5465 } 5466 ] 5467 }, 5468 "pluginVersion": "10.4.1", 5469 "targets": [ 5470 { 5471 "datasource": { 5472 "type": "prometheus", 5473 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5474 }, 5475 "editorMode": "code", 5476 "exemplar": false, 5477 "expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}/100000) by (container))", 5478 "format": "table", 5479 "hide": false, 5480 "instant": true, 5481 "interval": "", 5482 "legendFormat": "", 5483 "refId": "A" 5484 }, 5485 { 5486 "datasource": { 5487 "type": "prometheus", 5488 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5489 }, 5490 "editorMode": "code", 5491 "exemplar": false, 5492 "expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container)", 5493 "format": "table", 5494 "hide": false, 5495 "instant": true, 5496 "interval": "", 5497 "legendFormat": "Total Cores Used", 5498 "refId": "L" 5499 }, 5500 { 5501 "datasource": { 5502 "type": "prometheus", 5503 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5504 }, 5505 "exemplar": false, 5506 "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5507 "format": "table", 5508 "hide": false, 5509 "instant": true, 5510 "interval": "", 5511 "legendFormat": "", 5512 "refId": "B" 5513 }, 5514 { 5515 "datasource": { 5516 "type": "prometheus", 5517 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5518 }, 5519 "exemplar": false, 5520 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5521 "format": "table", 5522 "instant": true, 5523 "interval": "", 5524 "legendFormat": "", 5525 "refId": "C" 5526 }, 5527 { 5528 "datasource": { 5529 "type": "prometheus", 5530 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5531 }, 5532 "editorMode": "code", 5533 "exemplar": false, 5534 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5535 "format": "table", 5536 "hide": false, 5537 "instant": true, 5538 "interval": "", 5539 "legendFormat": "", 5540 "refId": "I" 5541 }, 5542 { 5543 "datasource": { 5544 "type": "prometheus", 5545 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5546 }, 5547 "exemplar": false, 5548 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5549 "format": "table", 5550 "hide": false, 5551 "instant": true, 5552 "interval": "", 5553 "legendFormat": "", 5554 "refId": "D" 5555 }, 5556 { 5557 "datasource": { 5558 "type": "prometheus", 5559 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5560 }, 5561 "editorMode": "code", 5562 "exemplar": false, 5563 "expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5564 "format": "table", 5565 "hide": false, 5566 "instant": true, 5567 "interval": "", 5568 "legendFormat": "Average Memory%(RSS)", 5569 "refId": "H" 5570 }, 5571 { 5572 "datasource": { 5573 "type": "prometheus", 5574 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5575 }, 5576 "exemplar": false, 5577 "expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5578 "format": "table", 5579 "hide": false, 5580 "instant": true, 5581 "interval": "", 5582 "legendFormat": "Total Memory Usage (RSS) ", 5583 "refId": "K" 5584 }, 5585 { 5586 "datasource": { 5587 "type": "prometheus", 5588 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5589 }, 5590 "editorMode": "code", 5591 "exemplar": false, 5592 "expr": "sum by(container) (kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"})", 5593 "format": "table", 5594 "hide": false, 5595 "instant": true, 5596 "interval": "", 5597 "legendFormat": "", 5598 "refId": "E" 5599 }, 5600 { 5601 "datasource": { 5602 "type": "prometheus", 5603 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5604 }, 5605 "exemplar": false, 5606 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5607 "format": "table", 5608 "hide": false, 5609 "instant": true, 5610 "interval": "", 5611 "legendFormat": "", 5612 "refId": "F" 5613 }, 5614 { 5615 "datasource": { 5616 "type": "prometheus", 5617 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5618 }, 5619 "editorMode": "code", 5620 "exemplar": false, 5621 "expr": "avg(container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5622 "format": "table", 5623 "instant": true, 5624 "interval": "", 5625 "legendFormat": "", 5626 "refId": "J" 5627 }, 5628 { 5629 "datasource": { 5630 "type": "prometheus", 5631 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5632 }, 5633 "editorMode": "code", 5634 "exemplar": false, 5635 "expr": "count(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by(container,namespace)", 5636 "format": "table", 5637 "instant": true, 5638 "interval": "", 5639 "legendFormat": "", 5640 "refId": "G" 5641 }, 5642 { 5643 "datasource": { 5644 "type": "prometheus", 5645 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5646 }, 5647 "editorMode": "code", 5648 "exemplar": false, 5649 "expr": "avg(container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 5650 "format": "table", 5651 "hide": false, 5652 "instant": true, 5653 "interval": "", 5654 "legendFormat": "", 5655 "refId": "M" 5656 } 5657 ], 5658 "title": "Microservices (Container Name) Resource Statistics", 5659 "transformations": [ 5660 { 5661 "id": "merge", 5662 "options": {} 5663 }, 5664 { 5665 "id": "organize", 5666 "options": { 5667 "excludeByName": { 5668 "Time": true, 5669 "Time 1": true, 5670 "Time 10": true, 5671 "Time 11": true, 5672 "Time 12": true, 5673 "Time 2": true, 5674 "Time 3": true, 5675 "Time 4": true, 5676 "Time 5": true, 5677 "Time 6": true, 5678 "Time 7": true, 5679 "Time 8": true, 5680 "Time 9": true 5681 }, 5682 "includeByName": {}, 5683 "indexByName": { 5684 "Time": 15, 5685 "Value #A": 3, 5686 "Value #B": 13, 5687 "Value #C": 6, 5688 "Value #D": 9, 5689 "Value #E": 14, 5690 "Value #F": 8, 5691 "Value #G": 2, 5692 "Value #H": 5, 5693 "Value #I": 4, 5694 "Value #J": 12, 5695 "Value #K": 10, 5696 "Value #L": 7, 5697 "Value #M": 11, 5698 "container": 1, 5699 "namespace": 0 5700 }, 5701 "renameByName": { 5702 "Time 1": "", 5703 "Value #A": "Average CPU Usage%", 5704 "Value #B": "Total CPU Demand", 5705 "Value #C": "Total CPU Restrictions", 5706 "Value #D": "Total WSS Memory Usage", 5707 "Value #E": "Total Memory Requirements", 5708 "Value #F": "Total Memory Limit", 5709 "Value #G": "Pod", 5710 "Value #H": "Average RSS Memory Usage%", 5711 "Value #I": "Average WSS Memory Usage%", 5712 "Value #J": "Average Disk Usage", 5713 "Value #K": "Total RSS Memory Use", 5714 "Value #L": "Total CPU Core Usage", 5715 "Value #M": "Average Disk Limit", 5716 "container": "Container Name", 5717 "namespace": "Namespace" 5718 } 5719 } 5720 }, 5721 { 5722 "id": "filterFieldsByName", 5723 "options": {} 5724 } 5725 ], 5726 "type": "table" 5727 }, 5728 { 5729 "datasource": { 5730 "type": "prometheus", 5731 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5732 }, 5733 "fieldConfig": { 5734 "defaults": { 5735 "color": { 5736 "mode": "palette-classic" 5737 }, 5738 "custom": { 5739 "axisBorderShow": false, 5740 "axisCenteredZero": false, 5741 "axisColorMode": "text", 5742 "axisLabel": "", 5743 "axisPlacement": "auto", 5744 "barAlignment": 0, 5745 "drawStyle": "line", 5746 "fillOpacity": 0, 5747 "gradientMode": "none", 5748 "hideFrom": { 5749 "legend": false, 5750 "tooltip": false, 5751 "viz": false 5752 }, 5753 "insertNulls": false, 5754 "lineInterpolation": "linear", 5755 "lineWidth": 1, 5756 "pointSize": 5, 5757 "scaleDistribution": { 5758 "type": "linear" 5759 }, 5760 "showPoints": "never", 5761 "spanNulls": false, 5762 "stacking": { 5763 "group": "A", 5764 "mode": "none" 5765 }, 5766 "thresholdsStyle": { 5767 "mode": "off" 5768 } 5769 }, 5770 "links": [], 5771 "mappings": [], 5772 "thresholds": { 5773 "mode": "absolute", 5774 "steps": [ 5775 { 5776 "color": "green" 5777 }, 5778 { 5779 "color": "red", 5780 "value": 80 5781 } 5782 ] 5783 }, 5784 "unit": "percent" 5785 }, 5786 "overrides": [] 5787 }, 5788 "gridPos": { 5789 "h": 7, 5790 "w": 8, 5791 "x": 0, 5792 "y": 12 5793 }, 5794 "id": 24, 5795 "options": { 5796 "legend": { 5797 "calcs": ["max", "last", "mean"], 5798 "displayMode": "table", 5799 "placement": "bottom", 5800 "showLegend": true 5801 }, 5802 "tooltip": { 5803 "mode": "multi", 5804 "sort": "desc" 5805 } 5806 }, 5807 "pluginVersion": "10.4.1", 5808 "targets": [ 5809 { 5810 "datasource": { 5811 "type": "prometheus", 5812 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5813 }, 5814 "exemplar": true, 5815 "expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}/100000) by (container)) * 100", 5816 "hide": false, 5817 "instant": false, 5818 "interval": "", 5819 "intervalFactor": 1, 5820 "legendFormat": "{{ container}}", 5821 "metric": "container_cpu", 5822 "refId": "A", 5823 "step": 10 5824 } 5825 ], 5826 "title": "Microservices (Container Name) Average CPU Usage (Maximum100%)", 5827 "type": "timeseries" 5828 }, 5829 { 5830 "datasource": { 5831 "type": "prometheus", 5832 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5833 }, 5834 "fieldConfig": { 5835 "defaults": { 5836 "color": { 5837 "mode": "palette-classic" 5838 }, 5839 "custom": { 5840 "axisBorderShow": false, 5841 "axisCenteredZero": false, 5842 "axisColorMode": "text", 5843 "axisLabel": "", 5844 "axisPlacement": "auto", 5845 "barAlignment": 0, 5846 "drawStyle": "line", 5847 "fillOpacity": 0, 5848 "gradientMode": "none", 5849 "hideFrom": { 5850 "legend": false, 5851 "tooltip": false, 5852 "viz": false 5853 }, 5854 "insertNulls": false, 5855 "lineInterpolation": "linear", 5856 "lineWidth": 1, 5857 "pointSize": 5, 5858 "scaleDistribution": { 5859 "type": "linear" 5860 }, 5861 "showPoints": "never", 5862 "spanNulls": false, 5863 "stacking": { 5864 "group": "A", 5865 "mode": "none" 5866 }, 5867 "thresholdsStyle": { 5868 "mode": "off" 5869 } 5870 }, 5871 "links": [], 5872 "mappings": [], 5873 "thresholds": { 5874 "mode": "absolute", 5875 "steps": [ 5876 { 5877 "color": "green" 5878 }, 5879 { 5880 "color": "red", 5881 "value": 80 5882 } 5883 ] 5884 }, 5885 "unit": "percent" 5886 }, 5887 "overrides": [] 5888 }, 5889 "gridPos": { 5890 "h": 7, 5891 "w": 8, 5892 "x": 8, 5893 "y": 12 5894 }, 5895 "id": 89, 5896 "options": { 5897 "legend": { 5898 "calcs": ["max", "last", "mean"], 5899 "displayMode": "table", 5900 "placement": "bottom", 5901 "showLegend": true 5902 }, 5903 "tooltip": { 5904 "mode": "multi", 5905 "sort": "desc" 5906 } 5907 }, 5908 "pluginVersion": "10.4.1", 5909 "targets": [ 5910 { 5911 "datasource": { 5912 "type": "prometheus", 5913 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5914 }, 5915 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container) * 100", 5916 "interval": "", 5917 "intervalFactor": 1, 5918 "legendFormat": "WSS:{{ container }}", 5919 "metric": "container_memory_usage:sort_desc", 5920 "refId": "A", 5921 "step": 10 5922 }, 5923 { 5924 "datasource": { 5925 "type": "prometheus", 5926 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5927 }, 5928 "expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container) * 100", 5929 "interval": "", 5930 "intervalFactor": 1, 5931 "legendFormat": "RSS:{{ container }}", 5932 "metric": "container_memory_usage:sort_desc", 5933 "refId": "B", 5934 "step": 10 5935 } 5936 ], 5937 "title": "Microservice (Container Name) Average Memory Utilization", 5938 "type": "timeseries" 5939 }, 5940 { 5941 "datasource": { 5942 "type": "prometheus", 5943 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 5944 }, 5945 "fieldConfig": { 5946 "defaults": { 5947 "color": { 5948 "mode": "palette-classic" 5949 }, 5950 "custom": { 5951 "axisBorderShow": false, 5952 "axisCenteredZero": false, 5953 "axisColorMode": "text", 5954 "axisLabel": "", 5955 "axisPlacement": "auto", 5956 "barAlignment": 0, 5957 "drawStyle": "line", 5958 "fillOpacity": 0, 5959 "gradientMode": "none", 5960 "hideFrom": { 5961 "legend": false, 5962 "tooltip": false, 5963 "viz": false 5964 }, 5965 "insertNulls": false, 5966 "lineInterpolation": "linear", 5967 "lineWidth": 1, 5968 "pointSize": 5, 5969 "scaleDistribution": { 5970 "type": "linear" 5971 }, 5972 "showPoints": "never", 5973 "spanNulls": false, 5974 "stacking": { 5975 "group": "A", 5976 "mode": "none" 5977 }, 5978 "thresholdsStyle": { 5979 "mode": "off" 5980 } 5981 }, 5982 "links": [], 5983 "mappings": [], 5984 "thresholds": { 5985 "mode": "absolute", 5986 "steps": [ 5987 { 5988 "color": "green" 5989 }, 5990 { 5991 "color": "red", 5992 "value": 80 5993 } 5994 ] 5995 }, 5996 "unit": "binbps" 5997 }, 5998 "overrides": [] 5999 }, 6000 "gridPos": { 6001 "h": 7, 6002 "w": 8, 6003 "x": 16, 6004 "y": 12 6005 }, 6006 "id": 16, 6007 "options": { 6008 "legend": { 6009 "calcs": ["mean", "last", "max"], 6010 "displayMode": "table", 6011 "placement": "bottom", 6012 "showLegend": true 6013 }, 6014 "tooltip": { 6015 "mode": "multi", 6016 "sort": "desc" 6017 } 6018 }, 6019 "pluginVersion": "10.4.1", 6020 "targets": [ 6021 { 6022 "datasource": { 6023 "type": "prometheus", 6024 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6025 }, 6026 "editorMode": "code", 6027 "exemplar": true, 6028 "expr": "sum(sum(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(container) *8", 6029 "hide": false, 6030 "interval": "", 6031 "intervalFactor": 1, 6032 "legendFormat": "Inflow:{{ container }}", 6033 "metric": "network", 6034 "range": true, 6035 "refId": "A", 6036 "step": 10 6037 }, 6038 { 6039 "datasource": { 6040 "type": "prometheus", 6041 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6042 }, 6043 "editorMode": "code", 6044 "exemplar": true, 6045 "expr": "sum(sum(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(container) *8", 6046 "interval": "", 6047 "intervalFactor": 1, 6048 "legendFormat": "Outflow:{{ container }}", 6049 "metric": "network", 6050 "range": true, 6051 "refId": "B", 6052 "step": 10 6053 }, 6054 { 6055 "datasource": { 6056 "type": "prometheus", 6057 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6058 }, 6059 "expr": "sum (rate (container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)", 6060 "hide": true, 6061 "interval": "", 6062 "intervalFactor": 1, 6063 "legendFormat": "-> {{ pod }}", 6064 "metric": "network", 6065 "refId": "C", 6066 "step": 10 6067 }, 6068 { 6069 "datasource": { 6070 "type": "prometheus", 6071 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6072 }, 6073 "expr": "- sum (rate (container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)", 6074 "hide": true, 6075 "interval": "", 6076 "intervalFactor": 1, 6077 "legendFormat": "<- {{ pod }}", 6078 "metric": "network", 6079 "refId": "D", 6080 "step": 10 6081 } 6082 ], 6083 "title": "Microservice (Container Name) Network bandwidth per second (Associable Nodes)", 6084 "type": "timeseries" 6085 }, 6086 { 6087 "datasource": { 6088 "type": "prometheus", 6089 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6090 }, 6091 "fieldConfig": { 6092 "defaults": { 6093 "color": { 6094 "mode": "palette-classic" 6095 }, 6096 "custom": { 6097 "axisBorderShow": false, 6098 "axisCenteredZero": false, 6099 "axisColorMode": "text", 6100 "axisLabel": "", 6101 "axisPlacement": "auto", 6102 "barAlignment": 0, 6103 "drawStyle": "line", 6104 "fillOpacity": 0, 6105 "gradientMode": "none", 6106 "hideFrom": { 6107 "legend": false, 6108 "tooltip": false, 6109 "viz": false 6110 }, 6111 "insertNulls": false, 6112 "lineInterpolation": "linear", 6113 "lineWidth": 1, 6114 "pointSize": 5, 6115 "scaleDistribution": { 6116 "type": "linear" 6117 }, 6118 "showPoints": "never", 6119 "spanNulls": false, 6120 "stacking": { 6121 "group": "A", 6122 "mode": "none" 6123 }, 6124 "thresholdsStyle": { 6125 "mode": "off" 6126 } 6127 }, 6128 "links": [], 6129 "mappings": [], 6130 "thresholds": { 6131 "mode": "absolute", 6132 "steps": [ 6133 { 6134 "color": "green" 6135 }, 6136 { 6137 "color": "red", 6138 "value": 80 6139 } 6140 ] 6141 }, 6142 "unit": "none" 6143 }, 6144 "overrides": [ 6145 { 6146 "matcher": { 6147 "id": "byRegexp", 6148 "options": "/CPU Limit.*/" 6149 }, 6150 "properties": [ 6151 { 6152 "id": "color", 6153 "value": { 6154 "fixedColor": "red", 6155 "mode": "fixed" 6156 } 6157 } 6158 ] 6159 } 6160 ] 6161 }, 6162 "gridPos": { 6163 "h": 8, 6164 "w": 8, 6165 "x": 0, 6166 "y": 19 6167 }, 6168 "id": 91, 6169 "options": { 6170 "legend": { 6171 "calcs": ["max", "last", "mean"], 6172 "displayMode": "table", 6173 "placement": "bottom", 6174 "showLegend": true, 6175 "sortBy": "Max", 6176 "sortDesc": true 6177 }, 6178 "tooltip": { 6179 "mode": "multi", 6180 "sort": "desc" 6181 } 6182 }, 6183 "pluginVersion": "10.4.1", 6184 "targets": [ 6185 { 6186 "datasource": { 6187 "type": "prometheus", 6188 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6189 }, 6190 "editorMode": "code", 6191 "exemplar": true, 6192 "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 6193 "hide": false, 6194 "instant": false, 6195 "interval": "", 6196 "intervalFactor": 1, 6197 "legendFormat": "CPU Limitations:{{ container}}", 6198 "metric": "container_cpu", 6199 "refId": "A", 6200 "step": 10 6201 }, 6202 { 6203 "datasource": { 6204 "type": "prometheus", 6205 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6206 }, 6207 "editorMode": "code", 6208 "exemplar": true, 6209 "expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container)", 6210 "hide": false, 6211 "instant": false, 6212 "interval": "", 6213 "intervalFactor": 1, 6214 "legendFormat": "CPU Core Usage:{{ container}}", 6215 "metric": "container_cpu", 6216 "refId": "B", 6217 "step": 10 6218 } 6219 ], 6220 "title": "Microservices (Container Name) Overall CPU Cores Used", 6221 "type": "timeseries" 6222 }, 6223 { 6224 "datasource": { 6225 "type": "prometheus", 6226 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6227 }, 6228 "fieldConfig": { 6229 "defaults": { 6230 "color": { 6231 "mode": "palette-classic" 6232 }, 6233 "custom": { 6234 "axisBorderShow": false, 6235 "axisCenteredZero": false, 6236 "axisColorMode": "text", 6237 "axisLabel": "", 6238 "axisPlacement": "auto", 6239 "barAlignment": 0, 6240 "drawStyle": "line", 6241 "fillOpacity": 0, 6242 "gradientMode": "none", 6243 "hideFrom": { 6244 "legend": false, 6245 "tooltip": false, 6246 "viz": false 6247 }, 6248 "insertNulls": false, 6249 "lineInterpolation": "linear", 6250 "lineWidth": 1, 6251 "pointSize": 5, 6252 "scaleDistribution": { 6253 "type": "linear" 6254 }, 6255 "showPoints": "never", 6256 "spanNulls": false, 6257 "stacking": { 6258 "group": "A", 6259 "mode": "none" 6260 }, 6261 "thresholdsStyle": { 6262 "mode": "off" 6263 } 6264 }, 6265 "links": [], 6266 "mappings": [], 6267 "thresholds": { 6268 "mode": "absolute", 6269 "steps": [ 6270 { 6271 "color": "green" 6272 }, 6273 { 6274 "color": "red", 6275 "value": 80 6276 } 6277 ] 6278 }, 6279 "unit": "bytes" 6280 }, 6281 "overrides": [ 6282 { 6283 "matcher": { 6284 "id": "byRegexp", 6285 "options": "/Memory Limit.*/" 6286 }, 6287 "properties": [ 6288 { 6289 "id": "color", 6290 "value": { 6291 "fixedColor": "red", 6292 "mode": "fixed" 6293 } 6294 } 6295 ] 6296 } 6297 ] 6298 }, 6299 "gridPos": { 6300 "h": 8, 6301 "w": 8, 6302 "x": 8, 6303 "y": 19 6304 }, 6305 "id": 90, 6306 "options": { 6307 "legend": { 6308 "calcs": ["max", "last", "mean"], 6309 "displayMode": "table", 6310 "placement": "bottom", 6311 "showLegend": true, 6312 "sortBy": "Max", 6313 "sortDesc": true 6314 }, 6315 "tooltip": { 6316 "mode": "multi", 6317 "sort": "desc" 6318 } 6319 }, 6320 "pluginVersion": "10.4.1", 6321 "targets": [ 6322 { 6323 "datasource": { 6324 "type": "prometheus", 6325 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6326 }, 6327 "editorMode": "code", 6328 "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 6329 "interval": "", 6330 "intervalFactor": 1, 6331 "legendFormat": "WSS:{{ container }}", 6332 "metric": "container_memory_usage:sort_desc", 6333 "range": true, 6334 "refId": "A", 6335 "step": 10 6336 }, 6337 { 6338 "datasource": { 6339 "type": "prometheus", 6340 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6341 }, 6342 "editorMode": "code", 6343 "expr": "sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 6344 "interval": "", 6345 "intervalFactor": 1, 6346 "legendFormat": "Memory Limit:{{ container }}", 6347 "metric": "container_memory_usage:sort_desc", 6348 "range": true, 6349 "refId": "B", 6350 "step": 10 6351 }, 6352 { 6353 "datasource": { 6354 "type": "prometheus", 6355 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6356 }, 6357 "editorMode": "code", 6358 "expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)", 6359 "hide": false, 6360 "interval": "", 6361 "intervalFactor": 1, 6362 "legendFormat": "RSS:{{ container }}", 6363 "metric": "container_memory_usage:sort_desc", 6364 "range": true, 6365 "refId": "C", 6366 "step": 10 6367 } 6368 ], 6369 "title": "Microservices (Container Name) Overall Memory Usage", 6370 "type": "timeseries" 6371 }, 6372 { 6373 "datasource": { 6374 "type": "prometheus", 6375 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6376 }, 6377 "fieldConfig": { 6378 "defaults": { 6379 "color": { 6380 "mode": "palette-classic" 6381 }, 6382 "custom": { 6383 "axisBorderShow": false, 6384 "axisCenteredZero": false, 6385 "axisColorMode": "text", 6386 "axisLabel": "", 6387 "axisPlacement": "auto", 6388 "barAlignment": 0, 6389 "drawStyle": "line", 6390 "fillOpacity": 0, 6391 "gradientMode": "none", 6392 "hideFrom": { 6393 "legend": false, 6394 "tooltip": false, 6395 "viz": false 6396 }, 6397 "insertNulls": false, 6398 "lineInterpolation": "linear", 6399 "lineWidth": 1, 6400 "pointSize": 5, 6401 "scaleDistribution": { 6402 "type": "linear" 6403 }, 6404 "showPoints": "never", 6405 "spanNulls": false, 6406 "stacking": { 6407 "group": "A", 6408 "mode": "none" 6409 }, 6410 "thresholdsStyle": { 6411 "mode": "off" 6412 } 6413 }, 6414 "links": [], 6415 "mappings": [], 6416 "thresholds": { 6417 "mode": "absolute", 6418 "steps": [ 6419 { 6420 "color": "green" 6421 }, 6422 { 6423 "color": "red", 6424 "value": 80 6425 } 6426 ] 6427 }, 6428 "unit": "none" 6429 }, 6430 "overrides": [] 6431 }, 6432 "gridPos": { 6433 "h": 8, 6434 "w": 8, 6435 "x": 16, 6436 "y": 19 6437 }, 6438 "id": 59, 6439 "options": { 6440 "legend": { 6441 "calcs": ["max", "last", "mean"], 6442 "displayMode": "table", 6443 "placement": "bottom", 6444 "showLegend": true 6445 }, 6446 "tooltip": { 6447 "mode": "multi", 6448 "sort": "desc" 6449 } 6450 }, 6451 "pluginVersion": "10.4.1", 6452 "targets": [ 6453 { 6454 "datasource": { 6455 "type": "prometheus", 6456 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6457 }, 6458 "editorMode": "code", 6459 "expr": "count(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by(container,namespace)", 6460 "interval": "", 6461 "intervalFactor": 1, 6462 "legendFormat": "{{namespace}}:{{ container }}", 6463 "metric": "container_memory_usage:sort_desc", 6464 "range": true, 6465 "refId": "A", 6466 "step": 10 6467 } 6468 ], 6469 "title": "Microservice (Container Name) Pod Number", 6470 "type": "timeseries" 6471 } 6472 ], 6473 "title": "Microservices (Container Name) Resource Overview:Selected Microservices:【$Container】", 6474 "type": "row" 6475 } 6476 ], 6477 "refresh": "", 6478 "schemaVersion": 39, 6479 "tags": ["Prometheus", "Kubernetes"], 6480 "templating": { 6481 "list": [ 6482 { 6483 "allValue": "", 6484 "current": {}, 6485 "datasource": { 6486 "type": "prometheus", 6487 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6488 }, 6489 "definition": "label_values(kube_node_info,origin_prometheus)", 6490 "hide": 0, 6491 "includeAll": false, 6492 "label": "K8S", 6493 "multi": false, 6494 "name": "origin_prometheus", 6495 "options": [], 6496 "query": { 6497 "query": "label_values(kube_node_info,origin_prometheus)", 6498 "refId": "StandardVariableQuery" 6499 }, 6500 "refresh": 2, 6501 "regex": "", 6502 "skipUrlSync": false, 6503 "sort": 5, 6504 "tagValuesQuery": "", 6505 "tagsQuery": "", 6506 "type": "query", 6507 "useTags": false 6508 }, 6509 { 6510 "allValue": ".*", 6511 "current": {}, 6512 "datasource": { 6513 "type": "prometheus", 6514 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6515 }, 6516 "definition": "label_values(kube_node_info{origin_prometheus=~\"$origin_prometheus\"},node)", 6517 "hide": 0, 6518 "includeAll": true, 6519 "label": "Nodes", 6520 "multi": false, 6521 "name": "Node", 6522 "options": [], 6523 "query": { 6524 "query": "label_values(kube_node_info{origin_prometheus=~\"$origin_prometheus\"},node)", 6525 "refId": "StandardVariableQuery" 6526 }, 6527 "refresh": 2, 6528 "regex": "", 6529 "skipUrlSync": false, 6530 "sort": 5, 6531 "tagValuesQuery": "", 6532 "tagsQuery": "", 6533 "type": "query", 6534 "useTags": false 6535 }, 6536 { 6537 "allValue": ".*", 6538 "current": {}, 6539 "datasource": { 6540 "type": "prometheus", 6541 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6542 }, 6543 "definition": "label_values(kube_namespace_created{origin_prometheus=~\"$origin_prometheus\"},namespace)", 6544 "hide": 0, 6545 "includeAll": true, 6546 "label": "Namespace", 6547 "multi": false, 6548 "name": "NameSpace", 6549 "options": [], 6550 "query": { 6551 "query": "label_values(kube_namespace_created{origin_prometheus=~\"$origin_prometheus\"},namespace)", 6552 "refId": "PrometheusVariableQueryEditor-VariableQuery" 6553 }, 6554 "refresh": 2, 6555 "regex": "", 6556 "skipUrlSync": false, 6557 "sort": 5, 6558 "tagValuesQuery": "", 6559 "tagsQuery": "", 6560 "type": "query", 6561 "useTags": false 6562 }, 6563 { 6564 "allValue": ".*", 6565 "current": {}, 6566 "datasource": { 6567 "type": "prometheus", 6568 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6569 }, 6570 "definition": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\"},container)", 6571 "hide": 0, 6572 "includeAll": true, 6573 "label": "Microservice (Container Name)", 6574 "multi": false, 6575 "name": "Container", 6576 "options": [], 6577 "query": { 6578 "query": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\"},container)", 6579 "refId": "StandardVariableQuery" 6580 }, 6581 "refresh": 2, 6582 "regex": "", 6583 "skipUrlSync": false, 6584 "sort": 5, 6585 "tagValuesQuery": "", 6586 "tagsQuery": "", 6587 "type": "query", 6588 "useTags": false 6589 }, 6590 { 6591 "allValue": ".*", 6592 "current": {}, 6593 "datasource": { 6594 "type": "prometheus", 6595 "uid": "${DS__VICTORIAMETRICS-PROD-ALL}" 6596 }, 6597 "definition": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container=~\"$Container\"},pod)", 6598 "hide": 0, 6599 "includeAll": true, 6600 "label": "Pod", 6601 "multi": false, 6602 "name": "Pod", 6603 "options": [], 6604 "query": { 6605 "query": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container=~\"$Container\"},pod)", 6606 "refId": "StandardVariableQuery" 6607 }, 6608 "refresh": 2, 6609 "regex": "", 6610 "skipUrlSync": false, 6611 "sort": 5, 6612 "tagValuesQuery": "", 6613 "tagsQuery": "", 6614 "type": "query", 6615 "useTags": false 6616 } 6617 ] 6618 }, 6619 "time": { 6620 "from": "now-30m", 6621 "to": "now" 6622 }, 6623 "timepicker": { 6624 "refresh_intervals": ["30s", "1m", "5m", "15m", "30m", "1h"], 6625 "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"] 6626 }, 6627 "timezone": "browser", 6628 "title": "K8S Dashboard", 6629 "version": 8 6630 }