github.com/verrazzano/verrazzano@v1.7.1/platform-operator/thirdparty/charts/prometheus-community/kube-prometheus-stack/templates/grafana/dashboards-1.14/cluster-total.yaml (about) 1 {{- /* 2 Generated from 'cluster-total' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/main/manifests/grafana-dashboardDefinitions.yaml 3 Do not change in-place! In order to change this file first read following link: 4 https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack/hack 5 */ -}} 6 {{- $kubeTargetVersion := default .Capabilities.KubeVersion.GitVersion .Values.kubeTargetVersionOverride }} 7 {{- if and (or .Values.grafana.enabled .Values.grafana.forceDeployDashboards) (semverCompare ">=1.14.0-0" $kubeTargetVersion) (semverCompare "<9.9.9-9" $kubeTargetVersion) .Values.grafana.defaultDashboardsEnabled }} 8 apiVersion: v1 9 kind: ConfigMap 10 metadata: 11 namespace: {{ template "kube-prometheus-stack-grafana.namespace" . }} 12 name: {{ printf "%s-%s" (include "kube-prometheus-stack.fullname" $) "cluster-total" | trunc 63 | trimSuffix "-" }} 13 annotations: 14 {{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }} 15 labels: 16 {{- if $.Values.grafana.sidecar.dashboards.label }} 17 {{ $.Values.grafana.sidecar.dashboards.label }}: {{ ternary $.Values.grafana.sidecar.dashboards.labelValue "1" (not (empty $.Values.grafana.sidecar.dashboards.labelValue)) | quote }} 18 {{- end }} 19 app: {{ template "kube-prometheus-stack.name" $ }}-grafana 20 {{ include "kube-prometheus-stack.labels" $ | indent 4 }} 21 data: 22 cluster-total.json: |- 23 { 24 "__inputs": [ 25 26 ], 27 "__requires": [ 28 29 ], 30 "annotations": { 31 "list": [ 32 { 33 "builtIn": 1, 34 "datasource": "-- Grafana --", 35 "enable": true, 36 "hide": true, 37 "iconColor": "rgba(0, 211, 255, 1)", 38 "name": "Annotations & Alerts", 39 "type": "dashboard" 40 } 41 ] 42 }, 43 "editable": true, 44 "gnetId": null, 45 "graphTooltip": 0, 46 "hideControls": false, 47 "id": null, 48 "links": [ 49 50 ], 51 "panels": [ 52 { 53 "collapse": false, 54 "collapsed": false, 55 "gridPos": { 56 "h": 1, 57 "w": 24, 58 "x": 0, 59 "y": 0 60 }, 61 "id": 2, 62 "panels": [ 63 64 ], 65 "repeat": null, 66 "repeatIteration": null, 67 "repeatRowId": null, 68 "showTitle": true, 69 "title": "Current Bandwidth", 70 "titleSize": "h6", 71 "type": "row" 72 }, 73 { 74 "aliasColors": { 75 76 }, 77 "bars": true, 78 "dashLength": 10, 79 "dashes": false, 80 "datasource": "$datasource", 81 "fill": 2, 82 "fillGradient": 0, 83 "gridPos": { 84 "h": 9, 85 "w": 12, 86 "x": 0, 87 "y": 1 88 }, 89 "id": 3, 90 "legend": { 91 "alignAsTable": true, 92 "avg": false, 93 "current": true, 94 "hideEmpty": true, 95 "hideZero": true, 96 "max": false, 97 "min": false, 98 "rightSide": true, 99 "show": true, 100 "sideWidth": null, 101 "sort": "current", 102 "sortDesc": true, 103 "total": false, 104 "values": true 105 }, 106 "lines": false, 107 "linewidth": 1, 108 "links": [ 109 110 ], 111 "minSpan": 24, 112 "nullPointMode": "null", 113 "paceLength": 10, 114 "percentage": false, 115 "pointradius": 5, 116 "points": false, 117 "renderer": "flot", 118 "repeat": null, 119 "seriesOverrides": [ 120 121 ], 122 "spaceLength": 10, 123 "span": 24, 124 "stack": false, 125 "steppedLine": false, 126 "targets": [ 127 { 128 "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 129 "format": "time_series", 130 "intervalFactor": 1, 131 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 132 "refId": "A", 133 "step": 10 134 } 135 ], 136 "thresholds": [ 137 138 ], 139 "timeFrom": null, 140 "timeShift": null, 141 "title": "Current Rate of Bytes Received", 142 "tooltip": { 143 "shared": true, 144 "sort": 2, 145 "value_type": "individual" 146 }, 147 "type": "graph", 148 "xaxis": { 149 "buckets": null, 150 "mode": "series", 151 "name": null, 152 "show": false, 153 "values": [ 154 "current" 155 ] 156 }, 157 "yaxes": [ 158 { 159 "format": "Bps", 160 "label": null, 161 "logBase": 1, 162 "max": null, 163 "min": 0, 164 "show": true 165 }, 166 { 167 "format": "Bps", 168 "label": null, 169 "logBase": 1, 170 "max": null, 171 "min": 0, 172 "show": true 173 } 174 ] 175 }, 176 { 177 "aliasColors": { 178 179 }, 180 "bars": true, 181 "dashLength": 10, 182 "dashes": false, 183 "datasource": "$datasource", 184 "fill": 2, 185 "fillGradient": 0, 186 "gridPos": { 187 "h": 9, 188 "w": 12, 189 "x": 12, 190 "y": 1 191 }, 192 "id": 4, 193 "legend": { 194 "alignAsTable": true, 195 "avg": false, 196 "current": true, 197 "hideEmpty": true, 198 "hideZero": true, 199 "max": false, 200 "min": false, 201 "rightSide": true, 202 "show": true, 203 "sideWidth": null, 204 "sort": "current", 205 "sortDesc": true, 206 "total": false, 207 "values": true 208 }, 209 "lines": false, 210 "linewidth": 1, 211 "links": [ 212 213 ], 214 "minSpan": 24, 215 "nullPointMode": "null", 216 "paceLength": 10, 217 "percentage": false, 218 "pointradius": 5, 219 "points": false, 220 "renderer": "flot", 221 "repeat": null, 222 "seriesOverrides": [ 223 224 ], 225 "spaceLength": 10, 226 "span": 24, 227 "stack": false, 228 "steppedLine": false, 229 "targets": [ 230 { 231 "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 232 "format": "time_series", 233 "intervalFactor": 1, 234 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 235 "refId": "A", 236 "step": 10 237 } 238 ], 239 "thresholds": [ 240 241 ], 242 "timeFrom": null, 243 "timeShift": null, 244 "title": "Current Rate of Bytes Transmitted", 245 "tooltip": { 246 "shared": true, 247 "sort": 2, 248 "value_type": "individual" 249 }, 250 "type": "graph", 251 "xaxis": { 252 "buckets": null, 253 "mode": "series", 254 "name": null, 255 "show": false, 256 "values": [ 257 "current" 258 ] 259 }, 260 "yaxes": [ 261 { 262 "format": "Bps", 263 "label": null, 264 "logBase": 1, 265 "max": null, 266 "min": 0, 267 "show": true 268 }, 269 { 270 "format": "Bps", 271 "label": null, 272 "logBase": 1, 273 "max": null, 274 "min": 0, 275 "show": true 276 } 277 ] 278 }, 279 { 280 "columns": [ 281 { 282 "text": "Time", 283 "value": "Time" 284 }, 285 { 286 "text": "Value #A", 287 "value": "Value #A" 288 }, 289 { 290 "text": "Value #B", 291 "value": "Value #B" 292 }, 293 { 294 "text": "Value #C", 295 "value": "Value #C" 296 }, 297 { 298 "text": "Value #D", 299 "value": "Value #D" 300 }, 301 { 302 "text": "Value #E", 303 "value": "Value #E" 304 }, 305 { 306 "text": "Value #F", 307 "value": "Value #F" 308 }, 309 { 310 "text": "Value #G", 311 "value": "Value #G" 312 }, 313 { 314 "text": "Value #H", 315 "value": "Value #H" 316 }, 317 { 318 "text": "namespace", 319 "value": "namespace" 320 } 321 ], 322 "datasource": "$datasource", 323 "fill": 1, 324 "fontSize": "90%", 325 "gridPos": { 326 "h": 9, 327 "w": 24, 328 "x": 0, 329 "y": 10 330 }, 331 "id": 5, 332 "lines": true, 333 "linewidth": 1, 334 "links": [ 335 336 ], 337 "minSpan": 24, 338 "nullPointMode": "null as zero", 339 "renderer": "flot", 340 "scroll": true, 341 "showHeader": true, 342 "sort": { 343 "col": 0, 344 "desc": false 345 }, 346 "spaceLength": 10, 347 "span": 24, 348 "styles": [ 349 { 350 "alias": "Time", 351 "colorMode": null, 352 "colors": [ 353 354 ], 355 "dateFormat": "YYYY-MM-DD HH:mm:ss", 356 "decimals": 2, 357 "link": false, 358 "linkTooltip": "Drill down", 359 "linkUrl": "", 360 "pattern": "Time", 361 "thresholds": [ 362 363 ], 364 "type": "hidden", 365 "unit": "short" 366 }, 367 { 368 "alias": "Current Bandwidth Received", 369 "colorMode": null, 370 "colors": [ 371 372 ], 373 "dateFormat": "YYYY-MM-DD HH:mm:ss", 374 "decimals": 2, 375 "link": false, 376 "linkTooltip": "Drill down", 377 "linkUrl": "", 378 "pattern": "Value #A", 379 "thresholds": [ 380 381 ], 382 "type": "number", 383 "unit": "Bps" 384 }, 385 { 386 "alias": "Current Bandwidth Transmitted", 387 "colorMode": null, 388 "colors": [ 389 390 ], 391 "dateFormat": "YYYY-MM-DD HH:mm:ss", 392 "decimals": 2, 393 "link": false, 394 "linkTooltip": "Drill down", 395 "linkUrl": "", 396 "pattern": "Value #B", 397 "thresholds": [ 398 399 ], 400 "type": "number", 401 "unit": "Bps" 402 }, 403 { 404 "alias": "Average Bandwidth Received", 405 "colorMode": null, 406 "colors": [ 407 408 ], 409 "dateFormat": "YYYY-MM-DD HH:mm:ss", 410 "decimals": 2, 411 "link": false, 412 "linkTooltip": "Drill down", 413 "linkUrl": "", 414 "pattern": "Value #C", 415 "thresholds": [ 416 417 ], 418 "type": "number", 419 "unit": "Bps" 420 }, 421 { 422 "alias": "Average Bandwidth Transmitted", 423 "colorMode": null, 424 "colors": [ 425 426 ], 427 "dateFormat": "YYYY-MM-DD HH:mm:ss", 428 "decimals": 2, 429 "link": false, 430 "linkTooltip": "Drill down", 431 "linkUrl": "", 432 "pattern": "Value #D", 433 "thresholds": [ 434 435 ], 436 "type": "number", 437 "unit": "Bps" 438 }, 439 { 440 "alias": "Rate of Received Packets", 441 "colorMode": null, 442 "colors": [ 443 444 ], 445 "dateFormat": "YYYY-MM-DD HH:mm:ss", 446 "decimals": 2, 447 "link": false, 448 "linkTooltip": "Drill down", 449 "linkUrl": "", 450 "pattern": "Value #E", 451 "thresholds": [ 452 453 ], 454 "type": "number", 455 "unit": "pps" 456 }, 457 { 458 "alias": "Rate of Transmitted Packets", 459 "colorMode": null, 460 "colors": [ 461 462 ], 463 "dateFormat": "YYYY-MM-DD HH:mm:ss", 464 "decimals": 2, 465 "link": false, 466 "linkTooltip": "Drill down", 467 "linkUrl": "", 468 "pattern": "Value #F", 469 "thresholds": [ 470 471 ], 472 "type": "number", 473 "unit": "pps" 474 }, 475 { 476 "alias": "Rate of Received Packets Dropped", 477 "colorMode": null, 478 "colors": [ 479 480 ], 481 "dateFormat": "YYYY-MM-DD HH:mm:ss", 482 "decimals": 2, 483 "link": false, 484 "linkTooltip": "Drill down", 485 "linkUrl": "", 486 "pattern": "Value #G", 487 "thresholds": [ 488 489 ], 490 "type": "number", 491 "unit": "pps" 492 }, 493 { 494 "alias": "Rate of Transmitted Packets Dropped", 495 "colorMode": null, 496 "colors": [ 497 498 ], 499 "dateFormat": "YYYY-MM-DD HH:mm:ss", 500 "decimals": 2, 501 "link": false, 502 "linkTooltip": "Drill down", 503 "linkUrl": "", 504 "pattern": "Value #H", 505 "thresholds": [ 506 507 ], 508 "type": "number", 509 "unit": "pps" 510 }, 511 { 512 "alias": "Namespace", 513 "colorMode": null, 514 "colors": [ 515 516 ], 517 "dateFormat": "YYYY-MM-DD HH:mm:ss", 518 "decimals": 2, 519 "link": true, 520 "linkTooltip": "Drill down", 521 "linkUrl": "d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods?orgId=1&refresh=30s&var-namespace=$__cell", 522 "pattern": "namespace", 523 "thresholds": [ 524 525 ], 526 "type": "number", 527 "unit": "short" 528 } 529 ], 530 "targets": [ 531 { 532 "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 533 "format": "table", 534 "instant": true, 535 "intervalFactor": 2, 536 "legendFormat": "", 537 "refId": "A", 538 "step": 10 539 }, 540 { 541 "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 542 "format": "table", 543 "instant": true, 544 "intervalFactor": 2, 545 "legendFormat": "", 546 "refId": "B", 547 "step": 10 548 }, 549 { 550 "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 551 "format": "table", 552 "instant": true, 553 "intervalFactor": 2, 554 "legendFormat": "", 555 "refId": "C", 556 "step": 10 557 }, 558 { 559 "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 560 "format": "table", 561 "instant": true, 562 "intervalFactor": 2, 563 "legendFormat": "", 564 "refId": "D", 565 "step": 10 566 }, 567 { 568 "expr": "sort_desc(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 569 "format": "table", 570 "instant": true, 571 "intervalFactor": 2, 572 "legendFormat": "", 573 "refId": "E", 574 "step": 10 575 }, 576 { 577 "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 578 "format": "table", 579 "instant": true, 580 "intervalFactor": 2, 581 "legendFormat": "", 582 "refId": "F", 583 "step": 10 584 }, 585 { 586 "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 587 "format": "table", 588 "instant": true, 589 "intervalFactor": 2, 590 "legendFormat": "", 591 "refId": "G", 592 "step": 10 593 }, 594 { 595 "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 596 "format": "table", 597 "instant": true, 598 "intervalFactor": 2, 599 "legendFormat": "", 600 "refId": "H", 601 "step": 10 602 } 603 ], 604 "timeFrom": null, 605 "timeShift": null, 606 "title": "Current Status", 607 "type": "table" 608 }, 609 { 610 "collapse": true, 611 "collapsed": true, 612 "gridPos": { 613 "h": 1, 614 "w": 24, 615 "x": 0, 616 "y": 10 617 }, 618 "id": 6, 619 "panels": [ 620 { 621 "aliasColors": { 622 623 }, 624 "bars": true, 625 "dashLength": 10, 626 "dashes": false, 627 "datasource": "$datasource", 628 "fill": 2, 629 "fillGradient": 0, 630 "gridPos": { 631 "h": 9, 632 "w": 12, 633 "x": 0, 634 "y": 11 635 }, 636 "id": 7, 637 "legend": { 638 "alignAsTable": true, 639 "avg": false, 640 "current": true, 641 "hideEmpty": true, 642 "hideZero": true, 643 "max": false, 644 "min": false, 645 "rightSide": true, 646 "show": true, 647 "sideWidth": null, 648 "sort": "current", 649 "sortDesc": true, 650 "total": false, 651 "values": true 652 }, 653 "lines": false, 654 "linewidth": 1, 655 "links": [ 656 657 ], 658 "minSpan": 24, 659 "nullPointMode": "null", 660 "paceLength": 10, 661 "percentage": false, 662 "pointradius": 5, 663 "points": false, 664 "renderer": "flot", 665 "repeat": null, 666 "seriesOverrides": [ 667 668 ], 669 "spaceLength": 10, 670 "span": 24, 671 "stack": false, 672 "steppedLine": false, 673 "targets": [ 674 { 675 "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 676 "format": "time_series", 677 "intervalFactor": 1, 678 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 679 "refId": "A", 680 "step": 10 681 } 682 ], 683 "thresholds": [ 684 685 ], 686 "timeFrom": null, 687 "timeShift": null, 688 "title": "Average Rate of Bytes Received", 689 "tooltip": { 690 "shared": true, 691 "sort": 2, 692 "value_type": "individual" 693 }, 694 "type": "graph", 695 "xaxis": { 696 "buckets": null, 697 "mode": "series", 698 "name": null, 699 "show": false, 700 "values": [ 701 "current" 702 ] 703 }, 704 "yaxes": [ 705 { 706 "format": "Bps", 707 "label": null, 708 "logBase": 1, 709 "max": null, 710 "min": 0, 711 "show": true 712 }, 713 { 714 "format": "Bps", 715 "label": null, 716 "logBase": 1, 717 "max": null, 718 "min": 0, 719 "show": true 720 } 721 ] 722 }, 723 { 724 "aliasColors": { 725 726 }, 727 "bars": true, 728 "dashLength": 10, 729 "dashes": false, 730 "datasource": "$datasource", 731 "fill": 2, 732 "fillGradient": 0, 733 "gridPos": { 734 "h": 9, 735 "w": 12, 736 "x": 12, 737 "y": 11 738 }, 739 "id": 8, 740 "legend": { 741 "alignAsTable": true, 742 "avg": false, 743 "current": true, 744 "hideEmpty": true, 745 "hideZero": true, 746 "max": false, 747 "min": false, 748 "rightSide": true, 749 "show": true, 750 "sideWidth": null, 751 "sort": "current", 752 "sortDesc": true, 753 "total": false, 754 "values": true 755 }, 756 "lines": false, 757 "linewidth": 1, 758 "links": [ 759 760 ], 761 "minSpan": 24, 762 "nullPointMode": "null", 763 "paceLength": 10, 764 "percentage": false, 765 "pointradius": 5, 766 "points": false, 767 "renderer": "flot", 768 "repeat": null, 769 "seriesOverrides": [ 770 771 ], 772 "spaceLength": 10, 773 "span": 24, 774 "stack": false, 775 "steppedLine": false, 776 "targets": [ 777 { 778 "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 779 "format": "time_series", 780 "intervalFactor": 1, 781 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 782 "refId": "A", 783 "step": 10 784 } 785 ], 786 "thresholds": [ 787 788 ], 789 "timeFrom": null, 790 "timeShift": null, 791 "title": "Average Rate of Bytes Transmitted", 792 "tooltip": { 793 "shared": true, 794 "sort": 2, 795 "value_type": "individual" 796 }, 797 "type": "graph", 798 "xaxis": { 799 "buckets": null, 800 "mode": "series", 801 "name": null, 802 "show": false, 803 "values": [ 804 "current" 805 ] 806 }, 807 "yaxes": [ 808 { 809 "format": "Bps", 810 "label": null, 811 "logBase": 1, 812 "max": null, 813 "min": 0, 814 "show": true 815 }, 816 { 817 "format": "Bps", 818 "label": null, 819 "logBase": 1, 820 "max": null, 821 "min": 0, 822 "show": true 823 } 824 ] 825 } 826 ], 827 "repeat": null, 828 "repeatIteration": null, 829 "repeatRowId": null, 830 "showTitle": true, 831 "title": "Average Bandwidth", 832 "titleSize": "h6", 833 "type": "row" 834 }, 835 { 836 "collapse": false, 837 "collapsed": false, 838 "gridPos": { 839 "h": 1, 840 "w": 24, 841 "x": 0, 842 "y": 11 843 }, 844 "id": 9, 845 "panels": [ 846 847 ], 848 "repeat": null, 849 "repeatIteration": null, 850 "repeatRowId": null, 851 "showTitle": true, 852 "title": "Bandwidth History", 853 "titleSize": "h6", 854 "type": "row" 855 }, 856 { 857 "aliasColors": { 858 859 }, 860 "bars": false, 861 "dashLength": 10, 862 "dashes": false, 863 "datasource": "$datasource", 864 "fill": 2, 865 "fillGradient": 0, 866 "gridPos": { 867 "h": 9, 868 "w": 24, 869 "x": 0, 870 "y": 12 871 }, 872 "id": 10, 873 "legend": { 874 "alignAsTable": true, 875 "avg": true, 876 "current": true, 877 "hideEmpty": true, 878 "hideZero": true, 879 "max": true, 880 "min": true, 881 "rightSide": true, 882 "show": true, 883 "sideWidth": null, 884 "total": false, 885 "values": true 886 }, 887 "lines": true, 888 "linewidth": 2, 889 "links": [ 890 891 ], 892 "minSpan": 24, 893 "nullPointMode": "connected", 894 "paceLength": 10, 895 "percentage": false, 896 "pointradius": 5, 897 "points": false, 898 "renderer": "flot", 899 "repeat": null, 900 "seriesOverrides": [ 901 902 ], 903 "spaceLength": 10, 904 "span": 24, 905 "stack": true, 906 "steppedLine": false, 907 "targets": [ 908 { 909 "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 910 "format": "time_series", 911 "intervalFactor": 1, 912 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 913 "refId": "A", 914 "step": 10 915 } 916 ], 917 "thresholds": [ 918 919 ], 920 "timeFrom": null, 921 "timeShift": null, 922 "title": "Receive Bandwidth", 923 "tooltip": { 924 "shared": true, 925 "sort": 2, 926 "value_type": "individual" 927 }, 928 "type": "graph", 929 "xaxis": { 930 "buckets": null, 931 "mode": "time", 932 "name": null, 933 "show": true, 934 "values": [ 935 936 ] 937 }, 938 "yaxes": [ 939 { 940 "format": "Bps", 941 "label": null, 942 "logBase": 1, 943 "max": null, 944 "min": 0, 945 "show": true 946 }, 947 { 948 "format": "Bps", 949 "label": null, 950 "logBase": 1, 951 "max": null, 952 "min": 0, 953 "show": true 954 } 955 ] 956 }, 957 { 958 "aliasColors": { 959 960 }, 961 "bars": false, 962 "dashLength": 10, 963 "dashes": false, 964 "datasource": "$datasource", 965 "fill": 2, 966 "fillGradient": 0, 967 "gridPos": { 968 "h": 9, 969 "w": 24, 970 "x": 0, 971 "y": 21 972 }, 973 "id": 11, 974 "legend": { 975 "alignAsTable": true, 976 "avg": true, 977 "current": true, 978 "hideEmpty": true, 979 "hideZero": true, 980 "max": true, 981 "min": true, 982 "rightSide": true, 983 "show": true, 984 "sideWidth": null, 985 "total": false, 986 "values": true 987 }, 988 "lines": true, 989 "linewidth": 2, 990 "links": [ 991 992 ], 993 "minSpan": 24, 994 "nullPointMode": "connected", 995 "paceLength": 10, 996 "percentage": false, 997 "pointradius": 5, 998 "points": false, 999 "renderer": "flot", 1000 "repeat": null, 1001 "seriesOverrides": [ 1002 1003 ], 1004 "spaceLength": 10, 1005 "span": 24, 1006 "stack": true, 1007 "steppedLine": false, 1008 "targets": [ 1009 { 1010 "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 1011 "format": "time_series", 1012 "intervalFactor": 1, 1013 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 1014 "refId": "A", 1015 "step": 10 1016 } 1017 ], 1018 "thresholds": [ 1019 1020 ], 1021 "timeFrom": null, 1022 "timeShift": null, 1023 "title": "Transmit Bandwidth", 1024 "tooltip": { 1025 "shared": true, 1026 "sort": 2, 1027 "value_type": "individual" 1028 }, 1029 "type": "graph", 1030 "xaxis": { 1031 "buckets": null, 1032 "mode": "time", 1033 "name": null, 1034 "show": true, 1035 "values": [ 1036 1037 ] 1038 }, 1039 "yaxes": [ 1040 { 1041 "format": "Bps", 1042 "label": null, 1043 "logBase": 1, 1044 "max": null, 1045 "min": 0, 1046 "show": true 1047 }, 1048 { 1049 "format": "Bps", 1050 "label": null, 1051 "logBase": 1, 1052 "max": null, 1053 "min": 0, 1054 "show": true 1055 } 1056 ] 1057 }, 1058 { 1059 "collapse": true, 1060 "collapsed": true, 1061 "gridPos": { 1062 "h": 1, 1063 "w": 24, 1064 "x": 0, 1065 "y": 30 1066 }, 1067 "id": 12, 1068 "panels": [ 1069 { 1070 "aliasColors": { 1071 1072 }, 1073 "bars": false, 1074 "dashLength": 10, 1075 "dashes": false, 1076 "datasource": "$datasource", 1077 "fill": 2, 1078 "fillGradient": 0, 1079 "gridPos": { 1080 "h": 9, 1081 "w": 24, 1082 "x": 0, 1083 "y": 31 1084 }, 1085 "id": 13, 1086 "legend": { 1087 "alignAsTable": true, 1088 "avg": true, 1089 "current": true, 1090 "hideEmpty": true, 1091 "hideZero": true, 1092 "max": true, 1093 "min": true, 1094 "rightSide": true, 1095 "show": true, 1096 "sideWidth": null, 1097 "total": false, 1098 "values": true 1099 }, 1100 "lines": true, 1101 "linewidth": 2, 1102 "links": [ 1103 1104 ], 1105 "minSpan": 24, 1106 "nullPointMode": "connected", 1107 "paceLength": 10, 1108 "percentage": false, 1109 "pointradius": 5, 1110 "points": false, 1111 "renderer": "flot", 1112 "repeat": null, 1113 "seriesOverrides": [ 1114 1115 ], 1116 "spaceLength": 10, 1117 "span": 24, 1118 "stack": true, 1119 "steppedLine": false, 1120 "targets": [ 1121 { 1122 "expr": "sort_desc(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 1123 "format": "time_series", 1124 "intervalFactor": 1, 1125 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 1126 "refId": "A", 1127 "step": 10 1128 } 1129 ], 1130 "thresholds": [ 1131 1132 ], 1133 "timeFrom": null, 1134 "timeShift": null, 1135 "title": "Rate of Received Packets", 1136 "tooltip": { 1137 "shared": true, 1138 "sort": 2, 1139 "value_type": "individual" 1140 }, 1141 "type": "graph", 1142 "xaxis": { 1143 "buckets": null, 1144 "mode": "time", 1145 "name": null, 1146 "show": true, 1147 "values": [ 1148 1149 ] 1150 }, 1151 "yaxes": [ 1152 { 1153 "format": "pps", 1154 "label": null, 1155 "logBase": 1, 1156 "max": null, 1157 "min": 0, 1158 "show": true 1159 }, 1160 { 1161 "format": "pps", 1162 "label": null, 1163 "logBase": 1, 1164 "max": null, 1165 "min": 0, 1166 "show": true 1167 } 1168 ] 1169 }, 1170 { 1171 "aliasColors": { 1172 1173 }, 1174 "bars": false, 1175 "dashLength": 10, 1176 "dashes": false, 1177 "datasource": "$datasource", 1178 "fill": 2, 1179 "fillGradient": 0, 1180 "gridPos": { 1181 "h": 9, 1182 "w": 24, 1183 "x": 0, 1184 "y": 40 1185 }, 1186 "id": 14, 1187 "legend": { 1188 "alignAsTable": true, 1189 "avg": true, 1190 "current": true, 1191 "hideEmpty": true, 1192 "hideZero": true, 1193 "max": true, 1194 "min": true, 1195 "rightSide": true, 1196 "show": true, 1197 "sideWidth": null, 1198 "total": false, 1199 "values": true 1200 }, 1201 "lines": true, 1202 "linewidth": 2, 1203 "links": [ 1204 1205 ], 1206 "minSpan": 24, 1207 "nullPointMode": "connected", 1208 "paceLength": 10, 1209 "percentage": false, 1210 "pointradius": 5, 1211 "points": false, 1212 "renderer": "flot", 1213 "repeat": null, 1214 "seriesOverrides": [ 1215 1216 ], 1217 "spaceLength": 10, 1218 "span": 24, 1219 "stack": true, 1220 "steppedLine": false, 1221 "targets": [ 1222 { 1223 "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 1224 "format": "time_series", 1225 "intervalFactor": 1, 1226 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 1227 "refId": "A", 1228 "step": 10 1229 } 1230 ], 1231 "thresholds": [ 1232 1233 ], 1234 "timeFrom": null, 1235 "timeShift": null, 1236 "title": "Rate of Transmitted Packets", 1237 "tooltip": { 1238 "shared": true, 1239 "sort": 2, 1240 "value_type": "individual" 1241 }, 1242 "type": "graph", 1243 "xaxis": { 1244 "buckets": null, 1245 "mode": "time", 1246 "name": null, 1247 "show": true, 1248 "values": [ 1249 1250 ] 1251 }, 1252 "yaxes": [ 1253 { 1254 "format": "pps", 1255 "label": null, 1256 "logBase": 1, 1257 "max": null, 1258 "min": 0, 1259 "show": true 1260 }, 1261 { 1262 "format": "pps", 1263 "label": null, 1264 "logBase": 1, 1265 "max": null, 1266 "min": 0, 1267 "show": true 1268 } 1269 ] 1270 } 1271 ], 1272 "repeat": null, 1273 "repeatIteration": null, 1274 "repeatRowId": null, 1275 "showTitle": true, 1276 "title": "Packets", 1277 "titleSize": "h6", 1278 "type": "row" 1279 }, 1280 { 1281 "collapse": true, 1282 "collapsed": true, 1283 "gridPos": { 1284 "h": 1, 1285 "w": 24, 1286 "x": 0, 1287 "y": 31 1288 }, 1289 "id": 15, 1290 "panels": [ 1291 { 1292 "aliasColors": { 1293 1294 }, 1295 "bars": false, 1296 "dashLength": 10, 1297 "dashes": false, 1298 "datasource": "$datasource", 1299 "fill": 2, 1300 "fillGradient": 0, 1301 "gridPos": { 1302 "h": 9, 1303 "w": 24, 1304 "x": 0, 1305 "y": 50 1306 }, 1307 "id": 16, 1308 "legend": { 1309 "alignAsTable": true, 1310 "avg": true, 1311 "current": true, 1312 "hideEmpty": true, 1313 "hideZero": true, 1314 "max": true, 1315 "min": true, 1316 "rightSide": true, 1317 "show": true, 1318 "sideWidth": null, 1319 "total": false, 1320 "values": true 1321 }, 1322 "lines": true, 1323 "linewidth": 2, 1324 "links": [ 1325 1326 ], 1327 "minSpan": 24, 1328 "nullPointMode": "connected", 1329 "paceLength": 10, 1330 "percentage": false, 1331 "pointradius": 5, 1332 "points": false, 1333 "renderer": "flot", 1334 "repeat": null, 1335 "seriesOverrides": [ 1336 1337 ], 1338 "spaceLength": 10, 1339 "span": 24, 1340 "stack": true, 1341 "steppedLine": false, 1342 "targets": [ 1343 { 1344 "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 1345 "format": "time_series", 1346 "intervalFactor": 1, 1347 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 1348 "refId": "A", 1349 "step": 10 1350 } 1351 ], 1352 "thresholds": [ 1353 1354 ], 1355 "timeFrom": null, 1356 "timeShift": null, 1357 "title": "Rate of Received Packets Dropped", 1358 "tooltip": { 1359 "shared": true, 1360 "sort": 2, 1361 "value_type": "individual" 1362 }, 1363 "type": "graph", 1364 "xaxis": { 1365 "buckets": null, 1366 "mode": "time", 1367 "name": null, 1368 "show": true, 1369 "values": [ 1370 1371 ] 1372 }, 1373 "yaxes": [ 1374 { 1375 "format": "pps", 1376 "label": null, 1377 "logBase": 1, 1378 "max": null, 1379 "min": 0, 1380 "show": true 1381 }, 1382 { 1383 "format": "pps", 1384 "label": null, 1385 "logBase": 1, 1386 "max": null, 1387 "min": 0, 1388 "show": true 1389 } 1390 ] 1391 }, 1392 { 1393 "aliasColors": { 1394 1395 }, 1396 "bars": false, 1397 "dashLength": 10, 1398 "dashes": false, 1399 "datasource": "$datasource", 1400 "fill": 2, 1401 "fillGradient": 0, 1402 "gridPos": { 1403 "h": 9, 1404 "w": 24, 1405 "x": 0, 1406 "y": 59 1407 }, 1408 "id": 17, 1409 "legend": { 1410 "alignAsTable": true, 1411 "avg": true, 1412 "current": true, 1413 "hideEmpty": true, 1414 "hideZero": true, 1415 "max": true, 1416 "min": true, 1417 "rightSide": true, 1418 "show": true, 1419 "sideWidth": null, 1420 "total": false, 1421 "values": true 1422 }, 1423 "lines": true, 1424 "linewidth": 2, 1425 "links": [ 1426 1427 ], 1428 "minSpan": 24, 1429 "nullPointMode": "connected", 1430 "paceLength": 10, 1431 "percentage": false, 1432 "pointradius": 5, 1433 "points": false, 1434 "renderer": "flot", 1435 "repeat": null, 1436 "seriesOverrides": [ 1437 1438 ], 1439 "spaceLength": 10, 1440 "span": 24, 1441 "stack": true, 1442 "steppedLine": false, 1443 "targets": [ 1444 { 1445 "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=~\".+\"}[$interval:$resolution])) by (namespace))", 1446 "format": "time_series", 1447 "intervalFactor": 1, 1448 "legendFormat": "{{`{{`}}namespace{{`}}`}}", 1449 "refId": "A", 1450 "step": 10 1451 } 1452 ], 1453 "thresholds": [ 1454 1455 ], 1456 "timeFrom": null, 1457 "timeShift": null, 1458 "title": "Rate of Transmitted Packets Dropped", 1459 "tooltip": { 1460 "shared": true, 1461 "sort": 2, 1462 "value_type": "individual" 1463 }, 1464 "type": "graph", 1465 "xaxis": { 1466 "buckets": null, 1467 "mode": "time", 1468 "name": null, 1469 "show": true, 1470 "values": [ 1471 1472 ] 1473 }, 1474 "yaxes": [ 1475 { 1476 "format": "pps", 1477 "label": null, 1478 "logBase": 1, 1479 "max": null, 1480 "min": 0, 1481 "show": true 1482 }, 1483 { 1484 "format": "pps", 1485 "label": null, 1486 "logBase": 1, 1487 "max": null, 1488 "min": 0, 1489 "show": true 1490 } 1491 ] 1492 }, 1493 { 1494 "aliasColors": { 1495 1496 }, 1497 "bars": false, 1498 "dashLength": 10, 1499 "dashes": false, 1500 "datasource": "$datasource", 1501 "fill": 2, 1502 "fillGradient": 0, 1503 "gridPos": { 1504 "h": 9, 1505 "w": 24, 1506 "x": 0, 1507 "y": 59 1508 }, 1509 "id": 18, 1510 "legend": { 1511 "alignAsTable": true, 1512 "avg": true, 1513 "current": true, 1514 "hideEmpty": true, 1515 "hideZero": true, 1516 "max": true, 1517 "min": true, 1518 "rightSide": true, 1519 "show": true, 1520 "sideWidth": null, 1521 "total": false, 1522 "values": true 1523 }, 1524 "lines": true, 1525 "linewidth": 2, 1526 "links": [ 1527 { 1528 "targetBlank": true, 1529 "title": "What is TCP Retransmit?", 1530 "url": "https://accedian.com/enterprises/blog/network-packet-loss-retransmissions-and-duplicate-acknowledgements/" 1531 } 1532 ], 1533 "minSpan": 24, 1534 "nullPointMode": "connected", 1535 "paceLength": 10, 1536 "percentage": false, 1537 "pointradius": 5, 1538 "points": false, 1539 "renderer": "flot", 1540 "repeat": null, 1541 "seriesOverrides": [ 1542 1543 ], 1544 "spaceLength": 10, 1545 "span": 24, 1546 "stack": true, 1547 "steppedLine": false, 1548 "targets": [ 1549 { 1550 "expr": "sort_desc(sum(rate(node_netstat_Tcp_RetransSegs{cluster=\"$cluster\"}[$interval:$resolution]) / rate(node_netstat_Tcp_OutSegs{cluster=\"$cluster\"}[$interval:$resolution])) by (instance))", 1551 "format": "time_series", 1552 "intervalFactor": 1, 1553 "legendFormat": "{{`{{`}}instance{{`}}`}}", 1554 "refId": "A", 1555 "step": 10 1556 } 1557 ], 1558 "thresholds": [ 1559 1560 ], 1561 "timeFrom": null, 1562 "timeShift": null, 1563 "title": "Rate of TCP Retransmits out of all sent segments", 1564 "tooltip": { 1565 "shared": true, 1566 "sort": 2, 1567 "value_type": "individual" 1568 }, 1569 "type": "graph", 1570 "xaxis": { 1571 "buckets": null, 1572 "mode": "time", 1573 "name": null, 1574 "show": true, 1575 "values": [ 1576 1577 ] 1578 }, 1579 "yaxes": [ 1580 { 1581 "format": "percentunit", 1582 "label": null, 1583 "logBase": 1, 1584 "max": null, 1585 "min": 0, 1586 "show": true 1587 }, 1588 { 1589 "format": "percentunit", 1590 "label": null, 1591 "logBase": 1, 1592 "max": null, 1593 "min": 0, 1594 "show": true 1595 } 1596 ] 1597 }, 1598 { 1599 "aliasColors": { 1600 1601 }, 1602 "bars": false, 1603 "dashLength": 10, 1604 "dashes": false, 1605 "datasource": "$datasource", 1606 "fill": 2, 1607 "fillGradient": 0, 1608 "gridPos": { 1609 "h": 9, 1610 "w": 24, 1611 "x": 0, 1612 "y": 59 1613 }, 1614 "id": 19, 1615 "legend": { 1616 "alignAsTable": true, 1617 "avg": true, 1618 "current": true, 1619 "hideEmpty": true, 1620 "hideZero": true, 1621 "max": true, 1622 "min": true, 1623 "rightSide": true, 1624 "show": true, 1625 "sideWidth": null, 1626 "total": false, 1627 "values": true 1628 }, 1629 "lines": true, 1630 "linewidth": 2, 1631 "links": [ 1632 { 1633 "targetBlank": true, 1634 "title": "Why monitor SYN retransmits?", 1635 "url": "https://github.com/prometheus/node_exporter/issues/1023#issuecomment-408128365" 1636 } 1637 ], 1638 "minSpan": 24, 1639 "nullPointMode": "connected", 1640 "paceLength": 10, 1641 "percentage": false, 1642 "pointradius": 5, 1643 "points": false, 1644 "renderer": "flot", 1645 "repeat": null, 1646 "seriesOverrides": [ 1647 1648 ], 1649 "spaceLength": 10, 1650 "span": 24, 1651 "stack": true, 1652 "steppedLine": false, 1653 "targets": [ 1654 { 1655 "expr": "sort_desc(sum(rate(node_netstat_TcpExt_TCPSynRetrans{cluster=\"$cluster\"}[$interval:$resolution]) / rate(node_netstat_Tcp_RetransSegs{cluster=\"$cluster\"}[$interval:$resolution])) by (instance))", 1656 "format": "time_series", 1657 "intervalFactor": 1, 1658 "legendFormat": "{{`{{`}}instance{{`}}`}}", 1659 "refId": "A", 1660 "step": 10 1661 } 1662 ], 1663 "thresholds": [ 1664 1665 ], 1666 "timeFrom": null, 1667 "timeShift": null, 1668 "title": "Rate of TCP SYN Retransmits out of all retransmits", 1669 "tooltip": { 1670 "shared": true, 1671 "sort": 2, 1672 "value_type": "individual" 1673 }, 1674 "type": "graph", 1675 "xaxis": { 1676 "buckets": null, 1677 "mode": "time", 1678 "name": null, 1679 "show": true, 1680 "values": [ 1681 1682 ] 1683 }, 1684 "yaxes": [ 1685 { 1686 "format": "percentunit", 1687 "label": null, 1688 "logBase": 1, 1689 "max": null, 1690 "min": 0, 1691 "show": true 1692 }, 1693 { 1694 "format": "percentunit", 1695 "label": null, 1696 "logBase": 1, 1697 "max": null, 1698 "min": 0, 1699 "show": true 1700 } 1701 ] 1702 } 1703 ], 1704 "repeat": null, 1705 "repeatIteration": null, 1706 "repeatRowId": null, 1707 "showTitle": true, 1708 "title": "Errors", 1709 "titleSize": "h6", 1710 "type": "row" 1711 } 1712 ], 1713 "refresh": "10s", 1714 "rows": [ 1715 1716 ], 1717 "schemaVersion": 18, 1718 "style": "dark", 1719 "tags": [ 1720 "kubernetes-mixin" 1721 ], 1722 "templating": { 1723 "list": [ 1724 { 1725 "allValue": null, 1726 "auto": false, 1727 "auto_count": 30, 1728 "auto_min": "10s", 1729 "current": { 1730 "text": "5m", 1731 "value": "5m" 1732 }, 1733 "datasource": "$datasource", 1734 "hide": 0, 1735 "includeAll": false, 1736 "label": null, 1737 "multi": false, 1738 "name": "resolution", 1739 "options": [ 1740 { 1741 "selected": false, 1742 "text": "30s", 1743 "value": "30s" 1744 }, 1745 { 1746 "selected": true, 1747 "text": "5m", 1748 "value": "5m" 1749 }, 1750 { 1751 "selected": false, 1752 "text": "1h", 1753 "value": "1h" 1754 } 1755 ], 1756 "query": "30s,5m,1h", 1757 "refresh": 2, 1758 "regex": "", 1759 "skipUrlSync": false, 1760 "sort": 1, 1761 "tagValuesQuery": "", 1762 "tags": [ 1763 1764 ], 1765 "tagsQuery": "", 1766 "type": "interval", 1767 "useTags": false 1768 }, 1769 { 1770 "allValue": null, 1771 "auto": false, 1772 "auto_count": 30, 1773 "auto_min": "10s", 1774 "current": { 1775 "text": "5m", 1776 "value": "5m" 1777 }, 1778 "datasource": "$datasource", 1779 "hide": 2, 1780 "includeAll": false, 1781 "label": null, 1782 "multi": false, 1783 "name": "interval", 1784 "options": [ 1785 { 1786 "selected": true, 1787 "text": "4h", 1788 "value": "4h" 1789 } 1790 ], 1791 "query": "4h", 1792 "refresh": 2, 1793 "regex": "", 1794 "skipUrlSync": false, 1795 "sort": 1, 1796 "tagValuesQuery": "", 1797 "tags": [ 1798 1799 ], 1800 "tagsQuery": "", 1801 "type": "interval", 1802 "useTags": false 1803 }, 1804 { 1805 "current": { 1806 "text": "default", 1807 "value": "default" 1808 }, 1809 "hide": 0, 1810 "label": "Data Source", 1811 "name": "datasource", 1812 "options": [ 1813 1814 ], 1815 "query": "prometheus", 1816 "refresh": 1, 1817 "regex": "", 1818 "type": "datasource" 1819 }, 1820 { 1821 "allValue": null, 1822 "current": { 1823 1824 }, 1825 "datasource": "$datasource", 1826 "hide": {{ if .Values.grafana.sidecar.dashboards.multicluster.global.enabled }}0{{ else }}2{{ end }}, 1827 "includeAll": false, 1828 "label": null, 1829 "multi": false, 1830 "name": "cluster", 1831 "options": [ 1832 1833 ], 1834 "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\"}, cluster)", 1835 "refresh": 2, 1836 "regex": "", 1837 "sort": 0, 1838 "tagValuesQuery": "", 1839 "tags": [ 1840 1841 ], 1842 "tagsQuery": "", 1843 "type": "query", 1844 "useTags": false 1845 } 1846 ] 1847 }, 1848 "time": { 1849 "from": "now-1h", 1850 "to": "now" 1851 }, 1852 "timepicker": { 1853 "refresh_intervals": [ 1854 "5s", 1855 "10s", 1856 "30s", 1857 "1m", 1858 "5m", 1859 "15m", 1860 "30m", 1861 "1h", 1862 "2h", 1863 "1d" 1864 ], 1865 "time_options": [ 1866 "5m", 1867 "15m", 1868 "1h", 1869 "6h", 1870 "12h", 1871 "24h", 1872 "2d", 1873 "7d", 1874 "30d" 1875 ] 1876 }, 1877 "timezone": "{{ .Values.grafana.defaultDashboardsTimezone }}", 1878 "title": "Kubernetes / Networking / Cluster", 1879 "uid": "ff635a025bcfea7bc3dd4f508990a3e9", 1880 "version": 0 1881 } 1882 {{- end }}