github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/pulsar/dashboards/pulsar-zookeeper.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "$$hashKey": "object:13", 6 "builtIn": 1, 7 "datasource": { 8 "uid": "${prometheus}" 9 }, 10 "enable": true, 11 "hide": true, 12 "iconColor": "rgba(0, 211, 255, 1)", 13 "limit": 100, 14 "name": "Annotations & Alerts", 15 "showIn": 0, 16 "type": "dashboard" 17 } 18 ] 19 }, 20 "description": "Metrics about ZooKeeper Service", 21 "editable": true, 22 "fiscalYearStartMonth": 0, 23 "graphTooltip": 0, 24 "id": 15, 25 "links": [], 26 "liveNow": false, 27 "panels": [ 28 { 29 "datasource": { 30 "type": "prometheus", 31 "uid": "${prometheus}" 32 }, 33 "gridPos": { 34 "h": 1, 35 "w": 24, 36 "x": 0, 37 "y": 0 38 }, 39 "id": 15, 40 "targets": [ 41 { 42 "datasource": { 43 "type": "prometheus", 44 "uid": "${prometheus}" 45 }, 46 "refId": "A" 47 } 48 ], 49 "title": "Row title", 50 "type": "row" 51 }, 52 { 53 "datasource": { 54 "type": "prometheus", 55 "uid": "${prometheus}" 56 }, 57 "fieldConfig": { 58 "defaults": { 59 "color": { 60 "mode": "thresholds" 61 }, 62 "mappings": [ 63 { 64 "options": { 65 "match": "null", 66 "result": { 67 "text": "N/A" 68 } 69 }, 70 "type": "special" 71 } 72 ], 73 "thresholds": { 74 "mode": "absolute", 75 "steps": [ 76 { 77 "color": "green", 78 "value": null 79 }, 80 { 81 "color": "red", 82 "value": 80 83 } 84 ] 85 }, 86 "unit": "none" 87 }, 88 "overrides": [] 89 }, 90 "gridPos": { 91 "h": 6, 92 "w": 4, 93 "x": 0, 94 "y": 1 95 }, 96 "id": 17, 97 "links": [], 98 "maxDataPoints": 100, 99 "options": { 100 "colorMode": "none", 101 "graphMode": "none", 102 "justifyMode": "auto", 103 "orientation": "horizontal", 104 "reduceOptions": { 105 "calcs": [ 106 "mean" 107 ], 108 "fields": "", 109 "values": false 110 }, 111 "textMode": "auto" 112 }, 113 "pluginVersion": "9.2.4", 114 "targets": [ 115 { 116 "datasource": { 117 "uid": "${prometheus}" 118 }, 119 "editorMode": "code", 120 "expr": "sum(znode_count{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"})", 121 "format": "time_series", 122 "interval": "", 123 "intervalFactor": 1, 124 "legendFormat": "znode count", 125 "range": true, 126 "refId": "A" 127 } 128 ], 129 "title": "znode", 130 "type": "stat" 131 }, 132 { 133 "datasource": { 134 "type": "prometheus", 135 "uid": "${prometheus}" 136 }, 137 "fieldConfig": { 138 "defaults": { 139 "color": { 140 "mode": "thresholds" 141 }, 142 "mappings": [ 143 { 144 "options": { 145 "match": "null", 146 "result": { 147 "text": "N/A" 148 } 149 }, 150 "type": "special" 151 } 152 ], 153 "thresholds": { 154 "mode": "absolute", 155 "steps": [ 156 { 157 "color": "green", 158 "value": null 159 }, 160 { 161 "color": "red", 162 "value": 80 163 } 164 ] 165 }, 166 "unit": "none" 167 }, 168 "overrides": [] 169 }, 170 "gridPos": { 171 "h": 6, 172 "w": 5, 173 "x": 4, 174 "y": 1 175 }, 176 "id": 19, 177 "links": [], 178 "maxDataPoints": 100, 179 "options": { 180 "colorMode": "none", 181 "graphMode": "none", 182 "justifyMode": "auto", 183 "orientation": "horizontal", 184 "reduceOptions": { 185 "calcs": [ 186 "mean" 187 ], 188 "fields": "", 189 "values": false 190 }, 191 "textMode": "auto" 192 }, 193 "pluginVersion": "9.2.4", 194 "targets": [ 195 { 196 "datasource": { 197 "uid": "${prometheus}" 198 }, 199 "editorMode": "code", 200 "expr": "sum(watch_count{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"})", 201 "format": "time_series", 202 "interval": "", 203 "intervalFactor": 1, 204 "legendFormat": "", 205 "range": true, 206 "refId": "A" 207 } 208 ], 209 "title": "watches", 210 "type": "stat" 211 }, 212 { 213 "datasource": { 214 "type": "prometheus", 215 "uid": "${prometheus}" 216 }, 217 "fieldConfig": { 218 "defaults": { 219 "color": { 220 "mode": "thresholds" 221 }, 222 "mappings": [ 223 { 224 "options": { 225 "match": "null", 226 "result": { 227 "text": "N/A" 228 } 229 }, 230 "type": "special" 231 } 232 ], 233 "thresholds": { 234 "mode": "absolute", 235 "steps": [ 236 { 237 "color": "green", 238 "value": null 239 }, 240 { 241 "color": "red", 242 "value": 80 243 } 244 ] 245 }, 246 "unit": "none" 247 }, 248 "overrides": [] 249 }, 250 "gridPos": { 251 "h": 6, 252 "w": 5, 253 "x": 9, 254 "y": 1 255 }, 256 "id": 20, 257 "links": [], 258 "maxDataPoints": 100, 259 "options": { 260 "colorMode": "none", 261 "graphMode": "none", 262 "justifyMode": "auto", 263 "orientation": "horizontal", 264 "reduceOptions": { 265 "calcs": [ 266 "mean" 267 ], 268 "fields": "", 269 "values": false 270 }, 271 "textMode": "auto" 272 }, 273 "pluginVersion": "9.2.4", 274 "targets": [ 275 { 276 "datasource": { 277 "uid": "${prometheus}" 278 }, 279 "editorMode": "code", 280 "expr": "sum(ephemerals_count{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"})", 281 "format": "time_series", 282 "interval": "", 283 "intervalFactor": 1, 284 "legendFormat": "", 285 "range": true, 286 "refId": "A" 287 } 288 ], 289 "title": "ephemerals", 290 "type": "stat" 291 }, 292 { 293 "datasource": { 294 "type": "prometheus", 295 "uid": "${prometheus}" 296 }, 297 "fieldConfig": { 298 "defaults": { 299 "color": { 300 "mode": "thresholds" 301 }, 302 "mappings": [ 303 { 304 "options": { 305 "match": "null", 306 "result": { 307 "text": "N/A" 308 } 309 }, 310 "type": "special" 311 } 312 ], 313 "thresholds": { 314 "mode": "absolute", 315 "steps": [ 316 { 317 "color": "green", 318 "value": null 319 }, 320 { 321 "color": "red", 322 "value": 80 323 } 324 ] 325 }, 326 "unit": "decbytes" 327 }, 328 "overrides": [] 329 }, 330 "gridPos": { 331 "h": 6, 332 "w": 5, 333 "x": 14, 334 "y": 1 335 }, 336 "id": 21, 337 "links": [], 338 "maxDataPoints": 100, 339 "options": { 340 "colorMode": "none", 341 "graphMode": "none", 342 "justifyMode": "auto", 343 "orientation": "horizontal", 344 "reduceOptions": { 345 "calcs": [ 346 "mean" 347 ], 348 "fields": "", 349 "values": false 350 }, 351 "textMode": "auto" 352 }, 353 "pluginVersion": "9.2.4", 354 "targets": [ 355 { 356 "datasource": { 357 "uid": "${prometheus}" 358 }, 359 "editorMode": "code", 360 "expr": "sum(approximate_data_size{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"})", 361 "format": "time_series", 362 "interval": "", 363 "intervalFactor": 1, 364 "legendFormat": "", 365 "range": true, 366 "refId": "A" 367 } 368 ], 369 "title": "data size", 370 "type": "stat" 371 }, 372 { 373 "datasource": { 374 "type": "prometheus", 375 "uid": "${prometheus}" 376 }, 377 "fieldConfig": { 378 "defaults": { 379 "color": { 380 "mode": "thresholds" 381 }, 382 "mappings": [ 383 { 384 "options": { 385 "match": "null", 386 "result": { 387 "text": "N/A" 388 } 389 }, 390 "type": "special" 391 } 392 ], 393 "thresholds": { 394 "mode": "absolute", 395 "steps": [ 396 { 397 "color": "green", 398 "value": null 399 }, 400 { 401 "color": "red", 402 "value": 80 403 } 404 ] 405 }, 406 "unit": "none" 407 }, 408 "overrides": [] 409 }, 410 "gridPos": { 411 "h": 6, 412 "w": 5, 413 "x": 19, 414 "y": 1 415 }, 416 "id": 22, 417 "links": [], 418 "maxDataPoints": 100, 419 "options": { 420 "colorMode": "none", 421 "graphMode": "none", 422 "justifyMode": "auto", 423 "orientation": "horizontal", 424 "reduceOptions": { 425 "calcs": [ 426 "mean" 427 ], 428 "fields": "", 429 "values": false 430 }, 431 "textMode": "auto" 432 }, 433 "pluginVersion": "9.2.4", 434 "targets": [ 435 { 436 "datasource": { 437 "uid": "${prometheus}" 438 }, 439 "editorMode": "code", 440 "expr": "sum(num_alive_connections{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"})", 441 "format": "time_series", 442 "interval": "", 443 "intervalFactor": 1, 444 "legendFormat": "", 445 "range": true, 446 "refId": "A" 447 } 448 ], 449 "title": "connections", 450 "type": "stat" 451 }, 452 { 453 "collapsed": false, 454 "datasource": { 455 "type": "prometheus", 456 "uid": "prometheus" 457 }, 458 "gridPos": { 459 "h": 1, 460 "w": 24, 461 "x": 0, 462 "y": 7 463 }, 464 "id": 13, 465 "panels": [], 466 "targets": [ 467 { 468 "datasource": { 469 "type": "prometheus", 470 "uid": "${prometheus}" 471 }, 472 "refId": "A" 473 } 474 ], 475 "title": "Details", 476 "type": "row" 477 }, 478 { 479 "aliasColors": {}, 480 "bars": false, 481 "dashLength": 10, 482 "dashes": false, 483 "datasource": { 484 "type": "prometheus", 485 "uid": "${prometheus}" 486 }, 487 "decimals": 1, 488 "description": "All write operations (create / setData / ...)", 489 "fieldConfig": { 490 "defaults": { 491 "links": [] 492 }, 493 "overrides": [] 494 }, 495 "fill": 0, 496 "fillGradient": 0, 497 "gridPos": { 498 "h": 6, 499 "w": 12, 500 "x": 0, 501 "y": 8 502 }, 503 "hiddenSeries": false, 504 "id": 1, 505 "legend": { 506 "avg": false, 507 "current": false, 508 "max": false, 509 "min": false, 510 "show": false, 511 "total": false, 512 "values": false 513 }, 514 "lines": true, 515 "linewidth": 1, 516 "links": [], 517 "nullPointMode": "null", 518 "options": { 519 "alertThreshold": true 520 }, 521 "percentage": false, 522 "pluginVersion": "9.2.4", 523 "pointradius": 5, 524 "points": false, 525 "renderer": "flot", 526 "seriesOverrides": [], 527 "spaceLength": 10, 528 "stack": false, 529 "steppedLine": false, 530 "targets": [ 531 { 532 "datasource": { 533 "uid": "${prometheus}" 534 }, 535 "editorMode": "code", 536 "expr": "irate(updatelatency_count{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"}[30s])", 537 "format": "time_series", 538 "interval": "", 539 "intervalFactor": 2, 540 "legendFormat": "{{ kubernetes_pod_name }}", 541 "range": true, 542 "refId": "B" 543 } 544 ], 545 "thresholds": [], 546 "timeRegions": [], 547 "title": "Write Requests", 548 "tooltip": { 549 "shared": true, 550 "sort": 0, 551 "value_type": "individual" 552 }, 553 "type": "graph", 554 "xaxis": { 555 "mode": "time", 556 "show": true, 557 "values": [] 558 }, 559 "yaxes": [ 560 { 561 "format": "short", 562 "label": "writes / s", 563 "logBase": 1, 564 "min": "0", 565 "show": true 566 }, 567 { 568 "format": "short", 569 "logBase": 1, 570 "show": true 571 } 572 ], 573 "yaxis": { 574 "align": false 575 } 576 }, 577 { 578 "aliasColors": {}, 579 "bars": false, 580 "dashLength": 10, 581 "dashes": false, 582 "datasource": { 583 "type": "prometheus", 584 "uid": "${prometheus}" 585 }, 586 "description": "All read operations (getData / getChildren / ...)", 587 "fieldConfig": { 588 "defaults": { 589 "links": [] 590 }, 591 "overrides": [] 592 }, 593 "fill": 0, 594 "fillGradient": 0, 595 "gridPos": { 596 "h": 6, 597 "w": 12, 598 "x": 12, 599 "y": 8 600 }, 601 "hiddenSeries": false, 602 "id": 2, 603 "legend": { 604 "avg": false, 605 "current": false, 606 "max": false, 607 "min": false, 608 "show": false, 609 "total": false, 610 "values": false 611 }, 612 "lines": true, 613 "linewidth": 1, 614 "links": [], 615 "nullPointMode": "null", 616 "options": { 617 "alertThreshold": true 618 }, 619 "percentage": false, 620 "pluginVersion": "9.2.4", 621 "pointradius": 5, 622 "points": false, 623 "renderer": "flot", 624 "seriesOverrides": [], 625 "spaceLength": 10, 626 "stack": false, 627 "steppedLine": false, 628 "targets": [ 629 { 630 "datasource": { 631 "uid": "${prometheus}" 632 }, 633 "editorMode": "code", 634 "expr": "irate(readlatency_count{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"}[30s])", 635 "format": "time_series", 636 "interval": "", 637 "intervalFactor": 2, 638 "legendFormat": "{{ kubernetes_pod_name }}", 639 "metric": "zookeeper_server_requests_latency_ms_count", 640 "range": true, 641 "refId": "A", 642 "step": 10 643 } 644 ], 645 "thresholds": [], 646 "timeRegions": [], 647 "title": "Read Requests", 648 "tooltip": { 649 "shared": true, 650 "sort": 0, 651 "value_type": "individual" 652 }, 653 "type": "graph", 654 "xaxis": { 655 "mode": "time", 656 "show": true, 657 "values": [] 658 }, 659 "yaxes": [ 660 { 661 "format": "short", 662 "label": "reads / s", 663 "logBase": 1, 664 "min": "0", 665 "show": true 666 }, 667 { 668 "format": "short", 669 "logBase": 1, 670 "show": true 671 } 672 ], 673 "yaxis": { 674 "align": false 675 } 676 }, 677 { 678 "aliasColors": {}, 679 "bars": false, 680 "dashLength": 10, 681 "dashes": false, 682 "datasource": { 683 "type": "prometheus", 684 "uid": "${prometheus}" 685 }, 686 "description": "All write operations (create / setData / ...)", 687 "fieldConfig": { 688 "defaults": { 689 "links": [] 690 }, 691 "overrides": [] 692 }, 693 "fill": 0, 694 "fillGradient": 0, 695 "gridPos": { 696 "h": 7, 697 "w": 12, 698 "x": 0, 699 "y": 14 700 }, 701 "hiddenSeries": false, 702 "id": 4, 703 "legend": { 704 "avg": false, 705 "current": false, 706 "max": false, 707 "min": false, 708 "show": false, 709 "total": false, 710 "values": false 711 }, 712 "lines": true, 713 "linewidth": 1, 714 "links": [], 715 "nullPointMode": "null as zero", 716 "options": { 717 "alertThreshold": true 718 }, 719 "percentage": false, 720 "pluginVersion": "9.2.4", 721 "pointradius": 5, 722 "points": false, 723 "renderer": "flot", 724 "seriesOverrides": [], 725 "spaceLength": 10, 726 "stack": false, 727 "steppedLine": false, 728 "targets": [ 729 { 730 "datasource": { 731 "uid": "${prometheus}" 732 }, 733 "editorMode": "code", 734 "expr": "updatelatency{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\",quantile=\"0.99\", job=\"zookeeper\"} or vector(0)", 735 "format": "time_series", 736 "interval": "", 737 "intervalFactor": 2, 738 "legendFormat": "{{kubernetes_pod_name}}", 739 "metric": "zookeeper_server_requests_latency_ms_count", 740 "range": true, 741 "refId": "A", 742 "step": 10 743 } 744 ], 745 "thresholds": [], 746 "timeRegions": [], 747 "title": "Write Latency - 99pct", 748 "tooltip": { 749 "shared": true, 750 "sort": 0, 751 "value_type": "individual" 752 }, 753 "type": "graph", 754 "xaxis": { 755 "mode": "time", 756 "show": true, 757 "values": [] 758 }, 759 "yaxes": [ 760 { 761 "format": "ms", 762 "logBase": 1, 763 "min": "0", 764 "show": true 765 }, 766 { 767 "format": "short", 768 "logBase": 1, 769 "show": true 770 } 771 ], 772 "yaxis": { 773 "align": false 774 } 775 }, 776 { 777 "aliasColors": {}, 778 "bars": false, 779 "dashLength": 10, 780 "dashes": false, 781 "datasource": { 782 "type": "prometheus", 783 "uid": "${prometheus}" 784 }, 785 "decimals": 1, 786 "description": "All write operations (create / setData / ...)", 787 "fieldConfig": { 788 "defaults": { 789 "links": [] 790 }, 791 "overrides": [] 792 }, 793 "fill": 0, 794 "fillGradient": 0, 795 "gridPos": { 796 "h": 7, 797 "w": 12, 798 "x": 12, 799 "y": 14 800 }, 801 "hiddenSeries": false, 802 "id": 5, 803 "legend": { 804 "avg": false, 805 "current": false, 806 "max": false, 807 "min": false, 808 "show": false, 809 "total": false, 810 "values": false 811 }, 812 "lines": true, 813 "linewidth": 1, 814 "links": [], 815 "nullPointMode": "null", 816 "options": { 817 "alertThreshold": true 818 }, 819 "percentage": false, 820 "pluginVersion": "9.2.4", 821 "pointradius": 5, 822 "points": false, 823 "renderer": "flot", 824 "seriesOverrides": [], 825 "spaceLength": 10, 826 "stack": false, 827 "steppedLine": false, 828 "targets": [ 829 { 830 "datasource": { 831 "uid": "${prometheus}" 832 }, 833 "editorMode": "code", 834 "expr": "readlatency{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", quantile=\"0.99\", job=\"zookeeper\"} or vector(0)", 835 "format": "time_series", 836 "interval": "", 837 "intervalFactor": 2, 838 "legendFormat": "{{kubernetes_pod_name}}", 839 "metric": "zookeeper_server_requests_latency_ms_count", 840 "range": true, 841 "refId": "A", 842 "step": 10 843 } 844 ], 845 "thresholds": [], 846 "timeRegions": [], 847 "title": "Read Latency - 99pct", 848 "tooltip": { 849 "shared": true, 850 "sort": 0, 851 "value_type": "individual" 852 }, 853 "type": "graph", 854 "xaxis": { 855 "mode": "time", 856 "show": true, 857 "values": [] 858 }, 859 "yaxes": [ 860 { 861 "format": "ms", 862 "logBase": 1, 863 "min": "0", 864 "show": true 865 }, 866 { 867 "format": "short", 868 "logBase": 1, 869 "show": true 870 } 871 ], 872 "yaxis": { 873 "align": false 874 } 875 }, 876 { 877 "aliasColors": {}, 878 "bars": false, 879 "dashLength": 10, 880 "dashes": false, 881 "datasource": { 882 "type": "prometheus", 883 "uid": "${prometheus}" 884 }, 885 "description": "", 886 "fieldConfig": { 887 "defaults": { 888 "links": [] 889 }, 890 "overrides": [] 891 }, 892 "fill": 0, 893 "fillGradient": 0, 894 "gridPos": { 895 "h": 7, 896 "w": 12, 897 "x": 0, 898 "y": 21 899 }, 900 "hiddenSeries": false, 901 "id": 7, 902 "legend": { 903 "avg": false, 904 "current": false, 905 "max": false, 906 "min": false, 907 "show": false, 908 "total": false, 909 "values": false 910 }, 911 "lines": true, 912 "linewidth": 1, 913 "links": [], 914 "nullPointMode": "null", 915 "options": { 916 "alertThreshold": true 917 }, 918 "percentage": false, 919 "pluginVersion": "9.2.4", 920 "pointradius": 5, 921 "points": false, 922 "renderer": "flot", 923 "seriesOverrides": [], 924 "spaceLength": 10, 925 "stack": false, 926 "steppedLine": false, 927 "targets": [ 928 { 929 "datasource": { 930 "uid": "${prometheus}" 931 }, 932 "editorMode": "code", 933 "expr": "znode_count{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"}", 934 "format": "time_series", 935 "interval": "", 936 "intervalFactor": 2, 937 "legendFormat": "{{ kubernetes_pod_name }}", 938 "metric": "zookeeper_server_requests_latency_ms_count", 939 "range": true, 940 "refId": "A", 941 "step": 10 942 } 943 ], 944 "thresholds": [], 945 "timeRegions": [], 946 "title": "Z-Nodes count", 947 "tooltip": { 948 "shared": true, 949 "sort": 0, 950 "value_type": "individual" 951 }, 952 "type": "graph", 953 "xaxis": { 954 "mode": "time", 955 "show": true, 956 "values": [] 957 }, 958 "yaxes": [ 959 { 960 "format": "short", 961 "label": "", 962 "logBase": 1, 963 "min": "0", 964 "show": true 965 }, 966 { 967 "format": "short", 968 "logBase": 1, 969 "show": true 970 } 971 ], 972 "yaxis": { 973 "align": false 974 } 975 }, 976 { 977 "aliasColors": {}, 978 "bars": false, 979 "dashLength": 10, 980 "dashes": false, 981 "datasource": { 982 "type": "prometheus", 983 "uid": "${prometheus}" 984 }, 985 "description": "Size of the data stored in a ZK server", 986 "fieldConfig": { 987 "defaults": { 988 "links": [] 989 }, 990 "overrides": [] 991 }, 992 "fill": 0, 993 "fillGradient": 0, 994 "gridPos": { 995 "h": 7, 996 "w": 12, 997 "x": 12, 998 "y": 21 999 }, 1000 "hiddenSeries": false, 1001 "id": 8, 1002 "legend": { 1003 "avg": false, 1004 "current": false, 1005 "max": false, 1006 "min": false, 1007 "show": false, 1008 "total": false, 1009 "values": false 1010 }, 1011 "lines": true, 1012 "linewidth": 1, 1013 "links": [], 1014 "nullPointMode": "null", 1015 "options": { 1016 "alertThreshold": true 1017 }, 1018 "percentage": false, 1019 "pluginVersion": "9.2.4", 1020 "pointradius": 5, 1021 "points": false, 1022 "renderer": "flot", 1023 "seriesOverrides": [], 1024 "spaceLength": 10, 1025 "stack": false, 1026 "steppedLine": false, 1027 "targets": [ 1028 { 1029 "datasource": { 1030 "uid": "${prometheus}" 1031 }, 1032 "editorMode": "code", 1033 "expr": "approximate_data_size{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\",job=\"zookeeper\"}", 1034 "format": "time_series", 1035 "interval": "", 1036 "intervalFactor": 2, 1037 "legendFormat": "{{ kubernetes_pod_name }}", 1038 "metric": "zookeeper_server_requests_latency_ms_count", 1039 "range": true, 1040 "refId": "A", 1041 "step": 10 1042 } 1043 ], 1044 "thresholds": [], 1045 "timeRegions": [], 1046 "title": "Data set size", 1047 "tooltip": { 1048 "shared": true, 1049 "sort": 0, 1050 "value_type": "individual" 1051 }, 1052 "type": "graph", 1053 "xaxis": { 1054 "mode": "time", 1055 "show": true, 1056 "values": [] 1057 }, 1058 "yaxes": [ 1059 { 1060 "format": "decbytes", 1061 "label": "", 1062 "logBase": 1, 1063 "min": "0", 1064 "show": true 1065 }, 1066 { 1067 "format": "short", 1068 "logBase": 1, 1069 "show": true 1070 } 1071 ], 1072 "yaxis": { 1073 "align": false 1074 } 1075 }, 1076 { 1077 "aliasColors": {}, 1078 "bars": false, 1079 "dashLength": 10, 1080 "dashes": false, 1081 "datasource": { 1082 "type": "prometheus", 1083 "uid": "${prometheus}" 1084 }, 1085 "description": "Number of opened connections", 1086 "fieldConfig": { 1087 "defaults": { 1088 "links": [] 1089 }, 1090 "overrides": [] 1091 }, 1092 "fill": 1, 1093 "fillGradient": 0, 1094 "gridPos": { 1095 "h": 7, 1096 "w": 8, 1097 "x": 0, 1098 "y": 28 1099 }, 1100 "hiddenSeries": false, 1101 "id": 9, 1102 "legend": { 1103 "avg": false, 1104 "current": false, 1105 "max": false, 1106 "min": false, 1107 "show": false, 1108 "total": false, 1109 "values": false 1110 }, 1111 "lines": true, 1112 "linewidth": 1, 1113 "links": [], 1114 "nullPointMode": "null", 1115 "options": { 1116 "alertThreshold": true 1117 }, 1118 "percentage": false, 1119 "pluginVersion": "9.2.4", 1120 "pointradius": 5, 1121 "points": false, 1122 "renderer": "flot", 1123 "seriesOverrides": [], 1124 "spaceLength": 10, 1125 "stack": true, 1126 "steppedLine": false, 1127 "targets": [ 1128 { 1129 "datasource": { 1130 "uid": "${prometheus}" 1131 }, 1132 "editorMode": "code", 1133 "expr": "num_alive_connections{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"}", 1134 "format": "time_series", 1135 "interval": "", 1136 "intervalFactor": 2, 1137 "legendFormat": "{{ kubernetes_pod_name }}", 1138 "metric": "zookeeper_server_requests_latency_ms_count", 1139 "range": true, 1140 "refId": "A", 1141 "step": 10 1142 } 1143 ], 1144 "thresholds": [], 1145 "timeRegions": [], 1146 "title": "Connections", 1147 "tooltip": { 1148 "shared": true, 1149 "sort": 0, 1150 "value_type": "individual" 1151 }, 1152 "type": "graph", 1153 "xaxis": { 1154 "mode": "time", 1155 "show": true, 1156 "values": [] 1157 }, 1158 "yaxes": [ 1159 { 1160 "format": "short", 1161 "label": "", 1162 "logBase": 1, 1163 "min": "0", 1164 "show": true 1165 }, 1166 { 1167 "format": "short", 1168 "logBase": 1, 1169 "show": true 1170 } 1171 ], 1172 "yaxis": { 1173 "align": false 1174 } 1175 }, 1176 { 1177 "aliasColors": {}, 1178 "bars": false, 1179 "dashLength": 10, 1180 "dashes": false, 1181 "datasource": { 1182 "type": "prometheus", 1183 "uid": "${prometheus}" 1184 }, 1185 "description": "", 1186 "fieldConfig": { 1187 "defaults": { 1188 "links": [] 1189 }, 1190 "overrides": [] 1191 }, 1192 "fill": 1, 1193 "fillGradient": 0, 1194 "gridPos": { 1195 "h": 7, 1196 "w": 8, 1197 "x": 8, 1198 "y": 28 1199 }, 1200 "hiddenSeries": false, 1201 "id": 10, 1202 "legend": { 1203 "avg": false, 1204 "current": false, 1205 "max": false, 1206 "min": false, 1207 "show": false, 1208 "total": false, 1209 "values": false 1210 }, 1211 "lines": true, 1212 "linewidth": 1, 1213 "links": [], 1214 "nullPointMode": "null", 1215 "options": { 1216 "alertThreshold": true 1217 }, 1218 "percentage": false, 1219 "pluginVersion": "9.2.4", 1220 "pointradius": 5, 1221 "points": false, 1222 "renderer": "flot", 1223 "seriesOverrides": [], 1224 "spaceLength": 10, 1225 "stack": true, 1226 "steppedLine": false, 1227 "targets": [ 1228 { 1229 "datasource": { 1230 "uid": "${prometheus}" 1231 }, 1232 "editorMode": "code", 1233 "expr": "watch_count{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"}", 1234 "format": "time_series", 1235 "interval": "", 1236 "intervalFactor": 2, 1237 "legendFormat": "{{ kubernetes_pod_name }}", 1238 "metric": "zookeeper_server_requests_latency_ms_count", 1239 "range": true, 1240 "refId": "A", 1241 "step": 10 1242 } 1243 ], 1244 "thresholds": [], 1245 "timeRegions": [], 1246 "title": "Number of watches", 1247 "tooltip": { 1248 "shared": true, 1249 "sort": 0, 1250 "value_type": "individual" 1251 }, 1252 "type": "graph", 1253 "xaxis": { 1254 "mode": "time", 1255 "show": true, 1256 "values": [] 1257 }, 1258 "yaxes": [ 1259 { 1260 "format": "short", 1261 "label": "", 1262 "logBase": 1, 1263 "min": "0", 1264 "show": true 1265 }, 1266 { 1267 "format": "short", 1268 "logBase": 1, 1269 "show": true 1270 } 1271 ], 1272 "yaxis": { 1273 "align": false 1274 } 1275 }, 1276 { 1277 "aliasColors": {}, 1278 "bars": false, 1279 "dashLength": 10, 1280 "dashes": false, 1281 "datasource": { 1282 "type": "prometheus", 1283 "uid": "${prometheus}" 1284 }, 1285 "description": "", 1286 "fieldConfig": { 1287 "defaults": { 1288 "links": [] 1289 }, 1290 "overrides": [] 1291 }, 1292 "fill": 0, 1293 "fillGradient": 0, 1294 "gridPos": { 1295 "h": 7, 1296 "w": 8, 1297 "x": 16, 1298 "y": 28 1299 }, 1300 "hiddenSeries": false, 1301 "id": 11, 1302 "legend": { 1303 "avg": false, 1304 "current": false, 1305 "max": false, 1306 "min": false, 1307 "show": false, 1308 "total": false, 1309 "values": false 1310 }, 1311 "lines": true, 1312 "linewidth": 1, 1313 "links": [], 1314 "nullPointMode": "null", 1315 "options": { 1316 "alertThreshold": true 1317 }, 1318 "percentage": false, 1319 "pluginVersion": "9.2.4", 1320 "pointradius": 5, 1321 "points": false, 1322 "renderer": "flot", 1323 "seriesOverrides": [], 1324 "spaceLength": 10, 1325 "stack": false, 1326 "steppedLine": false, 1327 "targets": [ 1328 { 1329 "datasource": { 1330 "uid": "${prometheus}" 1331 }, 1332 "editorMode": "code", 1333 "expr": "ephemerals_count{app_kubernetes_io_instance=~\"$cluster\", kubernetes_pod_name=~\"$kubernetes_pod_name\", job=\"zookeeper\"}", 1334 "format": "time_series", 1335 "interval": "", 1336 "intervalFactor": 2, 1337 "legendFormat": "{{ kubernetes_pod_name }}", 1338 "metric": "zookeeper_server_requests_latency_ms_count", 1339 "range": true, 1340 "refId": "A", 1341 "step": 10 1342 } 1343 ], 1344 "thresholds": [], 1345 "timeRegions": [], 1346 "title": "Number of ephemerals", 1347 "tooltip": { 1348 "shared": true, 1349 "sort": 0, 1350 "value_type": "individual" 1351 }, 1352 "type": "graph", 1353 "xaxis": { 1354 "mode": "time", 1355 "show": true, 1356 "values": [] 1357 }, 1358 "yaxes": [ 1359 { 1360 "format": "short", 1361 "label": "", 1362 "logBase": 1, 1363 "min": "0", 1364 "show": true 1365 }, 1366 { 1367 "format": "short", 1368 "logBase": 1, 1369 "show": true 1370 } 1371 ], 1372 "yaxis": { 1373 "align": false 1374 } 1375 } 1376 ], 1377 "refresh": "", 1378 "schemaVersion": 37, 1379 "style": "dark", 1380 "tags": [ 1381 "zookeeper", 1382 "metadata", 1383 "pulsar" 1384 ], 1385 "templating": { 1386 "list": [ 1387 { 1388 "current": { 1389 "selected": false, 1390 "text": "default", 1391 "value": "default" 1392 }, 1393 "hide": 0, 1394 "includeAll": false, 1395 "label": "data source", 1396 "multi": false, 1397 "name": "prometheus", 1398 "options": [], 1399 "query": "prometheus", 1400 "queryValue": "", 1401 "refresh": 1, 1402 "regex": "", 1403 "skipUrlSync": false, 1404 "type": "datasource" 1405 }, 1406 { 1407 "current": { 1408 "selected": false, 1409 "text": "test", 1410 "value": "test" 1411 }, 1412 "datasource": { 1413 "type": "prometheus", 1414 "uid": "${prometheus}" 1415 }, 1416 "definition": "label_values(znode_count{job=\"zookeeper\"}, app_kubernetes_io_instance) ", 1417 "hide": 0, 1418 "includeAll": false, 1419 "label": "cluster", 1420 "multi": false, 1421 "name": "cluster", 1422 "options": [], 1423 "query": { 1424 "query": "label_values(znode_count{job=\"zookeeper\"}, app_kubernetes_io_instance) ", 1425 "refId": "StandardVariableQuery" 1426 }, 1427 "refresh": 1, 1428 "regex": "", 1429 "skipUrlSync": false, 1430 "sort": 5, 1431 "tagValuesQuery": "", 1432 "tagsQuery": "", 1433 "type": "query", 1434 "useTags": false 1435 }, 1436 { 1437 "allValue": ".+", 1438 "current": { 1439 "selected": true, 1440 "text": [ 1441 "All" 1442 ], 1443 "value": [ 1444 "$__all" 1445 ] 1446 }, 1447 "datasource": { 1448 "type": "prometheus", 1449 "uid": "${prometheus}" 1450 }, 1451 "definition": "label_values(znode_count{app_kubernetes_io_instance=\"$cluster\", job=\"zookeeper\"}, kubernetes_pod_name) ", 1452 "hide": 0, 1453 "includeAll": true, 1454 "label": "zookeeper server", 1455 "multi": true, 1456 "name": "kubernetes_pod_name", 1457 "options": [], 1458 "query": { 1459 "query": "label_values(znode_count{app_kubernetes_io_instance=\"$cluster\", job=\"zookeeper\"}, kubernetes_pod_name) ", 1460 "refId": "StandardVariableQuery" 1461 }, 1462 "refresh": 2, 1463 "regex": "", 1464 "skipUrlSync": false, 1465 "sort": 5, 1466 "tagValuesQuery": "", 1467 "tagsQuery": "", 1468 "type": "query", 1469 "useTags": false 1470 } 1471 ] 1472 }, 1473 "time": { 1474 "from": "now-30m", 1475 "to": "now" 1476 }, 1477 "timepicker": { 1478 "refresh_intervals": [ 1479 "5s", 1480 "10s", 1481 "30s", 1482 "1m", 1483 "5m", 1484 "15m", 1485 "30m", 1486 "1h", 1487 "2h", 1488 "1d" 1489 ], 1490 "time_options": [ 1491 "5m", 1492 "15m", 1493 "1h", 1494 "6h", 1495 "12h", 1496 "24h", 1497 "2d", 1498 "7d", 1499 "30d" 1500 ] 1501 }, 1502 "timezone": "", 1503 "title": "Pulsar / ZooKeeper", 1504 "uid": "pulsar-zookeeper", 1505 "version": 1, 1506 "weekStart": "" 1507 }