github.com/verrazzano/verrazzano@v1.7.1/platform-operator/thirdparty/charts/prometheus-community/kube-prometheus-stack/templates/grafana/dashboards-1.14/proxy.yaml (about) 1 {{- /* 2 Generated from 'proxy' 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 .Values.kubeProxy.enabled }} 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" $) "proxy" | 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 proxy.json: |- 23 { 24 "__inputs": [ 25 26 ], 27 "__requires": [ 28 29 ], 30 "annotations": { 31 "list": [ 32 33 ] 34 }, 35 "editable": false, 36 "gnetId": null, 37 "graphTooltip": 0, 38 "hideControls": false, 39 "id": null, 40 "links": [ 41 42 ], 43 "refresh": "10s", 44 "rows": [ 45 { 46 "collapse": false, 47 "collapsed": false, 48 "panels": [ 49 { 50 "cacheTimeout": null, 51 "colorBackground": false, 52 "colorValue": false, 53 "colors": [ 54 "#299c46", 55 "rgba(237, 129, 40, 0.89)", 56 "#d44a3a" 57 ], 58 "datasource": "$datasource", 59 "format": "none", 60 "gauge": { 61 "maxValue": 100, 62 "minValue": 0, 63 "show": false, 64 "thresholdLabels": false, 65 "thresholdMarkers": true 66 }, 67 "gridPos": { 68 69 }, 70 "id": 2, 71 "interval": "1m", 72 "legend": { 73 "alignAsTable": true, 74 "rightSide": true 75 }, 76 "links": [ 77 78 ], 79 "mappingType": 1, 80 "mappingTypes": [ 81 { 82 "name": "value to text", 83 "value": 1 84 }, 85 { 86 "name": "range to text", 87 "value": 2 88 } 89 ], 90 "maxDataPoints": 100, 91 "nullPointMode": "connected", 92 "nullText": null, 93 "postfix": "", 94 "postfixFontSize": "50%", 95 "prefix": "", 96 "prefixFontSize": "50%", 97 "rangeMaps": [ 98 { 99 "from": "null", 100 "text": "N/A", 101 "to": "null" 102 } 103 ], 104 "span": 2, 105 "sparkline": { 106 "fillColor": "rgba(31, 118, 189, 0.18)", 107 "full": false, 108 "lineColor": "rgb(31, 120, 193)", 109 "show": false 110 }, 111 "tableColumn": "", 112 "targets": [ 113 { 114 "expr": "sum(up{cluster=\"$cluster\", job=\"kube-proxy\"})", 115 "format": "time_series", 116 "intervalFactor": 2, 117 "legendFormat": "", 118 "refId": "A" 119 } 120 ], 121 "thresholds": "", 122 "title": "Up", 123 "tooltip": { 124 "shared": false 125 }, 126 "type": "singlestat", 127 "valueFontSize": "80%", 128 "valueMaps": [ 129 { 130 "op": "=", 131 "text": "N/A", 132 "value": "null" 133 } 134 ], 135 "valueName": "min" 136 }, 137 { 138 "aliasColors": { 139 140 }, 141 "bars": false, 142 "dashLength": 10, 143 "dashes": false, 144 "datasource": "$datasource", 145 "fill": 1, 146 "fillGradient": 0, 147 "gridPos": { 148 149 }, 150 "id": 3, 151 "interval": "1m", 152 "legend": { 153 "alignAsTable": true, 154 "avg": false, 155 "current": false, 156 "max": false, 157 "min": false, 158 "rightSide": true, 159 "show": true, 160 "sideWidth": null, 161 "total": false, 162 "values": false 163 }, 164 "lines": true, 165 "linewidth": 1, 166 "links": [ 167 168 ], 169 "nullPointMode": "null", 170 "percentage": false, 171 "pointradius": 5, 172 "points": false, 173 "renderer": "flot", 174 "repeat": null, 175 "seriesOverrides": [ 176 177 ], 178 "spaceLength": 10, 179 "span": 5, 180 "stack": false, 181 "steppedLine": false, 182 "targets": [ 183 { 184 "expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\"}[$__rate_interval]))", 185 "format": "time_series", 186 "intervalFactor": 2, 187 "legendFormat": "rate", 188 "refId": "A" 189 } 190 ], 191 "thresholds": [ 192 193 ], 194 "timeFrom": null, 195 "timeShift": null, 196 "title": "Rules Sync Rate", 197 "tooltip": { 198 "shared": false, 199 "sort": 0, 200 "value_type": "individual" 201 }, 202 "type": "graph", 203 "xaxis": { 204 "buckets": null, 205 "mode": "time", 206 "name": null, 207 "show": true, 208 "values": [ 209 210 ] 211 }, 212 "yaxes": [ 213 { 214 "format": "ops", 215 "label": null, 216 "logBase": 1, 217 "max": null, 218 "min": 0, 219 "show": true 220 }, 221 { 222 "format": "ops", 223 "label": null, 224 "logBase": 1, 225 "max": null, 226 "min": 0, 227 "show": true 228 } 229 ] 230 }, 231 { 232 "aliasColors": { 233 234 }, 235 "bars": false, 236 "dashLength": 10, 237 "dashes": false, 238 "datasource": "$datasource", 239 "fill": 1, 240 "fillGradient": 0, 241 "gridPos": { 242 243 }, 244 "id": 4, 245 "interval": "1m", 246 "legend": { 247 "alignAsTable": true, 248 "avg": false, 249 "current": true, 250 "max": false, 251 "min": false, 252 "rightSide": true, 253 "show": true, 254 "sideWidth": null, 255 "total": false, 256 "values": true 257 }, 258 "lines": true, 259 "linewidth": 1, 260 "links": [ 261 262 ], 263 "nullPointMode": "null", 264 "percentage": false, 265 "pointradius": 5, 266 "points": false, 267 "renderer": "flot", 268 "repeat": null, 269 "seriesOverrides": [ 270 271 ], 272 "spaceLength": 10, 273 "span": 5, 274 "stack": false, 275 "steppedLine": false, 276 "targets": [ 277 { 278 "expr": "histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\"}[$__rate_interval]))", 279 "format": "time_series", 280 "intervalFactor": 2, 281 "legendFormat": "{{`{{`}}instance{{`}}`}}", 282 "refId": "A" 283 } 284 ], 285 "thresholds": [ 286 287 ], 288 "timeFrom": null, 289 "timeShift": null, 290 "title": "Rule Sync Latency 99th Quantile", 291 "tooltip": { 292 "shared": false, 293 "sort": 0, 294 "value_type": "individual" 295 }, 296 "type": "graph", 297 "xaxis": { 298 "buckets": null, 299 "mode": "time", 300 "name": null, 301 "show": true, 302 "values": [ 303 304 ] 305 }, 306 "yaxes": [ 307 { 308 "format": "s", 309 "label": null, 310 "logBase": 1, 311 "max": null, 312 "min": 0, 313 "show": true 314 }, 315 { 316 "format": "s", 317 "label": null, 318 "logBase": 1, 319 "max": null, 320 "min": 0, 321 "show": true 322 } 323 ] 324 } 325 ], 326 "repeat": null, 327 "repeatIteration": null, 328 "repeatRowId": null, 329 "showTitle": false, 330 "title": "Dashboard Row", 331 "titleSize": "h6", 332 "type": "row" 333 }, 334 { 335 "collapse": false, 336 "collapsed": false, 337 "panels": [ 338 { 339 "aliasColors": { 340 341 }, 342 "bars": false, 343 "dashLength": 10, 344 "dashes": false, 345 "datasource": "$datasource", 346 "fill": 1, 347 "fillGradient": 0, 348 "gridPos": { 349 350 }, 351 "id": 5, 352 "interval": "1m", 353 "legend": { 354 "alignAsTable": true, 355 "avg": false, 356 "current": false, 357 "max": false, 358 "min": false, 359 "rightSide": true, 360 "show": true, 361 "sideWidth": null, 362 "total": false, 363 "values": false 364 }, 365 "lines": true, 366 "linewidth": 1, 367 "links": [ 368 369 ], 370 "nullPointMode": "null", 371 "percentage": false, 372 "pointradius": 5, 373 "points": false, 374 "renderer": "flot", 375 "repeat": null, 376 "seriesOverrides": [ 377 378 ], 379 "spaceLength": 10, 380 "span": 6, 381 "stack": false, 382 "steppedLine": false, 383 "targets": [ 384 { 385 "expr": "sum(rate(kubeproxy_network_programming_duration_seconds_count{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\"}[$__rate_interval]))", 386 "format": "time_series", 387 "intervalFactor": 2, 388 "legendFormat": "rate", 389 "refId": "A" 390 } 391 ], 392 "thresholds": [ 393 394 ], 395 "timeFrom": null, 396 "timeShift": null, 397 "title": "Network Programming Rate", 398 "tooltip": { 399 "shared": false, 400 "sort": 0, 401 "value_type": "individual" 402 }, 403 "type": "graph", 404 "xaxis": { 405 "buckets": null, 406 "mode": "time", 407 "name": null, 408 "show": true, 409 "values": [ 410 411 ] 412 }, 413 "yaxes": [ 414 { 415 "format": "ops", 416 "label": null, 417 "logBase": 1, 418 "max": null, 419 "min": 0, 420 "show": true 421 }, 422 { 423 "format": "ops", 424 "label": null, 425 "logBase": 1, 426 "max": null, 427 "min": 0, 428 "show": true 429 } 430 ] 431 }, 432 { 433 "aliasColors": { 434 435 }, 436 "bars": false, 437 "dashLength": 10, 438 "dashes": false, 439 "datasource": "$datasource", 440 "fill": 1, 441 "fillGradient": 0, 442 "gridPos": { 443 444 }, 445 "id": 6, 446 "interval": "1m", 447 "legend": { 448 "alignAsTable": true, 449 "avg": false, 450 "current": true, 451 "max": false, 452 "min": false, 453 "rightSide": true, 454 "show": true, 455 "sideWidth": null, 456 "total": false, 457 "values": true 458 }, 459 "lines": true, 460 "linewidth": 1, 461 "links": [ 462 463 ], 464 "nullPointMode": "null", 465 "percentage": false, 466 "pointradius": 5, 467 "points": false, 468 "renderer": "flot", 469 "repeat": null, 470 "seriesOverrides": [ 471 472 ], 473 "spaceLength": 10, 474 "span": 6, 475 "stack": false, 476 "steppedLine": false, 477 "targets": [ 478 { 479 "expr": "histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\"}[$__rate_interval])) by (instance, le))", 480 "format": "time_series", 481 "intervalFactor": 2, 482 "legendFormat": "{{`{{`}}instance{{`}}`}}", 483 "refId": "A" 484 } 485 ], 486 "thresholds": [ 487 488 ], 489 "timeFrom": null, 490 "timeShift": null, 491 "title": "Network Programming Latency 99th Quantile", 492 "tooltip": { 493 "shared": false, 494 "sort": 0, 495 "value_type": "individual" 496 }, 497 "type": "graph", 498 "xaxis": { 499 "buckets": null, 500 "mode": "time", 501 "name": null, 502 "show": true, 503 "values": [ 504 505 ] 506 }, 507 "yaxes": [ 508 { 509 "format": "s", 510 "label": null, 511 "logBase": 1, 512 "max": null, 513 "min": 0, 514 "show": true 515 }, 516 { 517 "format": "s", 518 "label": null, 519 "logBase": 1, 520 "max": null, 521 "min": 0, 522 "show": true 523 } 524 ] 525 } 526 ], 527 "repeat": null, 528 "repeatIteration": null, 529 "repeatRowId": null, 530 "showTitle": false, 531 "title": "Dashboard Row", 532 "titleSize": "h6", 533 "type": "row" 534 }, 535 { 536 "collapse": false, 537 "collapsed": false, 538 "panels": [ 539 { 540 "aliasColors": { 541 542 }, 543 "bars": false, 544 "dashLength": 10, 545 "dashes": false, 546 "datasource": "$datasource", 547 "fill": 1, 548 "fillGradient": 0, 549 "gridPos": { 550 551 }, 552 "id": 7, 553 "interval": "1m", 554 "legend": { 555 "alignAsTable": true, 556 "avg": false, 557 "current": false, 558 "max": false, 559 "min": false, 560 "rightSide": true, 561 "show": true, 562 "sideWidth": null, 563 "total": false, 564 "values": false 565 }, 566 "lines": true, 567 "linewidth": 1, 568 "links": [ 569 570 ], 571 "nullPointMode": "null", 572 "percentage": false, 573 "pointradius": 5, 574 "points": false, 575 "renderer": "flot", 576 "repeat": null, 577 "seriesOverrides": [ 578 579 ], 580 "spaceLength": 10, 581 "span": 4, 582 "stack": false, 583 "steppedLine": false, 584 "targets": [ 585 { 586 "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))", 587 "format": "time_series", 588 "intervalFactor": 2, 589 "legendFormat": "2xx", 590 "refId": "A" 591 }, 592 { 593 "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))", 594 "format": "time_series", 595 "intervalFactor": 2, 596 "legendFormat": "3xx", 597 "refId": "B" 598 }, 599 { 600 "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))", 601 "format": "time_series", 602 "intervalFactor": 2, 603 "legendFormat": "4xx", 604 "refId": "C" 605 }, 606 { 607 "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))", 608 "format": "time_series", 609 "intervalFactor": 2, 610 "legendFormat": "5xx", 611 "refId": "D" 612 } 613 ], 614 "thresholds": [ 615 616 ], 617 "timeFrom": null, 618 "timeShift": null, 619 "title": "Kube API Request Rate", 620 "tooltip": { 621 "shared": false, 622 "sort": 0, 623 "value_type": "individual" 624 }, 625 "type": "graph", 626 "xaxis": { 627 "buckets": null, 628 "mode": "time", 629 "name": null, 630 "show": true, 631 "values": [ 632 633 ] 634 }, 635 "yaxes": [ 636 { 637 "format": "ops", 638 "label": null, 639 "logBase": 1, 640 "max": null, 641 "min": null, 642 "show": true 643 }, 644 { 645 "format": "ops", 646 "label": null, 647 "logBase": 1, 648 "max": null, 649 "min": null, 650 "show": true 651 } 652 ] 653 }, 654 { 655 "aliasColors": { 656 657 }, 658 "bars": false, 659 "dashLength": 10, 660 "dashes": false, 661 "datasource": "$datasource", 662 "fill": 1, 663 "fillGradient": 0, 664 "gridPos": { 665 666 }, 667 "id": 8, 668 "interval": "1m", 669 "legend": { 670 "alignAsTable": true, 671 "avg": false, 672 "current": false, 673 "max": false, 674 "min": false, 675 "rightSide": true, 676 "show": true, 677 "sideWidth": null, 678 "total": false, 679 "values": false 680 }, 681 "lines": true, 682 "linewidth": 1, 683 "links": [ 684 685 ], 686 "nullPointMode": "null", 687 "percentage": false, 688 "pointradius": 5, 689 "points": false, 690 "renderer": "flot", 691 "repeat": null, 692 "seriesOverrides": [ 693 694 ], 695 "spaceLength": 10, 696 "span": 8, 697 "stack": false, 698 "steppedLine": false, 699 "targets": [ 700 { 701 "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-proxy\",instance=~\"$instance\",verb=\"POST\"}[$__rate_interval])) by (verb, url, le))", 702 "format": "time_series", 703 "intervalFactor": 2, 704 "legendFormat": "{{`{{`}}verb{{`}}`}} {{`{{`}}url{{`}}`}}", 705 "refId": "A" 706 } 707 ], 708 "thresholds": [ 709 710 ], 711 "timeFrom": null, 712 "timeShift": null, 713 "title": "Post Request Latency 99th Quantile", 714 "tooltip": { 715 "shared": false, 716 "sort": 0, 717 "value_type": "individual" 718 }, 719 "type": "graph", 720 "xaxis": { 721 "buckets": null, 722 "mode": "time", 723 "name": null, 724 "show": true, 725 "values": [ 726 727 ] 728 }, 729 "yaxes": [ 730 { 731 "format": "s", 732 "label": null, 733 "logBase": 1, 734 "max": null, 735 "min": 0, 736 "show": true 737 }, 738 { 739 "format": "s", 740 "label": null, 741 "logBase": 1, 742 "max": null, 743 "min": 0, 744 "show": true 745 } 746 ] 747 } 748 ], 749 "repeat": null, 750 "repeatIteration": null, 751 "repeatRowId": null, 752 "showTitle": false, 753 "title": "Dashboard Row", 754 "titleSize": "h6", 755 "type": "row" 756 }, 757 { 758 "collapse": false, 759 "collapsed": false, 760 "panels": [ 761 { 762 "aliasColors": { 763 764 }, 765 "bars": false, 766 "dashLength": 10, 767 "dashes": false, 768 "datasource": "$datasource", 769 "fill": 1, 770 "fillGradient": 0, 771 "gridPos": { 772 773 }, 774 "id": 9, 775 "interval": "1m", 776 "legend": { 777 "alignAsTable": true, 778 "avg": false, 779 "current": true, 780 "max": false, 781 "min": false, 782 "rightSide": true, 783 "show": true, 784 "sideWidth": null, 785 "total": false, 786 "values": true 787 }, 788 "lines": true, 789 "linewidth": 1, 790 "links": [ 791 792 ], 793 "nullPointMode": "null", 794 "percentage": false, 795 "pointradius": 5, 796 "points": false, 797 "renderer": "flot", 798 "repeat": null, 799 "seriesOverrides": [ 800 801 ], 802 "spaceLength": 10, 803 "span": 12, 804 "stack": false, 805 "steppedLine": false, 806 "targets": [ 807 { 808 "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-proxy\", instance=~\"$instance\", verb=\"GET\"}[$__rate_interval])) by (verb, url, le))", 809 "format": "time_series", 810 "intervalFactor": 2, 811 "legendFormat": "{{`{{`}}verb{{`}}`}} {{`{{`}}url{{`}}`}}", 812 "refId": "A" 813 } 814 ], 815 "thresholds": [ 816 817 ], 818 "timeFrom": null, 819 "timeShift": null, 820 "title": "Get Request Latency 99th Quantile", 821 "tooltip": { 822 "shared": false, 823 "sort": 0, 824 "value_type": "individual" 825 }, 826 "type": "graph", 827 "xaxis": { 828 "buckets": null, 829 "mode": "time", 830 "name": null, 831 "show": true, 832 "values": [ 833 834 ] 835 }, 836 "yaxes": [ 837 { 838 "format": "s", 839 "label": null, 840 "logBase": 1, 841 "max": null, 842 "min": 0, 843 "show": true 844 }, 845 { 846 "format": "s", 847 "label": null, 848 "logBase": 1, 849 "max": null, 850 "min": 0, 851 "show": true 852 } 853 ] 854 } 855 ], 856 "repeat": null, 857 "repeatIteration": null, 858 "repeatRowId": null, 859 "showTitle": false, 860 "title": "Dashboard Row", 861 "titleSize": "h6", 862 "type": "row" 863 }, 864 { 865 "collapse": false, 866 "collapsed": false, 867 "panels": [ 868 { 869 "aliasColors": { 870 871 }, 872 "bars": false, 873 "dashLength": 10, 874 "dashes": false, 875 "datasource": "$datasource", 876 "fill": 1, 877 "fillGradient": 0, 878 "gridPos": { 879 880 }, 881 "id": 10, 882 "interval": "1m", 883 "legend": { 884 "alignAsTable": true, 885 "avg": false, 886 "current": false, 887 "max": false, 888 "min": false, 889 "rightSide": true, 890 "show": true, 891 "sideWidth": null, 892 "total": false, 893 "values": false 894 }, 895 "lines": true, 896 "linewidth": 1, 897 "links": [ 898 899 ], 900 "nullPointMode": "null", 901 "percentage": false, 902 "pointradius": 5, 903 "points": false, 904 "renderer": "flot", 905 "repeat": null, 906 "seriesOverrides": [ 907 908 ], 909 "spaceLength": 10, 910 "span": 4, 911 "stack": false, 912 "steppedLine": false, 913 "targets": [ 914 { 915 "expr": "process_resident_memory_bytes{cluster=\"$cluster\", job=\"kube-proxy\",instance=~\"$instance\"}", 916 "format": "time_series", 917 "intervalFactor": 2, 918 "legendFormat": "{{`{{`}}instance{{`}}`}}", 919 "refId": "A" 920 } 921 ], 922 "thresholds": [ 923 924 ], 925 "timeFrom": null, 926 "timeShift": null, 927 "title": "Memory", 928 "tooltip": { 929 "shared": false, 930 "sort": 0, 931 "value_type": "individual" 932 }, 933 "type": "graph", 934 "xaxis": { 935 "buckets": null, 936 "mode": "time", 937 "name": null, 938 "show": true, 939 "values": [ 940 941 ] 942 }, 943 "yaxes": [ 944 { 945 "format": "bytes", 946 "label": null, 947 "logBase": 1, 948 "max": null, 949 "min": null, 950 "show": true 951 }, 952 { 953 "format": "bytes", 954 "label": null, 955 "logBase": 1, 956 "max": null, 957 "min": null, 958 "show": true 959 } 960 ] 961 }, 962 { 963 "aliasColors": { 964 965 }, 966 "bars": false, 967 "dashLength": 10, 968 "dashes": false, 969 "datasource": "$datasource", 970 "fill": 1, 971 "fillGradient": 0, 972 "gridPos": { 973 974 }, 975 "id": 11, 976 "interval": "1m", 977 "legend": { 978 "alignAsTable": true, 979 "avg": false, 980 "current": false, 981 "max": false, 982 "min": false, 983 "rightSide": true, 984 "show": true, 985 "sideWidth": null, 986 "total": false, 987 "values": false 988 }, 989 "lines": true, 990 "linewidth": 1, 991 "links": [ 992 993 ], 994 "nullPointMode": "null", 995 "percentage": false, 996 "pointradius": 5, 997 "points": false, 998 "renderer": "flot", 999 "repeat": null, 1000 "seriesOverrides": [ 1001 1002 ], 1003 "spaceLength": 10, 1004 "span": 4, 1005 "stack": false, 1006 "steppedLine": false, 1007 "targets": [ 1008 { 1009 "expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\", job=\"kube-proxy\",instance=~\"$instance\"}[$__rate_interval])", 1010 "format": "time_series", 1011 "intervalFactor": 2, 1012 "legendFormat": "{{`{{`}}instance{{`}}`}}", 1013 "refId": "A" 1014 } 1015 ], 1016 "thresholds": [ 1017 1018 ], 1019 "timeFrom": null, 1020 "timeShift": null, 1021 "title": "CPU usage", 1022 "tooltip": { 1023 "shared": false, 1024 "sort": 0, 1025 "value_type": "individual" 1026 }, 1027 "type": "graph", 1028 "xaxis": { 1029 "buckets": null, 1030 "mode": "time", 1031 "name": null, 1032 "show": true, 1033 "values": [ 1034 1035 ] 1036 }, 1037 "yaxes": [ 1038 { 1039 "format": "short", 1040 "label": null, 1041 "logBase": 1, 1042 "max": null, 1043 "min": 0, 1044 "show": true 1045 }, 1046 { 1047 "format": "short", 1048 "label": null, 1049 "logBase": 1, 1050 "max": null, 1051 "min": 0, 1052 "show": true 1053 } 1054 ] 1055 }, 1056 { 1057 "aliasColors": { 1058 1059 }, 1060 "bars": false, 1061 "dashLength": 10, 1062 "dashes": false, 1063 "datasource": "$datasource", 1064 "fill": 1, 1065 "fillGradient": 0, 1066 "gridPos": { 1067 1068 }, 1069 "id": 12, 1070 "interval": "1m", 1071 "legend": { 1072 "alignAsTable": true, 1073 "avg": false, 1074 "current": false, 1075 "max": false, 1076 "min": false, 1077 "rightSide": true, 1078 "show": true, 1079 "sideWidth": null, 1080 "total": false, 1081 "values": false 1082 }, 1083 "lines": true, 1084 "linewidth": 1, 1085 "links": [ 1086 1087 ], 1088 "nullPointMode": "null", 1089 "percentage": false, 1090 "pointradius": 5, 1091 "points": false, 1092 "renderer": "flot", 1093 "repeat": null, 1094 "seriesOverrides": [ 1095 1096 ], 1097 "spaceLength": 10, 1098 "span": 4, 1099 "stack": false, 1100 "steppedLine": false, 1101 "targets": [ 1102 { 1103 "expr": "go_goroutines{cluster=\"$cluster\", job=\"kube-proxy\",instance=~\"$instance\"}", 1104 "format": "time_series", 1105 "intervalFactor": 2, 1106 "legendFormat": "{{`{{`}}instance{{`}}`}}", 1107 "refId": "A" 1108 } 1109 ], 1110 "thresholds": [ 1111 1112 ], 1113 "timeFrom": null, 1114 "timeShift": null, 1115 "title": "Goroutines", 1116 "tooltip": { 1117 "shared": false, 1118 "sort": 0, 1119 "value_type": "individual" 1120 }, 1121 "type": "graph", 1122 "xaxis": { 1123 "buckets": null, 1124 "mode": "time", 1125 "name": null, 1126 "show": true, 1127 "values": [ 1128 1129 ] 1130 }, 1131 "yaxes": [ 1132 { 1133 "format": "short", 1134 "label": null, 1135 "logBase": 1, 1136 "max": null, 1137 "min": null, 1138 "show": true 1139 }, 1140 { 1141 "format": "short", 1142 "label": null, 1143 "logBase": 1, 1144 "max": null, 1145 "min": null, 1146 "show": true 1147 } 1148 ] 1149 } 1150 ], 1151 "repeat": null, 1152 "repeatIteration": null, 1153 "repeatRowId": null, 1154 "showTitle": false, 1155 "title": "Dashboard Row", 1156 "titleSize": "h6", 1157 "type": "row" 1158 } 1159 ], 1160 "schemaVersion": 14, 1161 "style": "dark", 1162 "tags": [ 1163 "kubernetes-mixin" 1164 ], 1165 "templating": { 1166 "list": [ 1167 { 1168 "current": { 1169 "text": "default", 1170 "value": "default" 1171 }, 1172 "hide": 0, 1173 "label": "Data Source", 1174 "name": "datasource", 1175 "options": [ 1176 1177 ], 1178 "query": "prometheus", 1179 "refresh": 1, 1180 "regex": "", 1181 "type": "datasource" 1182 }, 1183 { 1184 "allValue": null, 1185 "current": { 1186 1187 }, 1188 "datasource": "$datasource", 1189 "hide": {{ if .Values.grafana.sidecar.dashboards.multicluster.global.enabled }}0{{ else }}2{{ end }}, 1190 "includeAll": false, 1191 "label": "cluster", 1192 "multi": false, 1193 "name": "cluster", 1194 "options": [ 1195 1196 ], 1197 "query": "label_values(up{job=\"kube-proxy\"}, cluster)", 1198 "refresh": 2, 1199 "regex": "", 1200 "sort": 1, 1201 "tagValuesQuery": "", 1202 "tags": [ 1203 1204 ], 1205 "tagsQuery": "", 1206 "type": "query", 1207 "useTags": false 1208 }, 1209 { 1210 "allValue": null, 1211 "current": { 1212 1213 }, 1214 "datasource": "$datasource", 1215 "hide": 0, 1216 "includeAll": true, 1217 "label": null, 1218 "multi": false, 1219 "name": "instance", 1220 "options": [ 1221 1222 ], 1223 "query": "label_values(up{job=\"kube-proxy\", cluster=\"$cluster\", job=\"kube-proxy\"}, instance)", 1224 "refresh": 2, 1225 "regex": "", 1226 "sort": 1, 1227 "tagValuesQuery": "", 1228 "tags": [ 1229 1230 ], 1231 "tagsQuery": "", 1232 "type": "query", 1233 "useTags": false 1234 } 1235 ] 1236 }, 1237 "time": { 1238 "from": "now-1h", 1239 "to": "now" 1240 }, 1241 "timepicker": { 1242 "refresh_intervals": [ 1243 "5s", 1244 "10s", 1245 "30s", 1246 "1m", 1247 "5m", 1248 "15m", 1249 "30m", 1250 "1h", 1251 "2h", 1252 "1d" 1253 ], 1254 "time_options": [ 1255 "5m", 1256 "15m", 1257 "1h", 1258 "6h", 1259 "12h", 1260 "24h", 1261 "2d", 1262 "7d", 1263 "30d" 1264 ] 1265 }, 1266 "timezone": "{{ .Values.grafana.defaultDashboardsTimezone }}", 1267 "title": "Kubernetes / Proxy", 1268 "uid": "632e265de029684c40b21cb76bca4f94", 1269 "version": 0 1270 } 1271 {{- end }}