istio.io/istio@v0.0.0-20240520182934-d79c90f27776/manifests/addons/dashboards/istio-performance-dashboard.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": { 7 "type": "datasource", 8 "uid": "grafana" 9 }, 10 "enable": true, 11 "hide": true, 12 "iconColor": "rgba(0, 211, 255, 1)", 13 "name": "Annotations & Alerts", 14 "type": "dashboard" 15 } 16 ] 17 }, 18 "editable": true, 19 "fiscalYearStartMonth": 0, 20 "graphTooltip": 0, 21 "links": [], 22 "liveNow": false, 23 "panels": [ 24 { 25 "collapsed": false, 26 "datasource": { 27 "type": "prometheus", 28 "uid": "${datasource}" 29 }, 30 "gridPos": { 31 "h": 1, 32 "w": 24, 33 "x": 0, 34 "y": 0 35 }, 36 "id": 21, 37 "panels": [], 38 "targets": [ 39 { 40 "datasource": { 41 "type": "prometheus", 42 "uid": "${datasource}" 43 }, 44 "refId": "A" 45 } 46 ], 47 "title": "Performance Dashboard Notes", 48 "type": "row" 49 }, 50 { 51 "gridPos": { 52 "h": 6, 53 "w": 24, 54 "x": 0, 55 "y": 1 56 }, 57 "id": 19, 58 "links": [], 59 "options": { 60 "code": { 61 "language": "plaintext", 62 "showLineNumbers": false, 63 "showMiniMap": false 64 }, 65 "content": "The charts on this dashboard are intended to show Istio main components cost in terms of resources utilization under steady load.\n\n- **vCPU / 1k rps:** shows vCPU utilization by the main Istio components normalized by 1000 requests/second. When idle or low traffic, this chart will be blank. The curve for istio-proxy refers to the services sidecars only.\n- **vCPU:** vCPU utilization by Istio components, not normalized.\n- **Memory:** memory footprint for the components. Telemetry and policy are normalized by 1k rps, and no data is shown when there is no traffic. For ingress and istio-proxy, the data is per instance.\n- **Bytes transferred / sec:** shows the number of bytes flowing through each Istio component.\n\n\n", 66 "mode": "markdown" 67 }, 68 "pluginVersion": "10.1.5", 69 "title": "Performance Dashboard README", 70 "transparent": true, 71 "type": "text" 72 }, 73 { 74 "collapsed": false, 75 "datasource": { 76 "type": "prometheus", 77 "uid": "${datasource}" 78 }, 79 "gridPos": { 80 "h": 1, 81 "w": 24, 82 "x": 0, 83 "y": 7 84 }, 85 "id": 6, 86 "panels": [], 87 "targets": [ 88 { 89 "datasource": { 90 "type": "prometheus", 91 "uid": "${datasource}" 92 }, 93 "refId": "A" 94 } 95 ], 96 "title": "vCPU Usage", 97 "type": "row" 98 }, 99 { 100 "datasource": { 101 "type": "prometheus", 102 "uid": "${datasource}" 103 }, 104 "fieldConfig": { 105 "defaults": { 106 "color": { 107 "mode": "palette-classic" 108 }, 109 "custom": { 110 "axisCenteredZero": false, 111 "axisColorMode": "text", 112 "axisLabel": "", 113 "axisPlacement": "auto", 114 "barAlignment": 0, 115 "drawStyle": "line", 116 "fillOpacity": 10, 117 "gradientMode": "none", 118 "hideFrom": { 119 "legend": false, 120 "tooltip": false, 121 "viz": false 122 }, 123 "insertNulls": false, 124 "lineInterpolation": "linear", 125 "lineWidth": 1, 126 "pointSize": 5, 127 "scaleDistribution": { 128 "type": "linear" 129 }, 130 "showPoints": "never", 131 "spanNulls": false, 132 "stacking": { 133 "group": "A", 134 "mode": "none" 135 }, 136 "thresholdsStyle": { 137 "mode": "off" 138 } 139 }, 140 "mappings": [], 141 "thresholds": { 142 "mode": "absolute", 143 "steps": [ 144 { 145 "color": "green", 146 "value": null 147 }, 148 { 149 "color": "red", 150 "value": 80 151 } 152 ] 153 }, 154 "unit": "short" 155 }, 156 "overrides": [] 157 }, 158 "gridPos": { 159 "h": 8, 160 "w": 12, 161 "x": 0, 162 "y": 8 163 }, 164 "id": 4, 165 "links": [], 166 "options": { 167 "legend": { 168 "calcs": [], 169 "displayMode": "list", 170 "placement": "bottom", 171 "showLegend": true 172 }, 173 "tooltip": { 174 "mode": "multi", 175 "sort": "none" 176 } 177 }, 178 "pluginVersion": "10.1.5", 179 "targets": [ 180 { 181 "datasource": { 182 "type": "prometheus", 183 "uid": "${datasource}" 184 }, 185 "expr": "(sum(irate(container_cpu_usage_seconds_total{pod=~\"istio-ingressgateway-.*\",container=\"istio-proxy\"}[1m])) / (round(sum(irate(istio_requests_total{source_workload=\"istio-ingressgateway\", reporter=\"source\"}[1m])), 0.001)/1000))", 186 "format": "time_series", 187 "hide": false, 188 "intervalFactor": 1, 189 "legendFormat": "istio-ingressgateway", 190 "refId": "A" 191 }, 192 { 193 "datasource": { 194 "type": "prometheus", 195 "uid": "${datasource}" 196 }, 197 "expr": "(sum(irate(container_cpu_usage_seconds_total{namespace!=\"istio-system\",container=\"istio-proxy\"}[1m]))/ (round(sum(irate(istio_requests_total[1m])), 0.001)/1000))/ (sum(irate(istio_requests_total{source_workload=\"istio-ingressgateway\"}[1m])) >bool 10)", 198 "format": "time_series", 199 "intervalFactor": 1, 200 "legendFormat": "istio-proxy", 201 "refId": "B" 202 } 203 ], 204 "title": "vCPU / 1k rps", 205 "type": "timeseries" 206 }, 207 { 208 "datasource": { 209 "type": "prometheus", 210 "uid": "${datasource}" 211 }, 212 "fieldConfig": { 213 "defaults": { 214 "color": { 215 "mode": "palette-classic" 216 }, 217 "custom": { 218 "axisCenteredZero": false, 219 "axisColorMode": "text", 220 "axisLabel": "", 221 "axisPlacement": "auto", 222 "barAlignment": 0, 223 "drawStyle": "line", 224 "fillOpacity": 10, 225 "gradientMode": "none", 226 "hideFrom": { 227 "legend": false, 228 "tooltip": false, 229 "viz": false 230 }, 231 "insertNulls": false, 232 "lineInterpolation": "linear", 233 "lineWidth": 1, 234 "pointSize": 5, 235 "scaleDistribution": { 236 "type": "linear" 237 }, 238 "showPoints": "never", 239 "spanNulls": false, 240 "stacking": { 241 "group": "A", 242 "mode": "none" 243 }, 244 "thresholdsStyle": { 245 "mode": "off" 246 } 247 }, 248 "mappings": [], 249 "thresholds": { 250 "mode": "absolute", 251 "steps": [ 252 { 253 "color": "green", 254 "value": null 255 }, 256 { 257 "color": "red", 258 "value": 80 259 } 260 ] 261 }, 262 "unit": "short" 263 }, 264 "overrides": [] 265 }, 266 "gridPos": { 267 "h": 8, 268 "w": 12, 269 "x": 12, 270 "y": 8 271 }, 272 "id": 7, 273 "links": [], 274 "options": { 275 "legend": { 276 "calcs": [], 277 "displayMode": "list", 278 "placement": "bottom", 279 "showLegend": true 280 }, 281 "tooltip": { 282 "mode": "multi", 283 "sort": "none" 284 } 285 }, 286 "pluginVersion": "10.1.5", 287 "targets": [ 288 { 289 "datasource": { 290 "type": "prometheus", 291 "uid": "${datasource}" 292 }, 293 "expr": "sum(rate(container_cpu_usage_seconds_total{pod=~\"istio-ingressgateway-.*\",container=\"istio-proxy\"}[1m]))", 294 "format": "time_series", 295 "intervalFactor": 1, 296 "legendFormat": "istio-ingressgateway", 297 "refId": "A" 298 }, 299 { 300 "datasource": { 301 "type": "prometheus", 302 "uid": "${datasource}" 303 }, 304 "expr": "sum(rate(container_cpu_usage_seconds_total{namespace!=\"istio-system\",container=\"istio-proxy\"}[1m]))", 305 "format": "time_series", 306 "intervalFactor": 1, 307 "legendFormat": "istio-proxy", 308 "refId": "B" 309 } 310 ], 311 "title": "vCPU", 312 "type": "timeseries" 313 }, 314 { 315 "collapsed": false, 316 "datasource": { 317 "type": "prometheus", 318 "uid": "${datasource}" 319 }, 320 "gridPos": { 321 "h": 1, 322 "w": 24, 323 "x": 0, 324 "y": 16 325 }, 326 "id": 13, 327 "panels": [], 328 "targets": [ 329 { 330 "datasource": { 331 "type": "prometheus", 332 "uid": "${datasource}" 333 }, 334 "refId": "A" 335 } 336 ], 337 "title": "Memory and Data Rates", 338 "type": "row" 339 }, 340 { 341 "datasource": { 342 "type": "prometheus", 343 "uid": "${datasource}" 344 }, 345 "fieldConfig": { 346 "defaults": { 347 "color": { 348 "mode": "palette-classic" 349 }, 350 "custom": { 351 "axisCenteredZero": false, 352 "axisColorMode": "text", 353 "axisLabel": "", 354 "axisPlacement": "auto", 355 "barAlignment": 0, 356 "drawStyle": "line", 357 "fillOpacity": 10, 358 "gradientMode": "none", 359 "hideFrom": { 360 "legend": false, 361 "tooltip": false, 362 "viz": false 363 }, 364 "insertNulls": false, 365 "lineInterpolation": "linear", 366 "lineWidth": 1, 367 "pointSize": 5, 368 "scaleDistribution": { 369 "type": "linear" 370 }, 371 "showPoints": "never", 372 "spanNulls": false, 373 "stacking": { 374 "group": "A", 375 "mode": "none" 376 }, 377 "thresholdsStyle": { 378 "mode": "off" 379 } 380 }, 381 "mappings": [], 382 "thresholds": { 383 "mode": "absolute", 384 "steps": [ 385 { 386 "color": "green", 387 "value": null 388 }, 389 { 390 "color": "red", 391 "value": 80 392 } 393 ] 394 }, 395 "unit": "bytes" 396 }, 397 "overrides": [] 398 }, 399 "gridPos": { 400 "h": 8, 401 "w": 12, 402 "x": 0, 403 "y": 17 404 }, 405 "id": 902, 406 "links": [], 407 "options": { 408 "legend": { 409 "calcs": [], 410 "displayMode": "list", 411 "placement": "bottom", 412 "showLegend": true 413 }, 414 "tooltip": { 415 "mode": "multi", 416 "sort": "none" 417 } 418 }, 419 "pluginVersion": "10.1.5", 420 "targets": [ 421 { 422 "datasource": { 423 "type": "prometheus", 424 "uid": "${datasource}" 425 }, 426 "expr": "sum(container_memory_working_set_bytes{pod=~\"istio-ingressgateway-.*\"}) / count(container_memory_working_set_bytes{pod=~\"istio-ingressgateway-.*\",container!=\"POD\"})", 427 "format": "time_series", 428 "intervalFactor": 1, 429 "legendFormat": "per istio-ingressgateway", 430 "refId": "A" 431 }, 432 { 433 "datasource": { 434 "type": "prometheus", 435 "uid": "${datasource}" 436 }, 437 "expr": "sum(container_memory_working_set_bytes{namespace!=\"istio-system\",container=\"istio-proxy\"}) / count(container_memory_working_set_bytes{namespace!=\"istio-system\",container=\"istio-proxy\"})", 438 "format": "time_series", 439 "intervalFactor": 1, 440 "legendFormat": "per istio proxy", 441 "refId": "B" 442 } 443 ], 444 "title": "Memory Usage", 445 "type": "timeseries" 446 }, 447 { 448 "datasource": { 449 "type": "prometheus", 450 "uid": "${datasource}" 451 }, 452 "fieldConfig": { 453 "defaults": { 454 "color": { 455 "mode": "palette-classic" 456 }, 457 "custom": { 458 "axisCenteredZero": false, 459 "axisColorMode": "text", 460 "axisLabel": "", 461 "axisPlacement": "auto", 462 "barAlignment": 0, 463 "drawStyle": "line", 464 "fillOpacity": 10, 465 "gradientMode": "none", 466 "hideFrom": { 467 "legend": false, 468 "tooltip": false, 469 "viz": false 470 }, 471 "insertNulls": false, 472 "lineInterpolation": "linear", 473 "lineWidth": 1, 474 "pointSize": 5, 475 "scaleDistribution": { 476 "type": "linear" 477 }, 478 "showPoints": "never", 479 "spanNulls": false, 480 "stacking": { 481 "group": "A", 482 "mode": "none" 483 }, 484 "thresholdsStyle": { 485 "mode": "off" 486 } 487 }, 488 "mappings": [], 489 "thresholds": { 490 "mode": "absolute", 491 "steps": [ 492 { 493 "color": "green", 494 "value": null 495 }, 496 { 497 "color": "red", 498 "value": 80 499 } 500 ] 501 }, 502 "unit": "Bps" 503 }, 504 "overrides": [] 505 }, 506 "gridPos": { 507 "h": 8, 508 "w": 12, 509 "x": 12, 510 "y": 17 511 }, 512 "id": 11, 513 "links": [], 514 "options": { 515 "legend": { 516 "calcs": [], 517 "displayMode": "list", 518 "placement": "bottom", 519 "showLegend": true 520 }, 521 "tooltip": { 522 "mode": "multi", 523 "sort": "none" 524 } 525 }, 526 "pluginVersion": "10.1.5", 527 "targets": [ 528 { 529 "datasource": { 530 "type": "prometheus", 531 "uid": "${datasource}" 532 }, 533 "expr": "sum(irate(istio_response_bytes_sum{source_workload=\"istio-ingressgateway\", reporter=\"source\"}[1m]))", 534 "format": "time_series", 535 "intervalFactor": 1, 536 "legendFormat": "istio-ingressgateway", 537 "refId": "A" 538 }, 539 { 540 "datasource": { 541 "type": "prometheus", 542 "uid": "${datasource}" 543 }, 544 "expr": "sum(irate(istio_response_bytes_sum{source_workload_namespace!=\"istio-system\", reporter=\"source\"}[1m])) + sum(irate(istio_request_bytes_sum{source_workload_namespace!=\"istio-system\", reporter=\"source\"}[1m]))", 545 "format": "time_series", 546 "intervalFactor": 1, 547 "legendFormat": "istio-proxy", 548 "refId": "B" 549 } 550 ], 551 "title": "Bytes transferred / sec", 552 "type": "timeseries" 553 }, 554 { 555 "collapsed": false, 556 "datasource": { 557 "type": "prometheus", 558 "uid": "${datasource}" 559 }, 560 "gridPos": { 561 "h": 1, 562 "w": 24, 563 "x": 0, 564 "y": 25 565 }, 566 "id": 17, 567 "panels": [], 568 "targets": [ 569 { 570 "datasource": { 571 "type": "prometheus", 572 "uid": "${datasource}" 573 }, 574 "refId": "A" 575 } 576 ], 577 "title": "Istio Component Versions", 578 "type": "row" 579 }, 580 { 581 "datasource": { 582 "type": "prometheus", 583 "uid": "${datasource}" 584 }, 585 "fieldConfig": { 586 "defaults": { 587 "color": { 588 "mode": "palette-classic" 589 }, 590 "custom": { 591 "axisCenteredZero": false, 592 "axisColorMode": "text", 593 "axisLabel": "", 594 "axisPlacement": "auto", 595 "barAlignment": 0, 596 "drawStyle": "line", 597 "fillOpacity": 10, 598 "gradientMode": "none", 599 "hideFrom": { 600 "legend": false, 601 "tooltip": false, 602 "viz": false 603 }, 604 "insertNulls": false, 605 "lineInterpolation": "linear", 606 "lineWidth": 1, 607 "pointSize": 5, 608 "scaleDistribution": { 609 "type": "linear" 610 }, 611 "showPoints": "never", 612 "spanNulls": false, 613 "stacking": { 614 "group": "A", 615 "mode": "none" 616 }, 617 "thresholdsStyle": { 618 "mode": "off" 619 } 620 }, 621 "mappings": [], 622 "thresholds": { 623 "mode": "absolute", 624 "steps": [ 625 { 626 "color": "green", 627 "value": null 628 }, 629 { 630 "color": "red", 631 "value": 80 632 } 633 ] 634 }, 635 "unit": "short" 636 }, 637 "overrides": [] 638 }, 639 "gridPos": { 640 "h": 8, 641 "w": 24, 642 "x": 0, 643 "y": 26 644 }, 645 "id": 15, 646 "links": [], 647 "options": { 648 "legend": { 649 "calcs": [], 650 "displayMode": "list", 651 "placement": "bottom", 652 "showLegend": true 653 }, 654 "tooltip": { 655 "mode": "multi", 656 "sort": "none" 657 } 658 }, 659 "pluginVersion": "10.1.5", 660 "targets": [ 661 { 662 "datasource": { 663 "type": "prometheus", 664 "uid": "${datasource}" 665 }, 666 "expr": "sum(istio_build) by (component, tag)", 667 "format": "time_series", 668 "intervalFactor": 1, 669 "legendFormat": "{{ component }}: {{ tag }}", 670 "refId": "A" 671 } 672 ], 673 "title": "Istio Components by Version", 674 "type": "timeseries" 675 }, 676 { 677 "collapsed": false, 678 "datasource": { 679 "type": "prometheus", 680 "uid": "${datasource}" 681 }, 682 "gridPos": { 683 "h": 1, 684 "w": 24, 685 "x": 0, 686 "y": 34 687 }, 688 "id": 71, 689 "panels": [], 690 "targets": [ 691 { 692 "datasource": { 693 "type": "prometheus", 694 "uid": "${datasource}" 695 }, 696 "refId": "A" 697 } 698 ], 699 "title": "Proxy Resource Usage", 700 "type": "row" 701 }, 702 { 703 "datasource": { 704 "type": "prometheus", 705 "uid": "${datasource}" 706 }, 707 "fieldConfig": { 708 "defaults": { 709 "color": { 710 "mode": "palette-classic" 711 }, 712 "custom": { 713 "axisCenteredZero": false, 714 "axisColorMode": "text", 715 "axisLabel": "", 716 "axisPlacement": "auto", 717 "barAlignment": 0, 718 "drawStyle": "line", 719 "fillOpacity": 10, 720 "gradientMode": "none", 721 "hideFrom": { 722 "legend": false, 723 "tooltip": false, 724 "viz": false 725 }, 726 "insertNulls": false, 727 "lineInterpolation": "linear", 728 "lineWidth": 1, 729 "pointSize": 5, 730 "scaleDistribution": { 731 "type": "linear" 732 }, 733 "showPoints": "never", 734 "spanNulls": false, 735 "stacking": { 736 "group": "A", 737 "mode": "none" 738 }, 739 "thresholdsStyle": { 740 "mode": "off" 741 } 742 }, 743 "mappings": [], 744 "thresholds": { 745 "mode": "absolute", 746 "steps": [ 747 { 748 "color": "green", 749 "value": null 750 }, 751 { 752 "color": "red", 753 "value": 80 754 } 755 ] 756 }, 757 "unit": "bytes" 758 }, 759 "overrides": [] 760 }, 761 "gridPos": { 762 "h": 7, 763 "w": 6, 764 "x": 0, 765 "y": 35 766 }, 767 "id": 72, 768 "links": [], 769 "options": { 770 "legend": { 771 "calcs": [], 772 "displayMode": "list", 773 "placement": "bottom", 774 "showLegend": true 775 }, 776 "tooltip": { 777 "mode": "multi", 778 "sort": "none" 779 } 780 }, 781 "pluginVersion": "10.1.5", 782 "targets": [ 783 { 784 "datasource": { 785 "type": "prometheus", 786 "uid": "${datasource}" 787 }, 788 "expr": "sum(container_memory_working_set_bytes{container=\"istio-proxy\"})", 789 "format": "time_series", 790 "hide": false, 791 "intervalFactor": 2, 792 "legendFormat": "Total (k8s)", 793 "refId": "A", 794 "step": 2 795 } 796 ], 797 "title": "Memory", 798 "type": "timeseries" 799 }, 800 { 801 "datasource": { 802 "type": "prometheus", 803 "uid": "${datasource}" 804 }, 805 "fieldConfig": { 806 "defaults": { 807 "color": { 808 "mode": "palette-classic" 809 }, 810 "custom": { 811 "axisCenteredZero": false, 812 "axisColorMode": "text", 813 "axisLabel": "", 814 "axisPlacement": "auto", 815 "barAlignment": 0, 816 "drawStyle": "line", 817 "fillOpacity": 10, 818 "gradientMode": "none", 819 "hideFrom": { 820 "legend": false, 821 "tooltip": false, 822 "viz": false 823 }, 824 "insertNulls": false, 825 "lineInterpolation": "linear", 826 "lineWidth": 1, 827 "pointSize": 5, 828 "scaleDistribution": { 829 "type": "linear" 830 }, 831 "showPoints": "never", 832 "spanNulls": false, 833 "stacking": { 834 "group": "A", 835 "mode": "none" 836 }, 837 "thresholdsStyle": { 838 "mode": "off" 839 } 840 }, 841 "mappings": [], 842 "thresholds": { 843 "mode": "absolute", 844 "steps": [ 845 { 846 "color": "green", 847 "value": null 848 }, 849 { 850 "color": "red", 851 "value": 80 852 } 853 ] 854 }, 855 "unit": "short" 856 }, 857 "overrides": [] 858 }, 859 "gridPos": { 860 "h": 7, 861 "w": 6, 862 "x": 6, 863 "y": 35 864 }, 865 "id": 73, 866 "links": [], 867 "options": { 868 "legend": { 869 "calcs": [], 870 "displayMode": "list", 871 "placement": "bottom", 872 "showLegend": true 873 }, 874 "tooltip": { 875 "mode": "multi", 876 "sort": "none" 877 } 878 }, 879 "pluginVersion": "10.1.5", 880 "targets": [ 881 { 882 "datasource": { 883 "type": "prometheus", 884 "uid": "${datasource}" 885 }, 886 "expr": "sum(rate(container_cpu_usage_seconds_total{container=\"istio-proxy\"}[1m]))", 887 "format": "time_series", 888 "hide": false, 889 "intervalFactor": 2, 890 "legendFormat": "Total (k8s)", 891 "refId": "A", 892 "step": 2 893 } 894 ], 895 "title": "vCPU", 896 "type": "timeseries" 897 }, 898 { 899 "datasource": { 900 "type": "prometheus", 901 "uid": "${datasource}" 902 }, 903 "fieldConfig": { 904 "defaults": { 905 "color": { 906 "mode": "palette-classic" 907 }, 908 "custom": { 909 "axisCenteredZero": false, 910 "axisColorMode": "text", 911 "axisLabel": "", 912 "axisPlacement": "auto", 913 "barAlignment": 0, 914 "drawStyle": "line", 915 "fillOpacity": 10, 916 "gradientMode": "none", 917 "hideFrom": { 918 "legend": false, 919 "tooltip": false, 920 "viz": false 921 }, 922 "insertNulls": false, 923 "lineInterpolation": "linear", 924 "lineWidth": 1, 925 "pointSize": 5, 926 "scaleDistribution": { 927 "type": "linear" 928 }, 929 "showPoints": "never", 930 "spanNulls": false, 931 "stacking": { 932 "group": "A", 933 "mode": "none" 934 }, 935 "thresholdsStyle": { 936 "mode": "off" 937 } 938 }, 939 "mappings": [], 940 "thresholds": { 941 "mode": "absolute", 942 "steps": [ 943 { 944 "color": "green", 945 "value": null 946 }, 947 { 948 "color": "red", 949 "value": 80 950 } 951 ] 952 }, 953 "unit": "bytes" 954 }, 955 "overrides": [] 956 }, 957 "gridPos": { 958 "h": 7, 959 "w": 6, 960 "x": 12, 961 "y": 35 962 }, 963 "id": 702, 964 "links": [], 965 "options": { 966 "legend": { 967 "calcs": [], 968 "displayMode": "list", 969 "placement": "bottom", 970 "showLegend": true 971 }, 972 "tooltip": { 973 "mode": "multi", 974 "sort": "none" 975 } 976 }, 977 "pluginVersion": "10.1.5", 978 "targets": [ 979 { 980 "datasource": { 981 "type": "prometheus", 982 "uid": "${datasource}" 983 }, 984 "expr": "sum(container_fs_usage_bytes{container=\"istio-proxy\"})", 985 "format": "time_series", 986 "intervalFactor": 2, 987 "legendFormat": "Total (k8s)", 988 "refId": "A", 989 "step": 2 990 } 991 ], 992 "title": "Disk", 993 "type": "timeseries" 994 }, 995 { 996 "collapsed": false, 997 "datasource": { 998 "type": "prometheus", 999 "uid": "${datasource}" 1000 }, 1001 "gridPos": { 1002 "h": 1, 1003 "w": 24, 1004 "x": 0, 1005 "y": 42 1006 }, 1007 "id": 69, 1008 "panels": [], 1009 "targets": [ 1010 { 1011 "datasource": { 1012 "type": "prometheus", 1013 "uid": "${datasource}" 1014 }, 1015 "refId": "A" 1016 } 1017 ], 1018 "title": "Istiod Resource Usage", 1019 "type": "row" 1020 }, 1021 { 1022 "datasource": { 1023 "type": "prometheus", 1024 "uid": "${datasource}" 1025 }, 1026 "fieldConfig": { 1027 "defaults": { 1028 "color": { 1029 "mode": "palette-classic" 1030 }, 1031 "custom": { 1032 "axisCenteredZero": false, 1033 "axisColorMode": "text", 1034 "axisLabel": "", 1035 "axisPlacement": "auto", 1036 "barAlignment": 0, 1037 "drawStyle": "line", 1038 "fillOpacity": 10, 1039 "gradientMode": "none", 1040 "hideFrom": { 1041 "legend": false, 1042 "tooltip": false, 1043 "viz": false 1044 }, 1045 "insertNulls": false, 1046 "lineInterpolation": "linear", 1047 "lineWidth": 1, 1048 "pointSize": 5, 1049 "scaleDistribution": { 1050 "type": "linear" 1051 }, 1052 "showPoints": "never", 1053 "spanNulls": false, 1054 "stacking": { 1055 "group": "A", 1056 "mode": "none" 1057 }, 1058 "thresholdsStyle": { 1059 "mode": "off" 1060 } 1061 }, 1062 "mappings": [], 1063 "thresholds": { 1064 "mode": "absolute", 1065 "steps": [ 1066 { 1067 "color": "green", 1068 "value": null 1069 }, 1070 { 1071 "color": "red", 1072 "value": 80 1073 } 1074 ] 1075 }, 1076 "unit": "bytes" 1077 }, 1078 "overrides": [] 1079 }, 1080 "gridPos": { 1081 "h": 7, 1082 "w": 6, 1083 "x": 0, 1084 "y": 43 1085 }, 1086 "id": 5, 1087 "links": [], 1088 "options": { 1089 "legend": { 1090 "calcs": [], 1091 "displayMode": "list", 1092 "placement": "bottom", 1093 "showLegend": true 1094 }, 1095 "tooltip": { 1096 "mode": "multi", 1097 "sort": "none" 1098 } 1099 }, 1100 "pluginVersion": "10.1.5", 1101 "targets": [ 1102 { 1103 "datasource": { 1104 "type": "prometheus", 1105 "uid": "${datasource}" 1106 }, 1107 "expr": "process_virtual_memory_bytes{app=\"istiod\"}", 1108 "format": "time_series", 1109 "instant": false, 1110 "intervalFactor": 2, 1111 "legendFormat": "Virtual Memory", 1112 "refId": "I", 1113 "step": 2 1114 }, 1115 { 1116 "datasource": { 1117 "type": "prometheus", 1118 "uid": "${datasource}" 1119 }, 1120 "expr": "process_resident_memory_bytes{app=\"istiod\"}", 1121 "format": "time_series", 1122 "intervalFactor": 2, 1123 "legendFormat": "Resident Memory", 1124 "refId": "H", 1125 "step": 2 1126 }, 1127 { 1128 "datasource": { 1129 "type": "prometheus", 1130 "uid": "${datasource}" 1131 }, 1132 "expr": "go_memstats_heap_sys_bytes{app=\"istiod\"}", 1133 "format": "time_series", 1134 "hide": true, 1135 "intervalFactor": 2, 1136 "legendFormat": "heap sys", 1137 "refId": "A" 1138 }, 1139 { 1140 "datasource": { 1141 "type": "prometheus", 1142 "uid": "${datasource}" 1143 }, 1144 "expr": "go_memstats_heap_alloc_bytes{app=\"istiod\"}", 1145 "format": "time_series", 1146 "hide": true, 1147 "intervalFactor": 2, 1148 "legendFormat": "heap alloc", 1149 "refId": "D" 1150 }, 1151 { 1152 "datasource": { 1153 "type": "prometheus", 1154 "uid": "${datasource}" 1155 }, 1156 "expr": "go_memstats_alloc_bytes{app=\"istiod\"}", 1157 "format": "time_series", 1158 "intervalFactor": 2, 1159 "legendFormat": "Alloc", 1160 "refId": "F", 1161 "step": 2 1162 }, 1163 { 1164 "datasource": { 1165 "type": "prometheus", 1166 "uid": "${datasource}" 1167 }, 1168 "expr": "go_memstats_heap_inuse_bytes{app=\"istiod\"}", 1169 "format": "time_series", 1170 "hide": false, 1171 "intervalFactor": 2, 1172 "legendFormat": "Heap in-use", 1173 "refId": "E", 1174 "step": 2 1175 }, 1176 { 1177 "datasource": { 1178 "type": "prometheus", 1179 "uid": "${datasource}" 1180 }, 1181 "expr": "go_memstats_stack_inuse_bytes{app=\"istiod\"}", 1182 "format": "time_series", 1183 "intervalFactor": 2, 1184 "legendFormat": "Stack in-use", 1185 "refId": "G", 1186 "step": 2 1187 }, 1188 { 1189 "datasource": { 1190 "type": "prometheus", 1191 "uid": "${datasource}" 1192 }, 1193 "expr": "sum(container_memory_working_set_bytes{container=~\"discovery|istio-proxy\", pod=~\"istiod-.*\"})", 1194 "format": "time_series", 1195 "hide": false, 1196 "intervalFactor": 2, 1197 "legendFormat": "Total (k8s)", 1198 "refId": "C", 1199 "step": 2 1200 }, 1201 { 1202 "datasource": { 1203 "type": "prometheus", 1204 "uid": "${datasource}" 1205 }, 1206 "expr": "container_memory_working_set_bytes{container=~\"discovery|istio-proxy\", pod=~\"istiod-.*\"}", 1207 "format": "time_series", 1208 "hide": false, 1209 "intervalFactor": 2, 1210 "legendFormat": "{{ container }} (k8s)", 1211 "refId": "B", 1212 "step": 2 1213 } 1214 ], 1215 "title": "Memory", 1216 "type": "timeseries" 1217 }, 1218 { 1219 "datasource": { 1220 "type": "prometheus", 1221 "uid": "${datasource}" 1222 }, 1223 "fieldConfig": { 1224 "defaults": { 1225 "color": { 1226 "mode": "palette-classic" 1227 }, 1228 "custom": { 1229 "axisCenteredZero": false, 1230 "axisColorMode": "text", 1231 "axisLabel": "", 1232 "axisPlacement": "auto", 1233 "barAlignment": 0, 1234 "drawStyle": "line", 1235 "fillOpacity": 10, 1236 "gradientMode": "none", 1237 "hideFrom": { 1238 "legend": false, 1239 "tooltip": false, 1240 "viz": false 1241 }, 1242 "insertNulls": false, 1243 "lineInterpolation": "linear", 1244 "lineWidth": 1, 1245 "pointSize": 5, 1246 "scaleDistribution": { 1247 "type": "linear" 1248 }, 1249 "showPoints": "never", 1250 "spanNulls": false, 1251 "stacking": { 1252 "group": "A", 1253 "mode": "none" 1254 }, 1255 "thresholdsStyle": { 1256 "mode": "off" 1257 } 1258 }, 1259 "mappings": [], 1260 "thresholds": { 1261 "mode": "absolute", 1262 "steps": [ 1263 { 1264 "color": "green", 1265 "value": null 1266 }, 1267 { 1268 "color": "red", 1269 "value": 80 1270 } 1271 ] 1272 }, 1273 "unit": "short" 1274 }, 1275 "overrides": [] 1276 }, 1277 "gridPos": { 1278 "h": 7, 1279 "w": 6, 1280 "x": 6, 1281 "y": 43 1282 }, 1283 "id": 602, 1284 "links": [], 1285 "options": { 1286 "legend": { 1287 "calcs": [], 1288 "displayMode": "list", 1289 "placement": "bottom", 1290 "showLegend": true 1291 }, 1292 "tooltip": { 1293 "mode": "multi", 1294 "sort": "none" 1295 } 1296 }, 1297 "pluginVersion": "10.1.5", 1298 "targets": [ 1299 { 1300 "datasource": { 1301 "type": "prometheus", 1302 "uid": "${datasource}" 1303 }, 1304 "expr": "sum(rate(container_cpu_usage_seconds_total{container=~\"discovery|istio-proxy\", pod=~\"istiod-.*\"}[1m]))", 1305 "format": "time_series", 1306 "hide": false, 1307 "intervalFactor": 2, 1308 "legendFormat": "Total (k8s)", 1309 "refId": "A", 1310 "step": 2 1311 }, 1312 { 1313 "datasource": { 1314 "type": "prometheus", 1315 "uid": "${datasource}" 1316 }, 1317 "expr": "sum(rate(container_cpu_usage_seconds_total{container=~\"discovery|istio-proxy\", pod=~\"istiod-.*\"}[1m])) by (container)", 1318 "format": "time_series", 1319 "hide": false, 1320 "intervalFactor": 2, 1321 "legendFormat": "{{ container }} (k8s)", 1322 "refId": "B", 1323 "step": 2 1324 }, 1325 { 1326 "datasource": { 1327 "type": "prometheus", 1328 "uid": "${datasource}" 1329 }, 1330 "expr": "irate(process_cpu_seconds_total{app=\"istiod\"}[1m])", 1331 "format": "time_series", 1332 "hide": false, 1333 "intervalFactor": 2, 1334 "legendFormat": "pilot (self-reported)", 1335 "refId": "C", 1336 "step": 2 1337 } 1338 ], 1339 "title": "vCPU", 1340 "type": "timeseries" 1341 }, 1342 { 1343 "datasource": { 1344 "type": "prometheus", 1345 "uid": "${datasource}" 1346 }, 1347 "fieldConfig": { 1348 "defaults": { 1349 "color": { 1350 "mode": "palette-classic" 1351 }, 1352 "custom": { 1353 "axisCenteredZero": false, 1354 "axisColorMode": "text", 1355 "axisLabel": "", 1356 "axisPlacement": "auto", 1357 "barAlignment": 0, 1358 "drawStyle": "line", 1359 "fillOpacity": 10, 1360 "gradientMode": "none", 1361 "hideFrom": { 1362 "legend": false, 1363 "tooltip": false, 1364 "viz": false 1365 }, 1366 "insertNulls": false, 1367 "lineInterpolation": "linear", 1368 "lineWidth": 1, 1369 "pointSize": 5, 1370 "scaleDistribution": { 1371 "type": "linear" 1372 }, 1373 "showPoints": "never", 1374 "spanNulls": false, 1375 "stacking": { 1376 "group": "A", 1377 "mode": "none" 1378 }, 1379 "thresholdsStyle": { 1380 "mode": "off" 1381 } 1382 }, 1383 "mappings": [], 1384 "thresholds": { 1385 "mode": "absolute", 1386 "steps": [ 1387 { 1388 "color": "green", 1389 "value": null 1390 }, 1391 { 1392 "color": "red", 1393 "value": 80 1394 } 1395 ] 1396 }, 1397 "unit": "bytes" 1398 }, 1399 "overrides": [] 1400 }, 1401 "gridPos": { 1402 "h": 7, 1403 "w": 6, 1404 "x": 12, 1405 "y": 43 1406 }, 1407 "id": 74, 1408 "links": [], 1409 "options": { 1410 "legend": { 1411 "calcs": [], 1412 "displayMode": "list", 1413 "placement": "bottom", 1414 "showLegend": true 1415 }, 1416 "tooltip": { 1417 "mode": "multi", 1418 "sort": "none" 1419 } 1420 }, 1421 "pluginVersion": "10.1.5", 1422 "targets": [ 1423 { 1424 "datasource": { 1425 "type": "prometheus", 1426 "uid": "${datasource}" 1427 }, 1428 "expr": "process_open_fds{app=\"istiod\"}", 1429 "format": "time_series", 1430 "hide": true, 1431 "instant": false, 1432 "interval": "", 1433 "intervalFactor": 2, 1434 "legendFormat": "Open FDs (pilot)", 1435 "refId": "A" 1436 }, 1437 { 1438 "datasource": { 1439 "type": "prometheus", 1440 "uid": "${datasource}" 1441 }, 1442 "expr": "container_fs_usage_bytes{ container=~\"discovery|istio-proxy\", pod=~\"istiod-.*\"}", 1443 "format": "time_series", 1444 "intervalFactor": 2, 1445 "legendFormat": "{{ container }}", 1446 "refId": "B", 1447 "step": 2 1448 } 1449 ], 1450 "title": "Disk", 1451 "type": "timeseries" 1452 }, 1453 { 1454 "datasource": { 1455 "type": "prometheus", 1456 "uid": "${datasource}" 1457 }, 1458 "fieldConfig": { 1459 "defaults": { 1460 "color": { 1461 "mode": "palette-classic" 1462 }, 1463 "custom": { 1464 "axisCenteredZero": false, 1465 "axisColorMode": "text", 1466 "axisLabel": "", 1467 "axisPlacement": "auto", 1468 "barAlignment": 0, 1469 "drawStyle": "line", 1470 "fillOpacity": 10, 1471 "gradientMode": "none", 1472 "hideFrom": { 1473 "legend": false, 1474 "tooltip": false, 1475 "viz": false 1476 }, 1477 "insertNulls": false, 1478 "lineInterpolation": "linear", 1479 "lineWidth": 1, 1480 "pointSize": 5, 1481 "scaleDistribution": { 1482 "type": "linear" 1483 }, 1484 "showPoints": "never", 1485 "spanNulls": false, 1486 "stacking": { 1487 "group": "A", 1488 "mode": "none" 1489 }, 1490 "thresholdsStyle": { 1491 "mode": "off" 1492 } 1493 }, 1494 "mappings": [], 1495 "thresholds": { 1496 "mode": "absolute", 1497 "steps": [ 1498 { 1499 "color": "green", 1500 "value": null 1501 }, 1502 { 1503 "color": "red", 1504 "value": 80 1505 } 1506 ] 1507 }, 1508 "unit": "short" 1509 }, 1510 "overrides": [] 1511 }, 1512 "gridPos": { 1513 "h": 7, 1514 "w": 6, 1515 "x": 18, 1516 "y": 43 1517 }, 1518 "id": 402, 1519 "links": [], 1520 "options": { 1521 "legend": { 1522 "calcs": [], 1523 "displayMode": "list", 1524 "placement": "bottom", 1525 "showLegend": false 1526 }, 1527 "tooltip": { 1528 "mode": "multi", 1529 "sort": "none" 1530 } 1531 }, 1532 "pluginVersion": "10.1.5", 1533 "targets": [ 1534 { 1535 "datasource": { 1536 "type": "prometheus", 1537 "uid": "${datasource}" 1538 }, 1539 "expr": "go_goroutines{app=\"istiod\"}", 1540 "format": "time_series", 1541 "intervalFactor": 2, 1542 "legendFormat": "Number of Goroutines", 1543 "refId": "A", 1544 "step": 2 1545 } 1546 ], 1547 "title": "Goroutines", 1548 "type": "timeseries" 1549 } 1550 ], 1551 "refresh": "", 1552 "schemaVersion": 38, 1553 "style": "dark", 1554 "tags": [], 1555 "templating": { 1556 "list": [ 1557 { 1558 "hide": 0, 1559 "includeAll": false, 1560 "multi": false, 1561 "name": "datasource", 1562 "options": [], 1563 "query": "prometheus", 1564 "queryValue": "", 1565 "refresh": 1, 1566 "regex": "", 1567 "skipUrlSync": false, 1568 "type": "datasource" 1569 } 1570 ] 1571 }, 1572 "time": { 1573 "from": "now-30m", 1574 "to": "now" 1575 }, 1576 "timepicker": { 1577 "refresh_intervals": [ 1578 "30s", 1579 "1m", 1580 "5m", 1581 "15m", 1582 "30m", 1583 "1h", 1584 "2h", 1585 "1d" 1586 ], 1587 "time_options": [ 1588 "5m", 1589 "15m", 1590 "1h", 1591 "6h", 1592 "12h", 1593 "24h", 1594 "2d", 1595 "7d", 1596 "30d" 1597 ] 1598 }, 1599 "timezone": "", 1600 "title": "Istio Performance Dashboard", 1601 "version": 1, 1602 "weekStart": "" 1603 }