github.com/verrazzano/verrazzano@v1.7.1/platform-operator/thirdparty/charts/prometheus-community/kube-prometheus-stack/templates/grafana/dashboards-1.14/controller-manager.yaml (about) 1 {{- /* 2 Generated from 'controller-manager' 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.kubeControllerManager.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" $) "controller-manager" | 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 controller-manager.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-controller-manager\"})", 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": true, 156 "max": false, 157 "min": false, 158 "rightSide": true, 159 "show": true, 160 "sideWidth": null, 161 "total": false, 162 "values": true 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": 10, 180 "stack": false, 181 "steppedLine": false, 182 "targets": [ 183 { 184 "expr": "sum(rate(workqueue_adds_total{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name)", 185 "format": "time_series", 186 "intervalFactor": 2, 187 "legendFormat": "{{`{{`}}cluster{{`}}`}} {{`{{`}}instance{{`}}`}} {{`{{`}}name{{`}}`}}", 188 "refId": "A" 189 } 190 ], 191 "thresholds": [ 192 193 ], 194 "timeFrom": null, 195 "timeShift": null, 196 "title": "Work Queue Add 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": null, 219 "show": true 220 }, 221 { 222 "format": "ops", 223 "label": null, 224 "logBase": 1, 225 "max": null, 226 "min": null, 227 "show": true 228 } 229 ] 230 } 231 ], 232 "repeat": null, 233 "repeatIteration": null, 234 "repeatRowId": null, 235 "showTitle": false, 236 "title": "Dashboard Row", 237 "titleSize": "h6", 238 "type": "row" 239 }, 240 { 241 "collapse": false, 242 "collapsed": false, 243 "panels": [ 244 { 245 "aliasColors": { 246 247 }, 248 "bars": false, 249 "dashLength": 10, 250 "dashes": false, 251 "datasource": "$datasource", 252 "fill": 1, 253 "fillGradient": 0, 254 "gridPos": { 255 256 }, 257 "id": 4, 258 "interval": "1m", 259 "legend": { 260 "alignAsTable": true, 261 "avg": false, 262 "current": true, 263 "max": false, 264 "min": false, 265 "rightSide": true, 266 "show": true, 267 "sideWidth": null, 268 "total": false, 269 "values": true 270 }, 271 "lines": true, 272 "linewidth": 1, 273 "links": [ 274 275 ], 276 "nullPointMode": "null", 277 "percentage": false, 278 "pointradius": 5, 279 "points": false, 280 "renderer": "flot", 281 "repeat": null, 282 "seriesOverrides": [ 283 284 ], 285 "spaceLength": 10, 286 "span": 12, 287 "stack": false, 288 "steppedLine": false, 289 "targets": [ 290 { 291 "expr": "sum(rate(workqueue_depth{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name)", 292 "format": "time_series", 293 "intervalFactor": 2, 294 "legendFormat": "{{`{{`}}cluster{{`}}`}} {{`{{`}}instance{{`}}`}} {{`{{`}}name{{`}}`}}", 295 "refId": "A" 296 } 297 ], 298 "thresholds": [ 299 300 ], 301 "timeFrom": null, 302 "timeShift": null, 303 "title": "Work Queue Depth", 304 "tooltip": { 305 "shared": false, 306 "sort": 0, 307 "value_type": "individual" 308 }, 309 "type": "graph", 310 "xaxis": { 311 "buckets": null, 312 "mode": "time", 313 "name": null, 314 "show": true, 315 "values": [ 316 317 ] 318 }, 319 "yaxes": [ 320 { 321 "format": "short", 322 "label": null, 323 "logBase": 1, 324 "max": null, 325 "min": 0, 326 "show": true 327 }, 328 { 329 "format": "short", 330 "label": null, 331 "logBase": 1, 332 "max": null, 333 "min": 0, 334 "show": true 335 } 336 ] 337 } 338 ], 339 "repeat": null, 340 "repeatIteration": null, 341 "repeatRowId": null, 342 "showTitle": false, 343 "title": "Dashboard Row", 344 "titleSize": "h6", 345 "type": "row" 346 }, 347 { 348 "collapse": false, 349 "collapsed": false, 350 "panels": [ 351 { 352 "aliasColors": { 353 354 }, 355 "bars": false, 356 "dashLength": 10, 357 "dashes": false, 358 "datasource": "$datasource", 359 "fill": 1, 360 "fillGradient": 0, 361 "gridPos": { 362 363 }, 364 "id": 5, 365 "interval": "1m", 366 "legend": { 367 "alignAsTable": true, 368 "avg": false, 369 "current": true, 370 "max": false, 371 "min": false, 372 "rightSide": true, 373 "show": true, 374 "sideWidth": null, 375 "total": false, 376 "values": true 377 }, 378 "lines": true, 379 "linewidth": 1, 380 "links": [ 381 382 ], 383 "nullPointMode": "null", 384 "percentage": false, 385 "pointradius": 5, 386 "points": false, 387 "renderer": "flot", 388 "repeat": null, 389 "seriesOverrides": [ 390 391 ], 392 "spaceLength": 10, 393 "span": 12, 394 "stack": false, 395 "steppedLine": false, 396 "targets": [ 397 { 398 "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name, le))", 399 "format": "time_series", 400 "intervalFactor": 2, 401 "legendFormat": "{{`{{`}}cluster{{`}}`}} {{`{{`}}instance{{`}}`}} {{`{{`}}name{{`}}`}}", 402 "refId": "A" 403 } 404 ], 405 "thresholds": [ 406 407 ], 408 "timeFrom": null, 409 "timeShift": null, 410 "title": "Work Queue Latency", 411 "tooltip": { 412 "shared": false, 413 "sort": 0, 414 "value_type": "individual" 415 }, 416 "type": "graph", 417 "xaxis": { 418 "buckets": null, 419 "mode": "time", 420 "name": null, 421 "show": true, 422 "values": [ 423 424 ] 425 }, 426 "yaxes": [ 427 { 428 "format": "s", 429 "label": null, 430 "logBase": 1, 431 "max": null, 432 "min": null, 433 "show": true 434 }, 435 { 436 "format": "s", 437 "label": null, 438 "logBase": 1, 439 "max": null, 440 "min": null, 441 "show": true 442 } 443 ] 444 } 445 ], 446 "repeat": null, 447 "repeatIteration": null, 448 "repeatRowId": null, 449 "showTitle": false, 450 "title": "Dashboard Row", 451 "titleSize": "h6", 452 "type": "row" 453 }, 454 { 455 "collapse": false, 456 "collapsed": false, 457 "panels": [ 458 { 459 "aliasColors": { 460 461 }, 462 "bars": false, 463 "dashLength": 10, 464 "dashes": false, 465 "datasource": "$datasource", 466 "fill": 1, 467 "fillGradient": 0, 468 "gridPos": { 469 470 }, 471 "id": 6, 472 "interval": "1m", 473 "legend": { 474 "alignAsTable": true, 475 "avg": false, 476 "current": false, 477 "max": false, 478 "min": false, 479 "rightSide": true, 480 "show": true, 481 "sideWidth": null, 482 "total": false, 483 "values": false 484 }, 485 "lines": true, 486 "linewidth": 1, 487 "links": [ 488 489 ], 490 "nullPointMode": "null", 491 "percentage": false, 492 "pointradius": 5, 493 "points": false, 494 "renderer": "flot", 495 "repeat": null, 496 "seriesOverrides": [ 497 498 ], 499 "spaceLength": 10, 500 "span": 4, 501 "stack": false, 502 "steppedLine": false, 503 "targets": [ 504 { 505 "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))", 506 "format": "time_series", 507 "intervalFactor": 2, 508 "legendFormat": "2xx", 509 "refId": "A" 510 }, 511 { 512 "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))", 513 "format": "time_series", 514 "intervalFactor": 2, 515 "legendFormat": "3xx", 516 "refId": "B" 517 }, 518 { 519 "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))", 520 "format": "time_series", 521 "intervalFactor": 2, 522 "legendFormat": "4xx", 523 "refId": "C" 524 }, 525 { 526 "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))", 527 "format": "time_series", 528 "intervalFactor": 2, 529 "legendFormat": "5xx", 530 "refId": "D" 531 } 532 ], 533 "thresholds": [ 534 535 ], 536 "timeFrom": null, 537 "timeShift": null, 538 "title": "Kube API Request Rate", 539 "tooltip": { 540 "shared": false, 541 "sort": 0, 542 "value_type": "individual" 543 }, 544 "type": "graph", 545 "xaxis": { 546 "buckets": null, 547 "mode": "time", 548 "name": null, 549 "show": true, 550 "values": [ 551 552 ] 553 }, 554 "yaxes": [ 555 { 556 "format": "ops", 557 "label": null, 558 "logBase": 1, 559 "max": null, 560 "min": null, 561 "show": true 562 }, 563 { 564 "format": "ops", 565 "label": null, 566 "logBase": 1, 567 "max": null, 568 "min": null, 569 "show": true 570 } 571 ] 572 }, 573 { 574 "aliasColors": { 575 576 }, 577 "bars": false, 578 "dashLength": 10, 579 "dashes": false, 580 "datasource": "$datasource", 581 "fill": 1, 582 "fillGradient": 0, 583 "gridPos": { 584 585 }, 586 "id": 7, 587 "interval": "1m", 588 "legend": { 589 "alignAsTable": true, 590 "avg": false, 591 "current": false, 592 "max": false, 593 "min": false, 594 "rightSide": true, 595 "show": true, 596 "sideWidth": null, 597 "total": false, 598 "values": false 599 }, 600 "lines": true, 601 "linewidth": 1, 602 "links": [ 603 604 ], 605 "nullPointMode": "null", 606 "percentage": false, 607 "pointradius": 5, 608 "points": false, 609 "renderer": "flot", 610 "repeat": null, 611 "seriesOverrides": [ 612 613 ], 614 "spaceLength": 10, 615 "span": 8, 616 "stack": false, 617 "steppedLine": false, 618 "targets": [ 619 { 620 "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"POST\"}[$__rate_interval])) by (verb, url, le))", 621 "format": "time_series", 622 "intervalFactor": 2, 623 "legendFormat": "{{`{{`}}verb{{`}}`}} {{`{{`}}url{{`}}`}}", 624 "refId": "A" 625 } 626 ], 627 "thresholds": [ 628 629 ], 630 "timeFrom": null, 631 "timeShift": null, 632 "title": "Post Request Latency 99th Quantile", 633 "tooltip": { 634 "shared": false, 635 "sort": 0, 636 "value_type": "individual" 637 }, 638 "type": "graph", 639 "xaxis": { 640 "buckets": null, 641 "mode": "time", 642 "name": null, 643 "show": true, 644 "values": [ 645 646 ] 647 }, 648 "yaxes": [ 649 { 650 "format": "s", 651 "label": null, 652 "logBase": 1, 653 "max": null, 654 "min": 0, 655 "show": true 656 }, 657 { 658 "format": "s", 659 "label": null, 660 "logBase": 1, 661 "max": null, 662 "min": 0, 663 "show": true 664 } 665 ] 666 } 667 ], 668 "repeat": null, 669 "repeatIteration": null, 670 "repeatRowId": null, 671 "showTitle": false, 672 "title": "Dashboard Row", 673 "titleSize": "h6", 674 "type": "row" 675 }, 676 { 677 "collapse": false, 678 "collapsed": false, 679 "panels": [ 680 { 681 "aliasColors": { 682 683 }, 684 "bars": false, 685 "dashLength": 10, 686 "dashes": false, 687 "datasource": "$datasource", 688 "fill": 1, 689 "fillGradient": 0, 690 "gridPos": { 691 692 }, 693 "id": 8, 694 "interval": "1m", 695 "legend": { 696 "alignAsTable": true, 697 "avg": false, 698 "current": true, 699 "max": false, 700 "min": false, 701 "rightSide": true, 702 "show": true, 703 "sideWidth": null, 704 "total": false, 705 "values": true 706 }, 707 "lines": true, 708 "linewidth": 1, 709 "links": [ 710 711 ], 712 "nullPointMode": "null", 713 "percentage": false, 714 "pointradius": 5, 715 "points": false, 716 "renderer": "flot", 717 "repeat": null, 718 "seriesOverrides": [ 719 720 ], 721 "spaceLength": 10, 722 "span": 12, 723 "stack": false, 724 "steppedLine": false, 725 "targets": [ 726 { 727 "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"GET\"}[$__rate_interval])) by (verb, url, le))", 728 "format": "time_series", 729 "intervalFactor": 2, 730 "legendFormat": "{{`{{`}}verb{{`}}`}} {{`{{`}}url{{`}}`}}", 731 "refId": "A" 732 } 733 ], 734 "thresholds": [ 735 736 ], 737 "timeFrom": null, 738 "timeShift": null, 739 "title": "Get Request Latency 99th Quantile", 740 "tooltip": { 741 "shared": false, 742 "sort": 0, 743 "value_type": "individual" 744 }, 745 "type": "graph", 746 "xaxis": { 747 "buckets": null, 748 "mode": "time", 749 "name": null, 750 "show": true, 751 "values": [ 752 753 ] 754 }, 755 "yaxes": [ 756 { 757 "format": "s", 758 "label": null, 759 "logBase": 1, 760 "max": null, 761 "min": 0, 762 "show": true 763 }, 764 { 765 "format": "s", 766 "label": null, 767 "logBase": 1, 768 "max": null, 769 "min": 0, 770 "show": true 771 } 772 ] 773 } 774 ], 775 "repeat": null, 776 "repeatIteration": null, 777 "repeatRowId": null, 778 "showTitle": false, 779 "title": "Dashboard Row", 780 "titleSize": "h6", 781 "type": "row" 782 }, 783 { 784 "collapse": false, 785 "collapsed": false, 786 "panels": [ 787 { 788 "aliasColors": { 789 790 }, 791 "bars": false, 792 "dashLength": 10, 793 "dashes": false, 794 "datasource": "$datasource", 795 "fill": 1, 796 "fillGradient": 0, 797 "gridPos": { 798 799 }, 800 "id": 9, 801 "interval": "1m", 802 "legend": { 803 "alignAsTable": true, 804 "avg": false, 805 "current": false, 806 "max": false, 807 "min": false, 808 "rightSide": true, 809 "show": true, 810 "sideWidth": null, 811 "total": false, 812 "values": false 813 }, 814 "lines": true, 815 "linewidth": 1, 816 "links": [ 817 818 ], 819 "nullPointMode": "null", 820 "percentage": false, 821 "pointradius": 5, 822 "points": false, 823 "renderer": "flot", 824 "repeat": null, 825 "seriesOverrides": [ 826 827 ], 828 "spaceLength": 10, 829 "span": 4, 830 "stack": false, 831 "steppedLine": false, 832 "targets": [ 833 { 834 "expr": "process_resident_memory_bytes{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}", 835 "format": "time_series", 836 "intervalFactor": 2, 837 "legendFormat": "{{`{{`}}instance{{`}}`}}", 838 "refId": "A" 839 } 840 ], 841 "thresholds": [ 842 843 ], 844 "timeFrom": null, 845 "timeShift": null, 846 "title": "Memory", 847 "tooltip": { 848 "shared": false, 849 "sort": 0, 850 "value_type": "individual" 851 }, 852 "type": "graph", 853 "xaxis": { 854 "buckets": null, 855 "mode": "time", 856 "name": null, 857 "show": true, 858 "values": [ 859 860 ] 861 }, 862 "yaxes": [ 863 { 864 "format": "bytes", 865 "label": null, 866 "logBase": 1, 867 "max": null, 868 "min": null, 869 "show": true 870 }, 871 { 872 "format": "bytes", 873 "label": null, 874 "logBase": 1, 875 "max": null, 876 "min": null, 877 "show": true 878 } 879 ] 880 }, 881 { 882 "aliasColors": { 883 884 }, 885 "bars": false, 886 "dashLength": 10, 887 "dashes": false, 888 "datasource": "$datasource", 889 "fill": 1, 890 "fillGradient": 0, 891 "gridPos": { 892 893 }, 894 "id": 10, 895 "interval": "1m", 896 "legend": { 897 "alignAsTable": true, 898 "avg": false, 899 "current": false, 900 "max": false, 901 "min": false, 902 "rightSide": true, 903 "show": true, 904 "sideWidth": null, 905 "total": false, 906 "values": false 907 }, 908 "lines": true, 909 "linewidth": 1, 910 "links": [ 911 912 ], 913 "nullPointMode": "null", 914 "percentage": false, 915 "pointradius": 5, 916 "points": false, 917 "renderer": "flot", 918 "repeat": null, 919 "seriesOverrides": [ 920 921 ], 922 "spaceLength": 10, 923 "span": 4, 924 "stack": false, 925 "steppedLine": false, 926 "targets": [ 927 { 928 "expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}[$__rate_interval])", 929 "format": "time_series", 930 "intervalFactor": 2, 931 "legendFormat": "{{`{{`}}instance{{`}}`}}", 932 "refId": "A" 933 } 934 ], 935 "thresholds": [ 936 937 ], 938 "timeFrom": null, 939 "timeShift": null, 940 "title": "CPU usage", 941 "tooltip": { 942 "shared": false, 943 "sort": 0, 944 "value_type": "individual" 945 }, 946 "type": "graph", 947 "xaxis": { 948 "buckets": null, 949 "mode": "time", 950 "name": null, 951 "show": true, 952 "values": [ 953 954 ] 955 }, 956 "yaxes": [ 957 { 958 "format": "short", 959 "label": null, 960 "logBase": 1, 961 "max": null, 962 "min": 0, 963 "show": true 964 }, 965 { 966 "format": "short", 967 "label": null, 968 "logBase": 1, 969 "max": null, 970 "min": 0, 971 "show": true 972 } 973 ] 974 }, 975 { 976 "aliasColors": { 977 978 }, 979 "bars": false, 980 "dashLength": 10, 981 "dashes": false, 982 "datasource": "$datasource", 983 "fill": 1, 984 "fillGradient": 0, 985 "gridPos": { 986 987 }, 988 "id": 11, 989 "interval": "1m", 990 "legend": { 991 "alignAsTable": true, 992 "avg": false, 993 "current": false, 994 "max": false, 995 "min": false, 996 "rightSide": true, 997 "show": true, 998 "sideWidth": null, 999 "total": false, 1000 "values": false 1001 }, 1002 "lines": true, 1003 "linewidth": 1, 1004 "links": [ 1005 1006 ], 1007 "nullPointMode": "null", 1008 "percentage": false, 1009 "pointradius": 5, 1010 "points": false, 1011 "renderer": "flot", 1012 "repeat": null, 1013 "seriesOverrides": [ 1014 1015 ], 1016 "spaceLength": 10, 1017 "span": 4, 1018 "stack": false, 1019 "steppedLine": false, 1020 "targets": [ 1021 { 1022 "expr": "go_goroutines{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}", 1023 "format": "time_series", 1024 "intervalFactor": 2, 1025 "legendFormat": "{{`{{`}}instance{{`}}`}}", 1026 "refId": "A" 1027 } 1028 ], 1029 "thresholds": [ 1030 1031 ], 1032 "timeFrom": null, 1033 "timeShift": null, 1034 "title": "Goroutines", 1035 "tooltip": { 1036 "shared": false, 1037 "sort": 0, 1038 "value_type": "individual" 1039 }, 1040 "type": "graph", 1041 "xaxis": { 1042 "buckets": null, 1043 "mode": "time", 1044 "name": null, 1045 "show": true, 1046 "values": [ 1047 1048 ] 1049 }, 1050 "yaxes": [ 1051 { 1052 "format": "short", 1053 "label": null, 1054 "logBase": 1, 1055 "max": null, 1056 "min": null, 1057 "show": true 1058 }, 1059 { 1060 "format": "short", 1061 "label": null, 1062 "logBase": 1, 1063 "max": null, 1064 "min": null, 1065 "show": true 1066 } 1067 ] 1068 } 1069 ], 1070 "repeat": null, 1071 "repeatIteration": null, 1072 "repeatRowId": null, 1073 "showTitle": false, 1074 "title": "Dashboard Row", 1075 "titleSize": "h6", 1076 "type": "row" 1077 } 1078 ], 1079 "schemaVersion": 14, 1080 "style": "dark", 1081 "tags": [ 1082 "kubernetes-mixin" 1083 ], 1084 "templating": { 1085 "list": [ 1086 { 1087 "current": { 1088 "text": "default", 1089 "value": "default" 1090 }, 1091 "hide": 0, 1092 "label": "Data Source", 1093 "name": "datasource", 1094 "options": [ 1095 1096 ], 1097 "query": "prometheus", 1098 "refresh": 1, 1099 "regex": "", 1100 "type": "datasource" 1101 }, 1102 { 1103 "allValue": null, 1104 "current": { 1105 1106 }, 1107 "datasource": "$datasource", 1108 "hide": {{ if .Values.grafana.sidecar.dashboards.multicluster.global.enabled }}0{{ else }}2{{ end }}, 1109 "includeAll": false, 1110 "label": "cluster", 1111 "multi": false, 1112 "name": "cluster", 1113 "options": [ 1114 1115 ], 1116 "query": "label_values(up{job=\"kube-controller-manager\"}, cluster)", 1117 "refresh": 2, 1118 "regex": "", 1119 "sort": 1, 1120 "tagValuesQuery": "", 1121 "tags": [ 1122 1123 ], 1124 "tagsQuery": "", 1125 "type": "query", 1126 "useTags": false 1127 }, 1128 { 1129 "allValue": null, 1130 "current": { 1131 1132 }, 1133 "datasource": "$datasource", 1134 "hide": 0, 1135 "includeAll": true, 1136 "label": null, 1137 "multi": false, 1138 "name": "instance", 1139 "options": [ 1140 1141 ], 1142 "query": "label_values(up{cluster=\"$cluster\", job=\"kube-controller-manager\"}, instance)", 1143 "refresh": 2, 1144 "regex": "", 1145 "sort": 1, 1146 "tagValuesQuery": "", 1147 "tags": [ 1148 1149 ], 1150 "tagsQuery": "", 1151 "type": "query", 1152 "useTags": false 1153 } 1154 ] 1155 }, 1156 "time": { 1157 "from": "now-1h", 1158 "to": "now" 1159 }, 1160 "timepicker": { 1161 "refresh_intervals": [ 1162 "5s", 1163 "10s", 1164 "30s", 1165 "1m", 1166 "5m", 1167 "15m", 1168 "30m", 1169 "1h", 1170 "2h", 1171 "1d" 1172 ], 1173 "time_options": [ 1174 "5m", 1175 "15m", 1176 "1h", 1177 "6h", 1178 "12h", 1179 "24h", 1180 "2d", 1181 "7d", 1182 "30d" 1183 ] 1184 }, 1185 "timezone": "{{ .Values.grafana.defaultDashboardsTimezone }}", 1186 "title": "Kubernetes / Controller Manager", 1187 "uid": "72e0e05bef5099e5f049b05fdc429ed4", 1188 "version": 0 1189 } 1190 {{- end }}