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