github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/mongodb/dashboards/mongodb.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": { 7 "type": "grafana", 8 "uid": "-- Grafana --" 9 }, 10 "enable": true, 11 "hide": true, 12 "iconColor": "rgba(0, 211, 255, 1)", 13 "name": "Annotations & Alerts", 14 "target": { 15 "limit": 100, 16 "matchAny": false, 17 "tags": [], 18 "type": "dashboard" 19 }, 20 "type": "dashboard" 21 } 22 ] 23 }, 24 "description": "Dashboard for MongoDB ReplicaSet managed by KubeBlocks", 25 "editable": true, 26 "fiscalYearStartMonth": 0, 27 "gnetId": 7359, 28 "graphTooltip": 1, 29 "id": 10, 30 "links": [ 31 { 32 "asDropdown": false, 33 "icon": "cloud", 34 "includeVars": false, 35 "keepTime": false, 36 "tags": [], 37 "targetBlank": true, 38 "title": "ApeCloud", 39 "tooltip": "Improved productivity, cost-efficiency and business continuity.", 40 "type": "link", 41 "url": "https://kubeblocks.io/" 42 }, 43 { 44 "asDropdown": false, 45 "icon": "external link", 46 "includeVars": false, 47 "keepTime": false, 48 "tags": [], 49 "targetBlank": true, 50 "title": "KubeBlocks", 51 "tooltip": "An open-source and cloud-neutral DBaaS with Kubernetes.", 52 "type": "link", 53 "url": "https://github.com/apecloud/kubeblocks" 54 } 55 ], 56 "liveNow": false, 57 "panels": [ 58 { 59 "collapsed": false, 60 "gridPos": { 61 "h": 1, 62 "w": 24, 63 "x": 0, 64 "y": 0 65 }, 66 "id": 117, 67 "panels": [], 68 "title": "Summary", 69 "type": "row" 70 }, 71 { 72 "datasource": { 73 "type": "prometheus", 74 "uid": "$datasource" 75 }, 76 "description": "", 77 "fieldConfig": { 78 "defaults": { 79 "decimals": 2, 80 "mappings": [], 81 "thresholds": { 82 "mode": "absolute", 83 "steps": [ 84 { 85 "color": "dark-green", 86 "value": null 87 } 88 ] 89 }, 90 "unit": "short" 91 }, 92 "overrides": [] 93 }, 94 "gridPos": { 95 "h": 4, 96 "w": 3, 97 "x": 0, 98 "y": 1 99 }, 100 "id": 119, 101 "interval": "1m", 102 "links": [], 103 "maxDataPoints": 100, 104 "options": { 105 "colorMode": "value", 106 "fieldOptions": { 107 "calcs": [ 108 "lastNotNull" 109 ] 110 }, 111 "graphMode": "area", 112 "justifyMode": "auto", 113 "orientation": "horizontal", 114 "reduceOptions": { 115 "calcs": [ 116 "lastNotNull" 117 ], 118 "fields": "", 119 "values": false 120 }, 121 "textMode": "auto" 122 }, 123 "pluginVersion": "9.2.4", 124 "targets": [ 125 { 126 "calculatedInterval": "10m", 127 "datasource": { 128 "uid": "$datasource" 129 }, 130 "datasourceErrors": {}, 131 "editorMode": "code", 132 "errors": {}, 133 "exemplar": false, 134 "expr": "count(sum by(namespace)(mongodb_up{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"}))", 135 "format": "time_series", 136 "instant": true, 137 "interval": "1m", 138 "intervalFactor": 1, 139 "legendFormat": "__auto", 140 "metric": "", 141 "range": false, 142 "refId": "A", 143 "step": 20 144 } 145 ], 146 "title": "Total Namespaces", 147 "type": "stat" 148 }, 149 { 150 "datasource": { 151 "type": "prometheus", 152 "uid": "$datasource" 153 }, 154 "description": "", 155 "fieldConfig": { 156 "defaults": { 157 "decimals": 2, 158 "mappings": [], 159 "thresholds": { 160 "mode": "absolute", 161 "steps": [ 162 { 163 "color": "dark-green", 164 "value": null 165 } 166 ] 167 }, 168 "unit": "short" 169 }, 170 "overrides": [] 171 }, 172 "gridPos": { 173 "h": 4, 174 "w": 3, 175 "x": 3, 176 "y": 1 177 }, 178 "id": 121, 179 "interval": "1m", 180 "links": [], 181 "maxDataPoints": 100, 182 "options": { 183 "colorMode": "value", 184 "fieldOptions": { 185 "calcs": [ 186 "lastNotNull" 187 ] 188 }, 189 "graphMode": "area", 190 "justifyMode": "auto", 191 "orientation": "horizontal", 192 "reduceOptions": { 193 "calcs": [ 194 "lastNotNull" 195 ], 196 "fields": "", 197 "values": false 198 }, 199 "textMode": "auto" 200 }, 201 "pluginVersion": "9.2.4", 202 "targets": [ 203 { 204 "calculatedInterval": "10m", 205 "datasource": { 206 "uid": "$datasource" 207 }, 208 "datasourceErrors": {}, 209 "editorMode": "code", 210 "errors": {}, 211 "exemplar": false, 212 "expr": "count(sum by(namespace, app_kubernetes_io_instance)(mongodb_up{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"}))", 213 "format": "time_series", 214 "instant": true, 215 "interval": "1m", 216 "intervalFactor": 1, 217 "legendFormat": "{{label_name}}", 218 "metric": "", 219 "range": false, 220 "refId": "A", 221 "step": 20 222 } 223 ], 224 "title": "Total Clusters", 225 "type": "stat" 226 }, 227 { 228 "datasource": { 229 "type": "prometheus", 230 "uid": "$datasource" 231 }, 232 "description": "", 233 "fieldConfig": { 234 "defaults": { 235 "decimals": 2, 236 "mappings": [], 237 "thresholds": { 238 "mode": "absolute", 239 "steps": [ 240 { 241 "color": "dark-green", 242 "value": null 243 } 244 ] 245 }, 246 "unit": "short" 247 }, 248 "overrides": [] 249 }, 250 "gridPos": { 251 "h": 4, 252 "w": 3, 253 "x": 6, 254 "y": 1 255 }, 256 "id": 123, 257 "interval": "1m", 258 "links": [], 259 "maxDataPoints": 100, 260 "options": { 261 "colorMode": "value", 262 "fieldOptions": { 263 "calcs": [ 264 "lastNotNull" 265 ] 266 }, 267 "graphMode": "area", 268 "justifyMode": "auto", 269 "orientation": "horizontal", 270 "reduceOptions": { 271 "calcs": [ 272 "lastNotNull" 273 ], 274 "fields": "", 275 "values": false 276 }, 277 "textMode": "auto" 278 }, 279 "pluginVersion": "9.2.4", 280 "targets": [ 281 { 282 "calculatedInterval": "10m", 283 "datasource": { 284 "uid": "$datasource" 285 }, 286 "datasourceErrors": {}, 287 "editorMode": "code", 288 "errors": {}, 289 "exemplar": false, 290 "expr": "count(mongodb_up{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"} > 0)", 291 "format": "time_series", 292 "instant": true, 293 "interval": "1m", 294 "intervalFactor": 1, 295 "legendFormat": "__auto", 296 "metric": "", 297 "range": false, 298 "refId": "A", 299 "step": 20 300 } 301 ], 302 "title": "Total Ups", 303 "type": "stat" 304 }, 305 { 306 "datasource": { 307 "type": "prometheus", 308 "uid": "$datasource" 309 }, 310 "description": "", 311 "fieldConfig": { 312 "defaults": { 313 "decimals": 2, 314 "mappings": [], 315 "thresholds": { 316 "mode": "absolute", 317 "steps": [ 318 { 319 "color": "dark-green", 320 "value": null 321 }, 322 { 323 "color": "dark-red", 324 "value": 0.5 325 } 326 ] 327 }, 328 "unit": "short" 329 }, 330 "overrides": [] 331 }, 332 "gridPos": { 333 "h": 4, 334 "w": 3, 335 "x": 9, 336 "y": 1 337 }, 338 "id": 125, 339 "interval": "1m", 340 "links": [], 341 "maxDataPoints": 100, 342 "options": { 343 "colorMode": "value", 344 "fieldOptions": { 345 "calcs": [ 346 "lastNotNull" 347 ] 348 }, 349 "graphMode": "area", 350 "justifyMode": "auto", 351 "orientation": "horizontal", 352 "reduceOptions": { 353 "calcs": [ 354 "lastNotNull" 355 ], 356 "fields": "", 357 "values": false 358 }, 359 "textMode": "auto" 360 }, 361 "pluginVersion": "9.2.4", 362 "targets": [ 363 { 364 "calculatedInterval": "10m", 365 "datasource": { 366 "uid": "$datasource" 367 }, 368 "datasourceErrors": {}, 369 "editorMode": "code", 370 "errors": {}, 371 "exemplar": false, 372 "expr": "(count(mongodb_up{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"} <= 0)) or vector(0)", 373 "format": "time_series", 374 "instant": true, 375 "interval": "1m", 376 "intervalFactor": 1, 377 "legendFormat": "__auto", 378 "metric": "", 379 "range": false, 380 "refId": "A", 381 "step": 20 382 } 383 ], 384 "title": "Total Downs", 385 "transformations": [], 386 "type": "stat" 387 }, 388 { 389 "datasource": { 390 "type": "prometheus", 391 "uid": "$datasource" 392 }, 393 "description": "", 394 "fieldConfig": { 395 "defaults": { 396 "color": { 397 "mode": "thresholds" 398 }, 399 "custom": { 400 "align": "center", 401 "displayMode": "auto", 402 "filterable": false, 403 "inspect": false 404 }, 405 "mappings": [ 406 { 407 "options": { 408 "0": { 409 "index": 2, 410 "text": "STARTUP" 411 }, 412 "1": { 413 "index": 1, 414 "text": "PRIMARY" 415 }, 416 "2": { 417 "index": 0, 418 "text": "SECONDARY" 419 }, 420 "3": { 421 "index": 3, 422 "text": "RECOVERING" 423 }, 424 "5": { 425 "index": 4, 426 "text": "STARTUP2" 427 }, 428 "6": { 429 "index": 5, 430 "text": "UNKNOWN" 431 }, 432 "7": { 433 "index": 6, 434 "text": "ARBITER" 435 }, 436 "8": { 437 "index": 7, 438 "text": "DOWN" 439 }, 440 "9": { 441 "index": 8, 442 "text": "ROLLBACK" 443 }, 444 "10": { 445 "index": 9, 446 "text": "REMOVED" 447 } 448 }, 449 "type": "value" 450 } 451 ], 452 "thresholds": { 453 "mode": "absolute", 454 "steps": [ 455 { 456 "color": "green", 457 "value": null 458 } 459 ] 460 } 461 }, 462 "overrides": [ 463 { 464 "matcher": { 465 "id": "byName", 466 "options": "instance" 467 }, 468 "properties": [ 469 { 470 "id": "links", 471 "value": [ 472 { 473 "targetBlank": true, 474 "title": "MongoDBInstance: ${__data.fields.cluster} | ${__data.fields.instance}", 475 "url": "/d/pMEd7m0Mz/cadvisor-exporter?orgId=1&var-node=All&var-namespace=${__data.fields.namespace}&var-pod=${__data.fields.instance}&var-container=All" 476 } 477 ] 478 }, 479 { 480 "id": "custom.align", 481 "value": "center" 482 }, 483 { 484 "id": "custom.filterable", 485 "value": true 486 } 487 ] 488 }, 489 { 490 "matcher": { 491 "id": "byName", 492 "options": "uptime" 493 }, 494 "properties": [ 495 { 496 "id": "unit", 497 "value": "s" 498 }, 499 { 500 "id": "thresholds", 501 "value": { 502 "mode": "absolute", 503 "steps": [ 504 { 505 "color": "dark-red", 506 "value": null 507 }, 508 { 509 "color": "dark-yellow", 510 "value": 60 511 }, 512 { 513 "color": "dark-green", 514 "value": 120 515 } 516 ] 517 } 518 }, 519 { 520 "id": "custom.displayMode", 521 "value": "lcd-gauge" 522 } 523 ] 524 }, 525 { 526 "matcher": { 527 "id": "byName", 528 "options": "namespace" 529 }, 530 "properties": [ 531 { 532 "id": "custom.filterable", 533 "value": true 534 } 535 ] 536 }, 537 { 538 "matcher": { 539 "id": "byName", 540 "options": "cluster" 541 }, 542 "properties": [ 543 { 544 "id": "custom.filterable", 545 "value": true 546 } 547 ] 548 } 549 ] 550 }, 551 "gridPos": { 552 "h": 10, 553 "w": 12, 554 "x": 12, 555 "y": 1 556 }, 557 "id": 130, 558 "interval": "1m", 559 "links": [], 560 "maxDataPoints": 100, 561 "options": { 562 "footer": { 563 "enablePagination": false, 564 "fields": "", 565 "reducer": [ 566 "sum" 567 ], 568 "show": false 569 }, 570 "showHeader": true, 571 "sortBy": [ 572 { 573 "desc": false, 574 "displayName": "instance" 575 } 576 ] 577 }, 578 "pluginVersion": "9.2.4", 579 "targets": [ 580 { 581 "calculatedInterval": "10m", 582 "datasource": { 583 "uid": "$datasource" 584 }, 585 "datasourceErrors": {}, 586 "editorMode": "code", 587 "errors": {}, 588 "exemplar": false, 589 "expr": "sum by(namespace, app_kubernetes_io_instance, pod) (mongodb_up{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"})", 590 "format": "table", 591 "instant": true, 592 "interval": "1m", 593 "intervalFactor": 1, 594 "legendFormat": "__auto", 595 "metric": "", 596 "range": false, 597 "refId": "A", 598 "step": 20 599 }, 600 { 601 "calculatedInterval": "10m", 602 "datasource": { 603 "uid": "$datasource" 604 }, 605 "datasourceErrors": {}, 606 "editorMode": "code", 607 "errors": {}, 608 "exemplar": false, 609 "expr": "sum by(namespace, app_kubernetes_io_instance, pod) (mongodb_instance_uptime_seconds{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"})", 610 "format": "table", 611 "hide": false, 612 "instant": true, 613 "interval": "1m", 614 "intervalFactor": 1, 615 "legendFormat": "__auto", 616 "metric": "", 617 "range": false, 618 "refId": "B", 619 "step": 20 620 }, 621 { 622 "datasource": { 623 "type": "prometheus", 624 "uid": "$datasource" 625 }, 626 "editorMode": "code", 627 "exemplar": false, 628 "expr": "sum by(namespace, app_kubernetes_io_instance, pod) (mongodb_mongod_replset_my_state{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"})", 629 "format": "table", 630 "hide": false, 631 "instant": true, 632 "legendFormat": "__auto", 633 "range": false, 634 "refId": "C" 635 } 636 ], 637 "title": "Instance Resource", 638 "transformations": [ 639 { 640 "id": "joinByField", 641 "options": { 642 "byField": "pod", 643 "mode": "outer" 644 } 645 }, 646 { 647 "id": "organize", 648 "options": { 649 "excludeByName": { 650 "Time 1": true, 651 "Time 2": true, 652 "Time 3": true, 653 "Time 4": true, 654 "Value #A": true, 655 "Value #B": false, 656 "app_kubernetes_io_instance 2": true, 657 "app_kubernetes_io_instance 3": true, 658 "app_kubernetes_io_instance 4": true, 659 "namespace 2": true, 660 "namespace 3": true, 661 "namespace 4": true 662 }, 663 "indexByName": { 664 "Time 1": 3, 665 "Time 2": 5, 666 "Time 3": 10, 667 "Value #A": 4, 668 "Value #B": 9, 669 "Value #C": 8, 670 "app_kubernetes_io_instance 1": 1, 671 "app_kubernetes_io_instance 2": 6, 672 "app_kubernetes_io_instance 3": 11, 673 "namespace 1": 0, 674 "namespace 2": 7, 675 "namespace 3": 12, 676 "pod": 2 677 }, 678 "renameByName": { 679 "Value #B": "uptime", 680 "Value #C": "ReplSet State", 681 "app_kubernetes_io_instance 1": "cluster", 682 "namespace 1": "namespace", 683 "pod": "instance" 684 } 685 } 686 }, 687 { 688 "id": "convertFieldType", 689 "options": { 690 "conversions": [], 691 "fields": {} 692 } 693 } 694 ], 695 "type": "table" 696 }, 697 { 698 "datasource": { 699 "type": "prometheus", 700 "uid": "$datasource" 701 }, 702 "description": "", 703 "fieldConfig": { 704 "defaults": { 705 "color": { 706 "mode": "thresholds" 707 }, 708 "custom": { 709 "align": "center", 710 "displayMode": "auto", 711 "filterable": false, 712 "inspect": false 713 }, 714 "decimals": 2, 715 "mappings": [], 716 "thresholds": { 717 "mode": "absolute", 718 "steps": [ 719 { 720 "color": "dark-green", 721 "value": null 722 } 723 ] 724 }, 725 "unit": "short" 726 }, 727 "overrides": [ 728 { 729 "matcher": { 730 "id": "byName", 731 "options": "instances" 732 }, 733 "properties": [ 734 { 735 "id": "custom.displayMode", 736 "value": "lcd-gauge" 737 } 738 ] 739 } 740 ] 741 }, 742 "gridPos": { 743 "h": 6, 744 "w": 6, 745 "x": 0, 746 "y": 5 747 }, 748 "id": 127, 749 "interval": "1m", 750 "links": [], 751 "maxDataPoints": 100, 752 "options": { 753 "footer": { 754 "fields": "", 755 "reducer": [ 756 "sum" 757 ], 758 "show": false 759 }, 760 "showHeader": true 761 }, 762 "pluginVersion": "9.2.4", 763 "targets": [ 764 { 765 "calculatedInterval": "10m", 766 "datasource": { 767 "uid": "$datasource" 768 }, 769 "datasourceErrors": {}, 770 "editorMode": "code", 771 "errors": {}, 772 "exemplar": false, 773 "expr": "count by(mongodb)(mongodb_version_info{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"})", 774 "format": "table", 775 "instant": true, 776 "interval": "1m", 777 "intervalFactor": 1, 778 "legendFormat": "{{short_version}}", 779 "metric": "", 780 "range": false, 781 "refId": "A", 782 "step": 20 783 } 784 ], 785 "title": "Cluster Versions", 786 "transformations": [ 787 { 788 "id": "organize", 789 "options": { 790 "excludeByName": { 791 "Time": true 792 }, 793 "indexByName": {}, 794 "renameByName": { 795 "Value": "instances", 796 "short_version": "version" 797 } 798 } 799 } 800 ], 801 "type": "table" 802 }, 803 { 804 "datasource": { 805 "type": "prometheus", 806 "uid": "$datasource" 807 }, 808 "description": "", 809 "fieldConfig": { 810 "defaults": { 811 "color": { 812 "mode": "thresholds" 813 }, 814 "custom": { 815 "align": "center", 816 "displayMode": "auto", 817 "filterable": false, 818 "inspect": false 819 }, 820 "decimals": 2, 821 "mappings": [], 822 "thresholds": { 823 "mode": "absolute", 824 "steps": [ 825 { 826 "color": "dark-green", 827 "value": null 828 } 829 ] 830 }, 831 "unit": "short" 832 }, 833 "overrides": [ 834 { 835 "matcher": { 836 "id": "byName", 837 "options": "instances" 838 }, 839 "properties": [ 840 { 841 "id": "custom.displayMode", 842 "value": "lcd-gauge" 843 } 844 ] 845 } 846 ] 847 }, 848 "gridPos": { 849 "h": 6, 850 "w": 6, 851 "x": 6, 852 "y": 5 853 }, 854 "id": 128, 855 "interval": "1m", 856 "links": [], 857 "maxDataPoints": 100, 858 "options": { 859 "footer": { 860 "fields": "", 861 "reducer": [ 862 "sum" 863 ], 864 "show": false 865 }, 866 "showHeader": true 867 }, 868 "pluginVersion": "9.2.4", 869 "targets": [ 870 { 871 "calculatedInterval": "10m", 872 "datasource": { 873 "uid": "$datasource" 874 }, 875 "datasourceErrors": {}, 876 "editorMode": "code", 877 "errors": {}, 878 "exemplar": false, 879 "expr": "count by(engine)(mongodb_mongod_storage_engine{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"})", 880 "format": "table", 881 "instant": true, 882 "interval": "1m", 883 "intervalFactor": 1, 884 "legendFormat": "{{short_version}}", 885 "metric": "", 886 "range": false, 887 "refId": "A", 888 "step": 20 889 } 890 ], 891 "title": "Cluster Engines", 892 "transformations": [ 893 { 894 "id": "organize", 895 "options": { 896 "excludeByName": { 897 "Time": true 898 }, 899 "indexByName": {}, 900 "renameByName": { 901 "Value": "instances", 902 "short_version": "version" 903 } 904 } 905 } 906 ], 907 "type": "table" 908 }, 909 { 910 "aliasColors": {}, 911 "bars": false, 912 "dashLength": 10, 913 "dashes": false, 914 "datasource": { 915 "type": "prometheus", 916 "uid": "${datasource}" 917 }, 918 "description": "", 919 "editable": true, 920 "error": false, 921 "fieldConfig": { 922 "defaults": { 923 "unit": "s" 924 }, 925 "overrides": [] 926 }, 927 "fill": 2, 928 "fillGradient": 0, 929 "grid": { 930 "leftLogBase": 1, 931 "leftMin": 0, 932 "rightLogBase": 1 933 }, 934 "gridPos": { 935 "h": 7, 936 "w": 12, 937 "x": 0, 938 "y": 11 939 }, 940 "hiddenSeries": false, 941 "id": 155, 942 "legend": { 943 "alignAsTable": true, 944 "avg": true, 945 "current": false, 946 "max": true, 947 "min": true, 948 "show": true, 949 "sort": "avg", 950 "sortDesc": true, 951 "total": false, 952 "values": true 953 }, 954 "lines": true, 955 "linewidth": 2, 956 "links": [], 957 "nullPointMode": "null", 958 "options": { 959 "alertThreshold": true 960 }, 961 "percentage": false, 962 "pluginVersion": "9.2.4", 963 "pointradius": 5, 964 "points": false, 965 "renderer": "flot", 966 "seriesOverrides": [], 967 "spaceLength": 10, 968 "stack": false, 969 "steppedLine": false, 970 "targets": [ 971 { 972 "datasource": { 973 "type": "prometheus", 974 "uid": "${datasource}" 975 }, 976 "editorMode": "code", 977 "expr": "max by(namespace, app_kubernetes_io_instance, pod) (mongodb_mongod_replset_member_replication_lag{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"})", 978 "hide": false, 979 "interval": "", 980 "intervalFactor": 1, 981 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 982 "metric": "", 983 "range": true, 984 "refId": "J", 985 "step": 300 986 } 987 ], 988 "thresholds": [], 989 "timeRegions": [], 990 "title": "ReplSet Lag", 991 "tooltip": { 992 "msResolution": false, 993 "shared": true, 994 "sort": 0, 995 "value_type": "cumulative" 996 }, 997 "type": "graph", 998 "x-axis": true, 999 "xaxis": { 1000 "mode": "time", 1001 "show": true, 1002 "values": [] 1003 }, 1004 "y-axis": true, 1005 "y_formats": [ 1006 "s", 1007 "short" 1008 ], 1009 "yaxes": [ 1010 { 1011 "format": "ns", 1012 "label": "", 1013 "logBase": 1, 1014 "min": 0, 1015 "show": true 1016 }, 1017 { 1018 "format": "short", 1019 "logBase": 1, 1020 "show": true 1021 } 1022 ], 1023 "yaxis": { 1024 "align": false 1025 } 1026 }, 1027 { 1028 "aliasColors": {}, 1029 "bars": false, 1030 "dashLength": 10, 1031 "dashes": false, 1032 "datasource": { 1033 "type": "prometheus", 1034 "uid": "${datasource}" 1035 }, 1036 "description": "", 1037 "editable": true, 1038 "error": false, 1039 "fieldConfig": { 1040 "defaults": { 1041 "unit": "s" 1042 }, 1043 "overrides": [] 1044 }, 1045 "fill": 2, 1046 "fillGradient": 0, 1047 "grid": { 1048 "leftLogBase": 1, 1049 "leftMin": 0, 1050 "rightLogBase": 1 1051 }, 1052 "gridPos": { 1053 "h": 7, 1054 "w": 12, 1055 "x": 12, 1056 "y": 11 1057 }, 1058 "hiddenSeries": false, 1059 "id": 156, 1060 "legend": { 1061 "alignAsTable": true, 1062 "avg": true, 1063 "current": false, 1064 "max": true, 1065 "min": true, 1066 "show": true, 1067 "sort": "avg", 1068 "sortDesc": true, 1069 "total": false, 1070 "values": true 1071 }, 1072 "lines": true, 1073 "linewidth": 2, 1074 "links": [], 1075 "nullPointMode": "null", 1076 "options": { 1077 "alertThreshold": true 1078 }, 1079 "percentage": false, 1080 "pluginVersion": "9.2.4", 1081 "pointradius": 5, 1082 "points": false, 1083 "renderer": "flot", 1084 "seriesOverrides": [], 1085 "spaceLength": 10, 1086 "stack": false, 1087 "steppedLine": false, 1088 "targets": [ 1089 { 1090 "datasource": { 1091 "type": "prometheus", 1092 "uid": "${datasource}" 1093 }, 1094 "editorMode": "code", 1095 "expr": "time() - mongodb_mongod_replset_member_election_date{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"}", 1096 "hide": false, 1097 "interval": "", 1098 "intervalFactor": 1, 1099 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 1100 "metric": "", 1101 "range": true, 1102 "refId": "J", 1103 "step": 300 1104 } 1105 ], 1106 "thresholds": [], 1107 "timeRegions": [], 1108 "title": "ReplSet Last Election", 1109 "tooltip": { 1110 "msResolution": false, 1111 "shared": true, 1112 "sort": 0, 1113 "value_type": "cumulative" 1114 }, 1115 "type": "graph", 1116 "x-axis": true, 1117 "xaxis": { 1118 "mode": "time", 1119 "show": true, 1120 "values": [] 1121 }, 1122 "y-axis": true, 1123 "y_formats": [ 1124 "s", 1125 "short" 1126 ], 1127 "yaxes": [ 1128 { 1129 "format": "s", 1130 "label": "", 1131 "logBase": 1, 1132 "min": 0, 1133 "show": true 1134 }, 1135 { 1136 "format": "short", 1137 "logBase": 1, 1138 "show": true 1139 } 1140 ], 1141 "yaxis": { 1142 "align": false 1143 } 1144 }, 1145 { 1146 "collapsed": false, 1147 "gridPos": { 1148 "h": 1, 1149 "w": 24, 1150 "x": 0, 1151 "y": 18 1152 }, 1153 "id": 104, 1154 "panels": [], 1155 "title": "Memory & Network", 1156 "type": "row" 1157 }, 1158 { 1159 "aliasColors": {}, 1160 "bars": false, 1161 "dashLength": 10, 1162 "dashes": false, 1163 "datasource": { 1164 "type": "prometheus", 1165 "uid": "${datasource}" 1166 }, 1167 "description": "", 1168 "editable": true, 1169 "error": false, 1170 "fieldConfig": { 1171 "defaults": { 1172 "unit": "mbytes" 1173 }, 1174 "overrides": [] 1175 }, 1176 "fill": 2, 1177 "fillGradient": 0, 1178 "grid": { 1179 "leftLogBase": 1, 1180 "leftMin": 0, 1181 "rightLogBase": 1 1182 }, 1183 "gridPos": { 1184 "h": 7, 1185 "w": 12, 1186 "x": 0, 1187 "y": 19 1188 }, 1189 "hiddenSeries": false, 1190 "id": 75, 1191 "legend": { 1192 "alignAsTable": true, 1193 "avg": true, 1194 "current": false, 1195 "max": true, 1196 "min": true, 1197 "show": true, 1198 "sort": "avg", 1199 "sortDesc": true, 1200 "total": false, 1201 "values": true 1202 }, 1203 "lines": true, 1204 "linewidth": 2, 1205 "links": [], 1206 "nullPointMode": "null", 1207 "options": { 1208 "alertThreshold": true 1209 }, 1210 "percentage": false, 1211 "pluginVersion": "9.2.4", 1212 "pointradius": 5, 1213 "points": false, 1214 "renderer": "flot", 1215 "seriesOverrides": [], 1216 "spaceLength": 10, 1217 "stack": false, 1218 "steppedLine": false, 1219 "targets": [ 1220 { 1221 "datasource": { 1222 "type": "prometheus", 1223 "uid": "${datasource}" 1224 }, 1225 "editorMode": "code", 1226 "expr": "mongodb_memory{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\", type=~\"resident|virtual\"}", 1227 "hide": false, 1228 "interval": "1m", 1229 "intervalFactor": 1, 1230 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}-{{type}}", 1231 "metric": "", 1232 "range": true, 1233 "refId": "J", 1234 "step": 300 1235 } 1236 ], 1237 "thresholds": [], 1238 "timeRegions": [], 1239 "title": "MongoDB Memory", 1240 "tooltip": { 1241 "msResolution": false, 1242 "shared": true, 1243 "sort": 0, 1244 "value_type": "cumulative" 1245 }, 1246 "type": "graph", 1247 "x-axis": true, 1248 "xaxis": { 1249 "mode": "time", 1250 "show": true, 1251 "values": [] 1252 }, 1253 "y-axis": true, 1254 "y_formats": [ 1255 "s", 1256 "short" 1257 ], 1258 "yaxes": [ 1259 { 1260 "format": "mbytes", 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 "editable": true, 1287 "error": false, 1288 "fieldConfig": { 1289 "defaults": { 1290 "unit": "none" 1291 }, 1292 "overrides": [] 1293 }, 1294 "fill": 2, 1295 "fillGradient": 0, 1296 "grid": { 1297 "leftLogBase": 1, 1298 "leftMin": 0, 1299 "rightLogBase": 1 1300 }, 1301 "gridPos": { 1302 "h": 7, 1303 "w": 12, 1304 "x": 12, 1305 "y": 19 1306 }, 1307 "hiddenSeries": false, 1308 "id": 105, 1309 "legend": { 1310 "alignAsTable": true, 1311 "avg": true, 1312 "current": false, 1313 "max": true, 1314 "min": true, 1315 "show": true, 1316 "sort": "avg", 1317 "sortDesc": true, 1318 "total": false, 1319 "values": true 1320 }, 1321 "lines": true, 1322 "linewidth": 2, 1323 "links": [], 1324 "nullPointMode": "null", 1325 "options": { 1326 "alertThreshold": true 1327 }, 1328 "percentage": false, 1329 "pluginVersion": "9.2.4", 1330 "pointradius": 5, 1331 "points": false, 1332 "renderer": "flot", 1333 "seriesOverrides": [], 1334 "spaceLength": 10, 1335 "stack": false, 1336 "steppedLine": false, 1337 "targets": [ 1338 { 1339 "datasource": { 1340 "type": "prometheus", 1341 "uid": "prometheus" 1342 }, 1343 "editorMode": "code", 1344 "expr": "rate(mongodb_network_metrics_num_requests_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval])", 1345 "hide": false, 1346 "interval": "1m", 1347 "intervalFactor": 1, 1348 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 1349 "metric": "", 1350 "range": true, 1351 "refId": "J", 1352 "step": 300 1353 } 1354 ], 1355 "thresholds": [], 1356 "timeRegions": [], 1357 "title": "MongoDB NetworkRequests", 1358 "tooltip": { 1359 "msResolution": false, 1360 "shared": true, 1361 "sort": 0, 1362 "value_type": "cumulative" 1363 }, 1364 "type": "graph", 1365 "x-axis": true, 1366 "xaxis": { 1367 "mode": "time", 1368 "show": true, 1369 "values": [] 1370 }, 1371 "y-axis": true, 1372 "y_formats": [ 1373 "s", 1374 "short" 1375 ], 1376 "yaxes": [ 1377 { 1378 "format": "none", 1379 "label": "", 1380 "logBase": 1, 1381 "min": 0, 1382 "show": true 1383 }, 1384 { 1385 "format": "short", 1386 "logBase": 1, 1387 "show": true 1388 } 1389 ], 1390 "yaxis": { 1391 "align": false 1392 } 1393 }, 1394 { 1395 "aliasColors": {}, 1396 "bars": false, 1397 "dashLength": 10, 1398 "dashes": false, 1399 "datasource": { 1400 "type": "prometheus", 1401 "uid": "prometheus" 1402 }, 1403 "description": "", 1404 "editable": true, 1405 "error": false, 1406 "fieldConfig": { 1407 "defaults": { 1408 "unit": "bytes" 1409 }, 1410 "overrides": [] 1411 }, 1412 "fill": 2, 1413 "fillGradient": 0, 1414 "grid": { 1415 "leftLogBase": 1, 1416 "leftMin": 0, 1417 "rightLogBase": 1 1418 }, 1419 "gridPos": { 1420 "h": 7, 1421 "w": 12, 1422 "x": 0, 1423 "y": 26 1424 }, 1425 "hiddenSeries": false, 1426 "id": 131, 1427 "legend": { 1428 "alignAsTable": true, 1429 "avg": true, 1430 "current": false, 1431 "max": true, 1432 "min": true, 1433 "show": true, 1434 "sort": "avg", 1435 "sortDesc": true, 1436 "total": false, 1437 "values": true 1438 }, 1439 "lines": true, 1440 "linewidth": 2, 1441 "links": [], 1442 "nullPointMode": "null", 1443 "options": { 1444 "alertThreshold": true 1445 }, 1446 "percentage": false, 1447 "pluginVersion": "9.2.4", 1448 "pointradius": 5, 1449 "points": false, 1450 "renderer": "flot", 1451 "seriesOverrides": [], 1452 "spaceLength": 10, 1453 "stack": false, 1454 "steppedLine": false, 1455 "targets": [ 1456 { 1457 "datasource": { 1458 "type": "prometheus", 1459 "uid": "prometheus" 1460 }, 1461 "editorMode": "code", 1462 "expr": "rate(mongodb_ss_network_bytesOut{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_ss_network_bytesOut{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 1463 "hide": false, 1464 "interval": "$__rate_interval", 1465 "intervalFactor": 1, 1466 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 1467 "metric": "", 1468 "range": true, 1469 "refId": "J", 1470 "step": 300 1471 } 1472 ], 1473 "thresholds": [], 1474 "timeRegions": [], 1475 "title": "MongoDB NetWorkOut", 1476 "tooltip": { 1477 "msResolution": false, 1478 "shared": true, 1479 "sort": 0, 1480 "value_type": "cumulative" 1481 }, 1482 "type": "graph", 1483 "x-axis": true, 1484 "xaxis": { 1485 "mode": "time", 1486 "show": true, 1487 "values": [] 1488 }, 1489 "y-axis": true, 1490 "y_formats": [ 1491 "s", 1492 "short" 1493 ], 1494 "yaxes": [ 1495 { 1496 "format": "bytes", 1497 "label": "", 1498 "logBase": 1, 1499 "min": 0, 1500 "show": true 1501 }, 1502 { 1503 "format": "short", 1504 "logBase": 1, 1505 "show": true 1506 } 1507 ], 1508 "yaxis": { 1509 "align": false 1510 } 1511 }, 1512 { 1513 "aliasColors": {}, 1514 "bars": false, 1515 "dashLength": 10, 1516 "dashes": false, 1517 "datasource": { 1518 "type": "prometheus", 1519 "uid": "prometheus" 1520 }, 1521 "description": "", 1522 "editable": true, 1523 "error": false, 1524 "fieldConfig": { 1525 "defaults": { 1526 "unit": "bytes" 1527 }, 1528 "overrides": [] 1529 }, 1530 "fill": 2, 1531 "fillGradient": 0, 1532 "grid": { 1533 "leftLogBase": 1, 1534 "leftMin": 0, 1535 "rightLogBase": 1 1536 }, 1537 "gridPos": { 1538 "h": 7, 1539 "w": 12, 1540 "x": 12, 1541 "y": 26 1542 }, 1543 "hiddenSeries": false, 1544 "id": 132, 1545 "legend": { 1546 "alignAsTable": true, 1547 "avg": true, 1548 "current": false, 1549 "max": true, 1550 "min": true, 1551 "show": true, 1552 "sort": "avg", 1553 "sortDesc": true, 1554 "total": false, 1555 "values": true 1556 }, 1557 "lines": true, 1558 "linewidth": 2, 1559 "links": [], 1560 "nullPointMode": "null", 1561 "options": { 1562 "alertThreshold": true 1563 }, 1564 "percentage": false, 1565 "pluginVersion": "9.2.4", 1566 "pointradius": 5, 1567 "points": false, 1568 "renderer": "flot", 1569 "seriesOverrides": [], 1570 "spaceLength": 10, 1571 "stack": false, 1572 "steppedLine": false, 1573 "targets": [ 1574 { 1575 "datasource": { 1576 "type": "prometheus", 1577 "uid": "prometheus" 1578 }, 1579 "editorMode": "code", 1580 "expr": "rate(mongodb_ss_network_bytesIn{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_ss_network_bytesIn{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 1581 "hide": false, 1582 "interval": "$__rate_interval", 1583 "intervalFactor": 1, 1584 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 1585 "metric": "", 1586 "range": true, 1587 "refId": "J", 1588 "step": 300 1589 } 1590 ], 1591 "thresholds": [], 1592 "timeRegions": [], 1593 "title": "MongoDB NetworkIn", 1594 "tooltip": { 1595 "msResolution": false, 1596 "shared": true, 1597 "sort": 0, 1598 "value_type": "cumulative" 1599 }, 1600 "type": "graph", 1601 "x-axis": true, 1602 "xaxis": { 1603 "mode": "time", 1604 "show": true, 1605 "values": [] 1606 }, 1607 "y-axis": true, 1608 "y_formats": [ 1609 "s", 1610 "short" 1611 ], 1612 "yaxes": [ 1613 { 1614 "format": "bytes", 1615 "label": "", 1616 "logBase": 1, 1617 "min": 0, 1618 "show": true 1619 }, 1620 { 1621 "format": "short", 1622 "logBase": 1, 1623 "show": true 1624 } 1625 ], 1626 "yaxis": { 1627 "align": false 1628 } 1629 }, 1630 { 1631 "collapsed": false, 1632 "gridPos": { 1633 "h": 1, 1634 "w": 24, 1635 "x": 0, 1636 "y": 33 1637 }, 1638 "id": 93, 1639 "panels": [], 1640 "title": "Operations", 1641 "type": "row" 1642 }, 1643 { 1644 "aliasColors": {}, 1645 "bars": false, 1646 "dashLength": 10, 1647 "dashes": false, 1648 "datasource": { 1649 "type": "prometheus", 1650 "uid": "prometheus" 1651 }, 1652 "description": "", 1653 "editable": true, 1654 "error": false, 1655 "fieldConfig": { 1656 "defaults": { 1657 "unit": "none" 1658 }, 1659 "overrides": [] 1660 }, 1661 "fill": 2, 1662 "fillGradient": 0, 1663 "grid": { 1664 "leftLogBase": 1, 1665 "leftMin": 0, 1666 "rightLogBase": 1 1667 }, 1668 "gridPos": { 1669 "h": 7, 1670 "w": 12, 1671 "x": 0, 1672 "y": 34 1673 }, 1674 "hiddenSeries": false, 1675 "id": 27, 1676 "legend": { 1677 "alignAsTable": true, 1678 "avg": true, 1679 "current": false, 1680 "max": true, 1681 "min": true, 1682 "show": true, 1683 "total": false, 1684 "values": true 1685 }, 1686 "lines": true, 1687 "linewidth": 2, 1688 "links": [], 1689 "nullPointMode": "null", 1690 "options": { 1691 "alertThreshold": true 1692 }, 1693 "percentage": false, 1694 "pluginVersion": "9.2.4", 1695 "pointradius": 5, 1696 "points": false, 1697 "renderer": "flot", 1698 "seriesOverrides": [], 1699 "spaceLength": 10, 1700 "stack": false, 1701 "steppedLine": false, 1702 "targets": [ 1703 { 1704 "datasource": { 1705 "type": "prometheus", 1706 "uid": "prometheus" 1707 }, 1708 "editorMode": "code", 1709 "expr": "rate(mongodb_op_counters_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_op_counters_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 1710 "format": "time_series", 1711 "hide": false, 1712 "interval": "", 1713 "intervalFactor": 1, 1714 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - {{type}}", 1715 "metric": "", 1716 "range": true, 1717 "refId": "A", 1718 "step": 300 1719 } 1720 ], 1721 "thresholds": [], 1722 "timeRegions": [], 1723 "title": "Query Operations", 1724 "tooltip": { 1725 "msResolution": false, 1726 "shared": true, 1727 "sort": 0, 1728 "value_type": "cumulative" 1729 }, 1730 "type": "graph", 1731 "x-axis": true, 1732 "xaxis": { 1733 "mode": "time", 1734 "show": true, 1735 "values": [] 1736 }, 1737 "y-axis": true, 1738 "y_formats": [ 1739 "s", 1740 "short" 1741 ], 1742 "yaxes": [ 1743 { 1744 "format": "none", 1745 "label": "", 1746 "logBase": 1, 1747 "min": 0, 1748 "show": true 1749 }, 1750 { 1751 "format": "short", 1752 "logBase": 1, 1753 "show": true 1754 } 1755 ], 1756 "yaxis": { 1757 "align": false 1758 } 1759 }, 1760 { 1761 "aliasColors": {}, 1762 "bars": false, 1763 "dashLength": 10, 1764 "dashes": false, 1765 "datasource": { 1766 "type": "prometheus", 1767 "uid": "prometheus" 1768 }, 1769 "description": "", 1770 "editable": true, 1771 "error": false, 1772 "fieldConfig": { 1773 "defaults": { 1774 "unit": "none" 1775 }, 1776 "overrides": [] 1777 }, 1778 "fill": 2, 1779 "fillGradient": 0, 1780 "grid": { 1781 "leftLogBase": 1, 1782 "leftMin": 0, 1783 "rightLogBase": 1 1784 }, 1785 "gridPos": { 1786 "h": 7, 1787 "w": 12, 1788 "x": 12, 1789 "y": 34 1790 }, 1791 "hiddenSeries": false, 1792 "id": 133, 1793 "legend": { 1794 "alignAsTable": true, 1795 "avg": true, 1796 "current": false, 1797 "max": true, 1798 "min": true, 1799 "show": true, 1800 "total": false, 1801 "values": true 1802 }, 1803 "lines": true, 1804 "linewidth": 2, 1805 "links": [], 1806 "nullPointMode": "null", 1807 "options": { 1808 "alertThreshold": true 1809 }, 1810 "percentage": false, 1811 "pluginVersion": "9.2.4", 1812 "pointradius": 5, 1813 "points": false, 1814 "renderer": "flot", 1815 "seriesOverrides": [], 1816 "spaceLength": 10, 1817 "stack": false, 1818 "steppedLine": false, 1819 "targets": [ 1820 { 1821 "datasource": { 1822 "type": "prometheus", 1823 "uid": "prometheus" 1824 }, 1825 "editorMode": "code", 1826 "expr": "rate(mongodb_mongod_op_counters_repl_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_op_counters_repl_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 1827 "format": "time_series", 1828 "hide": false, 1829 "interval": "", 1830 "intervalFactor": 1, 1831 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - {{type}}", 1832 "metric": "", 1833 "range": true, 1834 "refId": "A", 1835 "step": 300 1836 } 1837 ], 1838 "thresholds": [], 1839 "timeRegions": [], 1840 "title": "Replica Query Operations", 1841 "tooltip": { 1842 "msResolution": false, 1843 "shared": true, 1844 "sort": 0, 1845 "value_type": "cumulative" 1846 }, 1847 "type": "graph", 1848 "x-axis": true, 1849 "xaxis": { 1850 "mode": "time", 1851 "show": true, 1852 "values": [] 1853 }, 1854 "y-axis": true, 1855 "y_formats": [ 1856 "s", 1857 "short" 1858 ], 1859 "yaxes": [ 1860 { 1861 "format": "none", 1862 "label": "", 1863 "logBase": 1, 1864 "min": 0, 1865 "show": true 1866 }, 1867 { 1868 "format": "short", 1869 "logBase": 1, 1870 "show": true 1871 } 1872 ], 1873 "yaxis": { 1874 "align": false 1875 } 1876 }, 1877 { 1878 "aliasColors": {}, 1879 "bars": false, 1880 "dashLength": 10, 1881 "dashes": false, 1882 "datasource": { 1883 "type": "prometheus", 1884 "uid": "prometheus" 1885 }, 1886 "description": "", 1887 "editable": true, 1888 "error": false, 1889 "fieldConfig": { 1890 "defaults": { 1891 "unit": "none" 1892 }, 1893 "overrides": [] 1894 }, 1895 "fill": 2, 1896 "fillGradient": 0, 1897 "grid": { 1898 "leftLogBase": 1, 1899 "rightLogBase": 1 1900 }, 1901 "gridPos": { 1902 "h": 7, 1903 "w": 12, 1904 "x": 0, 1905 "y": 41 1906 }, 1907 "hiddenSeries": false, 1908 "id": 76, 1909 "legend": { 1910 "alignAsTable": true, 1911 "avg": true, 1912 "current": false, 1913 "max": true, 1914 "min": true, 1915 "rightSide": false, 1916 "show": true, 1917 "sort": "avg", 1918 "sortDesc": true, 1919 "total": false, 1920 "values": true 1921 }, 1922 "lines": true, 1923 "linewidth": 2, 1924 "links": [], 1925 "nullPointMode": "null", 1926 "options": { 1927 "alertThreshold": true 1928 }, 1929 "percentage": false, 1930 "pluginVersion": "9.2.4", 1931 "pointradius": 5, 1932 "points": false, 1933 "renderer": "flot", 1934 "seriesOverrides": [], 1935 "spaceLength": 10, 1936 "stack": false, 1937 "steppedLine": false, 1938 "targets": [ 1939 { 1940 "datasource": { 1941 "type": "prometheus", 1942 "uid": "prometheus" 1943 }, 1944 "editorMode": "code", 1945 "expr": "rate(mongodb_mongod_metrics_document_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval])", 1946 "hide": false, 1947 "interval": "", 1948 "intervalFactor": 1, 1949 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - {{state}}", 1950 "metric": "", 1951 "range": true, 1952 "refId": "J", 1953 "step": 300 1954 } 1955 ], 1956 "thresholds": [], 1957 "timeRegions": [], 1958 "title": "Document Operations", 1959 "tooltip": { 1960 "msResolution": false, 1961 "shared": true, 1962 "sort": 0, 1963 "value_type": "cumulative" 1964 }, 1965 "type": "graph", 1966 "x-axis": true, 1967 "xaxis": { 1968 "mode": "time", 1969 "show": true, 1970 "values": [] 1971 }, 1972 "y-axis": true, 1973 "y_formats": [ 1974 "short", 1975 "short" 1976 ], 1977 "yaxes": [ 1978 { 1979 "format": "none", 1980 "label": "", 1981 "logBase": 10, 1982 "min": 0, 1983 "show": true 1984 }, 1985 { 1986 "format": "short", 1987 "logBase": 1, 1988 "show": true 1989 } 1990 ], 1991 "yaxis": { 1992 "align": false 1993 } 1994 }, 1995 { 1996 "aliasColors": {}, 1997 "bars": false, 1998 "dashLength": 10, 1999 "dashes": false, 2000 "datasource": { 2001 "type": "prometheus", 2002 "uid": "prometheus" 2003 }, 2004 "description": "", 2005 "editable": true, 2006 "error": false, 2007 "fieldConfig": { 2008 "defaults": { 2009 "unit": "ops" 2010 }, 2011 "overrides": [] 2012 }, 2013 "fill": 2, 2014 "fillGradient": 0, 2015 "grid": { 2016 "leftLogBase": 1, 2017 "rightLogBase": 1 2018 }, 2019 "gridPos": { 2020 "h": 7, 2021 "w": 12, 2022 "x": 12, 2023 "y": 41 2024 }, 2025 "hiddenSeries": false, 2026 "id": 163, 2027 "legend": { 2028 "alignAsTable": true, 2029 "avg": true, 2030 "current": false, 2031 "max": true, 2032 "min": true, 2033 "rightSide": false, 2034 "show": true, 2035 "sort": "avg", 2036 "sortDesc": true, 2037 "total": false, 2038 "values": true 2039 }, 2040 "lines": true, 2041 "linewidth": 2, 2042 "links": [], 2043 "nullPointMode": "null", 2044 "options": { 2045 "alertThreshold": true 2046 }, 2047 "percentage": false, 2048 "pluginVersion": "9.2.4", 2049 "pointradius": 5, 2050 "points": false, 2051 "renderer": "flot", 2052 "seriesOverrides": [], 2053 "spaceLength": 10, 2054 "stack": false, 2055 "steppedLine": false, 2056 "targets": [ 2057 { 2058 "datasource": { 2059 "type": "prometheus", 2060 "uid": "prometheus" 2061 }, 2062 "editorMode": "code", 2063 "expr": "rate(mongodb_mongod_metrics_query_executor_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_metrics_query_executor_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 2064 "hide": false, 2065 "interval": "", 2066 "intervalFactor": 1, 2067 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - {{state}}", 2068 "metric": "", 2069 "range": true, 2070 "refId": "J", 2071 "step": 300 2072 } 2073 ], 2074 "thresholds": [], 2075 "timeRegions": [], 2076 "title": "Document Query Executor", 2077 "tooltip": { 2078 "msResolution": false, 2079 "shared": true, 2080 "sort": 0, 2081 "value_type": "cumulative" 2082 }, 2083 "type": "graph", 2084 "x-axis": true, 2085 "xaxis": { 2086 "mode": "time", 2087 "show": true, 2088 "values": [] 2089 }, 2090 "y-axis": true, 2091 "y_formats": [ 2092 "short", 2093 "short" 2094 ], 2095 "yaxes": [ 2096 { 2097 "format": "ops", 2098 "label": "", 2099 "logBase": 10, 2100 "min": 0, 2101 "show": true 2102 }, 2103 { 2104 "format": "short", 2105 "logBase": 1, 2106 "show": true 2107 } 2108 ], 2109 "yaxis": { 2110 "align": false 2111 } 2112 }, 2113 { 2114 "aliasColors": {}, 2115 "bars": false, 2116 "dashLength": 10, 2117 "dashes": false, 2118 "datasource": { 2119 "type": "prometheus", 2120 "uid": "prometheus" 2121 }, 2122 "description": "", 2123 "editable": true, 2124 "error": false, 2125 "fieldConfig": { 2126 "defaults": { 2127 "unit": "ops" 2128 }, 2129 "overrides": [] 2130 }, 2131 "fill": 2, 2132 "fillGradient": 0, 2133 "grid": { 2134 "leftLogBase": 1, 2135 "rightLogBase": 1 2136 }, 2137 "gridPos": { 2138 "h": 7, 2139 "w": 12, 2140 "x": 0, 2141 "y": 48 2142 }, 2143 "hiddenSeries": false, 2144 "id": 134, 2145 "legend": { 2146 "alignAsTable": true, 2147 "avg": true, 2148 "current": false, 2149 "max": true, 2150 "min": true, 2151 "rightSide": false, 2152 "show": true, 2153 "sort": "avg", 2154 "sortDesc": true, 2155 "total": false, 2156 "values": true 2157 }, 2158 "lines": true, 2159 "linewidth": 2, 2160 "links": [], 2161 "nullPointMode": "null", 2162 "options": { 2163 "alertThreshold": true 2164 }, 2165 "percentage": false, 2166 "pluginVersion": "9.2.4", 2167 "pointradius": 5, 2168 "points": false, 2169 "renderer": "flot", 2170 "seriesOverrides": [], 2171 "spaceLength": 10, 2172 "stack": false, 2173 "steppedLine": false, 2174 "targets": [ 2175 { 2176 "datasource": { 2177 "type": "prometheus", 2178 "uid": "prometheus" 2179 }, 2180 "editorMode": "code", 2181 "expr": "rate(mongodb_mongod_op_latencies_ops_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_op_latencies_ops_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 2182 "hide": false, 2183 "interval": "", 2184 "intervalFactor": 1, 2185 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - {{type}}", 2186 "metric": "", 2187 "range": true, 2188 "refId": "J", 2189 "step": 300 2190 } 2191 ], 2192 "thresholds": [], 2193 "timeRegions": [], 2194 "title": "OpLatencies Operations", 2195 "tooltip": { 2196 "msResolution": false, 2197 "shared": true, 2198 "sort": 0, 2199 "value_type": "cumulative" 2200 }, 2201 "type": "graph", 2202 "x-axis": true, 2203 "xaxis": { 2204 "mode": "time", 2205 "show": true, 2206 "values": [] 2207 }, 2208 "y-axis": true, 2209 "y_formats": [ 2210 "short", 2211 "short" 2212 ], 2213 "yaxes": [ 2214 { 2215 "format": "ops", 2216 "label": "", 2217 "logBase": 10, 2218 "min": 0, 2219 "show": true 2220 }, 2221 { 2222 "format": "short", 2223 "logBase": 1, 2224 "show": true 2225 } 2226 ], 2227 "yaxis": { 2228 "align": false 2229 } 2230 }, 2231 { 2232 "aliasColors": {}, 2233 "bars": false, 2234 "dashLength": 10, 2235 "dashes": false, 2236 "datasource": { 2237 "type": "prometheus", 2238 "uid": "prometheus" 2239 }, 2240 "description": "", 2241 "editable": true, 2242 "error": false, 2243 "fieldConfig": { 2244 "defaults": { 2245 "unit": "ms" 2246 }, 2247 "overrides": [] 2248 }, 2249 "fill": 2, 2250 "fillGradient": 0, 2251 "grid": { 2252 "leftLogBase": 1, 2253 "rightLogBase": 1 2254 }, 2255 "gridPos": { 2256 "h": 7, 2257 "w": 12, 2258 "x": 12, 2259 "y": 48 2260 }, 2261 "hiddenSeries": false, 2262 "id": 135, 2263 "legend": { 2264 "alignAsTable": true, 2265 "avg": true, 2266 "current": false, 2267 "max": true, 2268 "min": true, 2269 "rightSide": false, 2270 "show": true, 2271 "sort": "avg", 2272 "sortDesc": true, 2273 "total": false, 2274 "values": true 2275 }, 2276 "lines": true, 2277 "linewidth": 2, 2278 "links": [], 2279 "nullPointMode": "null", 2280 "options": { 2281 "alertThreshold": true 2282 }, 2283 "percentage": false, 2284 "pluginVersion": "9.2.4", 2285 "pointradius": 5, 2286 "points": false, 2287 "renderer": "flot", 2288 "seriesOverrides": [], 2289 "spaceLength": 10, 2290 "stack": false, 2291 "steppedLine": false, 2292 "targets": [ 2293 { 2294 "datasource": { 2295 "type": "prometheus", 2296 "uid": "prometheus" 2297 }, 2298 "editorMode": "code", 2299 "expr": "rate(mongodb_mongod_op_latencies_latency_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval])", 2300 "hide": false, 2301 "interval": "", 2302 "intervalFactor": 1, 2303 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{type}}", 2304 "metric": "", 2305 "range": true, 2306 "refId": "J", 2307 "step": 300 2308 } 2309 ], 2310 "thresholds": [], 2311 "timeRegions": [], 2312 "title": "OpLatencies Latency", 2313 "tooltip": { 2314 "msResolution": false, 2315 "shared": true, 2316 "sort": 0, 2317 "value_type": "cumulative" 2318 }, 2319 "type": "graph", 2320 "x-axis": true, 2321 "xaxis": { 2322 "mode": "time", 2323 "show": true, 2324 "values": [] 2325 }, 2326 "y-axis": true, 2327 "y_formats": [ 2328 "short", 2329 "short" 2330 ], 2331 "yaxes": [ 2332 { 2333 "format": "ms", 2334 "label": "", 2335 "logBase": 10, 2336 "min": 0, 2337 "show": true 2338 }, 2339 { 2340 "format": "short", 2341 "logBase": 1, 2342 "show": true 2343 } 2344 ], 2345 "yaxis": { 2346 "align": false 2347 } 2348 }, 2349 { 2350 "aliasColors": {}, 2351 "bars": false, 2352 "dashLength": 10, 2353 "dashes": false, 2354 "datasource": { 2355 "type": "prometheus", 2356 "uid": "prometheus" 2357 }, 2358 "description": "mongodb_mongod_metrics_ttl_deleted_documents_total", 2359 "editable": true, 2360 "error": false, 2361 "fieldConfig": { 2362 "defaults": { 2363 "unit": "ops" 2364 }, 2365 "overrides": [] 2366 }, 2367 "fill": 2, 2368 "fillGradient": 0, 2369 "grid": { 2370 "leftLogBase": 1, 2371 "rightLogBase": 1 2372 }, 2373 "gridPos": { 2374 "h": 7, 2375 "w": 12, 2376 "x": 0, 2377 "y": 55 2378 }, 2379 "hiddenSeries": false, 2380 "id": 160, 2381 "legend": { 2382 "alignAsTable": true, 2383 "avg": true, 2384 "current": false, 2385 "max": true, 2386 "min": true, 2387 "rightSide": false, 2388 "show": true, 2389 "sort": "avg", 2390 "sortDesc": true, 2391 "total": false, 2392 "values": true 2393 }, 2394 "lines": true, 2395 "linewidth": 2, 2396 "links": [], 2397 "nullPointMode": "null", 2398 "options": { 2399 "alertThreshold": true 2400 }, 2401 "percentage": false, 2402 "pluginVersion": "9.2.4", 2403 "pointradius": 5, 2404 "points": false, 2405 "renderer": "flot", 2406 "seriesOverrides": [], 2407 "spaceLength": 10, 2408 "stack": false, 2409 "steppedLine": false, 2410 "targets": [ 2411 { 2412 "datasource": { 2413 "type": "prometheus", 2414 "uid": "prometheus" 2415 }, 2416 "editorMode": "code", 2417 "expr": "rate(mongodb_mongod_metrics_ttl_deleted_documents_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_metrics_ttl_deleted_documents_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 2418 "hide": false, 2419 "interval": "", 2420 "intervalFactor": 1, 2421 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 2422 "metric": "", 2423 "range": true, 2424 "refId": "J", 2425 "step": 300 2426 } 2427 ], 2428 "thresholds": [], 2429 "timeRegions": [], 2430 "title": "TTL Delete Operations", 2431 "tooltip": { 2432 "msResolution": false, 2433 "shared": true, 2434 "sort": 0, 2435 "value_type": "cumulative" 2436 }, 2437 "type": "graph", 2438 "x-axis": true, 2439 "xaxis": { 2440 "mode": "time", 2441 "show": true, 2442 "values": [] 2443 }, 2444 "y-axis": true, 2445 "y_formats": [ 2446 "short", 2447 "short" 2448 ], 2449 "yaxes": [ 2450 { 2451 "format": "ops", 2452 "label": "", 2453 "logBase": 10, 2454 "min": 0, 2455 "show": true 2456 }, 2457 { 2458 "format": "short", 2459 "logBase": 1, 2460 "show": true 2461 } 2462 ], 2463 "yaxis": { 2464 "align": false 2465 } 2466 }, 2467 { 2468 "collapsed": true, 2469 "gridPos": { 2470 "h": 1, 2471 "w": 24, 2472 "x": 0, 2473 "y": 62 2474 }, 2475 "id": 137, 2476 "panels": [ 2477 { 2478 "aliasColors": {}, 2479 "bars": false, 2480 "dashLength": 10, 2481 "dashes": false, 2482 "datasource": { 2483 "type": "prometheus", 2484 "uid": "prometheus" 2485 }, 2486 "editable": true, 2487 "error": false, 2488 "fieldConfig": { 2489 "defaults": { 2490 "unit": "none" 2491 }, 2492 "overrides": [] 2493 }, 2494 "fill": 2, 2495 "fillGradient": 0, 2496 "grid": { 2497 "leftLogBase": 1, 2498 "leftMin": 0, 2499 "rightLogBase": 1 2500 }, 2501 "gridPos": { 2502 "h": 7, 2503 "w": 12, 2504 "x": 0, 2505 "y": 21 2506 }, 2507 "hiddenSeries": false, 2508 "id": 81, 2509 "legend": { 2510 "alignAsTable": true, 2511 "avg": true, 2512 "current": false, 2513 "max": true, 2514 "min": true, 2515 "show": true, 2516 "sort": "avg", 2517 "sortDesc": true, 2518 "total": false, 2519 "values": true 2520 }, 2521 "lines": true, 2522 "linewidth": 2, 2523 "links": [], 2524 "nullPointMode": "null", 2525 "options": { 2526 "alertThreshold": true 2527 }, 2528 "percentage": false, 2529 "pluginVersion": "9.2.4", 2530 "pointradius": 5, 2531 "points": false, 2532 "renderer": "flot", 2533 "seriesOverrides": [], 2534 "spaceLength": 10, 2535 "stack": false, 2536 "steppedLine": false, 2537 "targets": [ 2538 { 2539 "datasource": { 2540 "type": "prometheus", 2541 "uid": "prometheus" 2542 }, 2543 "editorMode": "code", 2544 "expr": "mongodb_connections{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\", state=~\"(current|available|totalCreated)\"}", 2545 "interval": "", 2546 "intervalFactor": 1, 2547 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - {{state}}", 2548 "metric": "mongodb_mongod_metrics_repl_preload_indexes_num_total", 2549 "range": true, 2550 "refId": "A", 2551 "step": 300 2552 } 2553 ], 2554 "thresholds": [], 2555 "timeRegions": [], 2556 "title": "Collections", 2557 "tooltip": { 2558 "msResolution": false, 2559 "shared": true, 2560 "sort": 0, 2561 "value_type": "cumulative" 2562 }, 2563 "type": "graph", 2564 "x-axis": true, 2565 "xaxis": { 2566 "mode": "time", 2567 "show": true, 2568 "values": [] 2569 }, 2570 "y-axis": true, 2571 "y_formats": [ 2572 "ms", 2573 "short" 2574 ], 2575 "yaxes": [ 2576 { 2577 "format": "none", 2578 "label": "", 2579 "logBase": 1, 2580 "min": 0, 2581 "show": true 2582 }, 2583 { 2584 "format": "short", 2585 "logBase": 1, 2586 "show": true 2587 } 2588 ], 2589 "yaxis": { 2590 "align": false 2591 } 2592 }, 2593 { 2594 "aliasColors": {}, 2595 "bars": false, 2596 "dashLength": 10, 2597 "dashes": false, 2598 "datasource": { 2599 "type": "prometheus", 2600 "uid": "prometheus" 2601 }, 2602 "editable": true, 2603 "error": false, 2604 "fieldConfig": { 2605 "defaults": { 2606 "unit": "none" 2607 }, 2608 "overrides": [] 2609 }, 2610 "fill": 2, 2611 "fillGradient": 0, 2612 "grid": { 2613 "leftLogBase": 1, 2614 "leftMin": 0, 2615 "rightLogBase": 1 2616 }, 2617 "gridPos": { 2618 "h": 7, 2619 "w": 12, 2620 "x": 12, 2621 "y": 21 2622 }, 2623 "hiddenSeries": false, 2624 "id": 138, 2625 "legend": { 2626 "alignAsTable": true, 2627 "avg": true, 2628 "current": false, 2629 "max": true, 2630 "min": true, 2631 "show": true, 2632 "sort": "avg", 2633 "sortDesc": true, 2634 "total": false, 2635 "values": true 2636 }, 2637 "lines": true, 2638 "linewidth": 2, 2639 "links": [], 2640 "nullPointMode": "null", 2641 "options": { 2642 "alertThreshold": true 2643 }, 2644 "percentage": false, 2645 "pluginVersion": "9.2.4", 2646 "pointradius": 5, 2647 "points": false, 2648 "renderer": "flot", 2649 "seriesOverrides": [], 2650 "spaceLength": 10, 2651 "stack": false, 2652 "steppedLine": false, 2653 "targets": [ 2654 { 2655 "datasource": { 2656 "type": "prometheus", 2657 "uid": "prometheus" 2658 }, 2659 "editorMode": "code", 2660 "expr": "mongodb_mongod_metrics_cursor_open{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}", 2661 "interval": "", 2662 "intervalFactor": 1, 2663 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - {{state}}", 2664 "metric": "mongodb_mongod_metrics_repl_preload_indexes_num_total", 2665 "range": true, 2666 "refId": "A", 2667 "step": 300 2668 } 2669 ], 2670 "thresholds": [], 2671 "timeRegions": [], 2672 "title": "Cursors", 2673 "tooltip": { 2674 "msResolution": false, 2675 "shared": true, 2676 "sort": 0, 2677 "value_type": "cumulative" 2678 }, 2679 "type": "graph", 2680 "x-axis": true, 2681 "xaxis": { 2682 "mode": "time", 2683 "show": true, 2684 "values": [] 2685 }, 2686 "y-axis": true, 2687 "y_formats": [ 2688 "ms", 2689 "short" 2690 ], 2691 "yaxes": [ 2692 { 2693 "format": "none", 2694 "label": "", 2695 "logBase": 1, 2696 "min": 0, 2697 "show": true 2698 }, 2699 { 2700 "format": "short", 2701 "logBase": 1, 2702 "show": true 2703 } 2704 ], 2705 "yaxis": { 2706 "align": false 2707 } 2708 } 2709 ], 2710 "title": "Connections & Cursors", 2711 "type": "row" 2712 }, 2713 { 2714 "collapsed": true, 2715 "gridPos": { 2716 "h": 1, 2717 "w": 24, 2718 "x": 0, 2719 "y": 63 2720 }, 2721 "id": 97, 2722 "panels": [ 2723 { 2724 "aliasColors": {}, 2725 "bars": false, 2726 "dashLength": 10, 2727 "dashes": false, 2728 "datasource": { 2729 "type": "prometheus", 2730 "uid": "prometheus" 2731 }, 2732 "editable": true, 2733 "error": false, 2734 "fieldConfig": { 2735 "defaults": { 2736 "unit": "bytes" 2737 }, 2738 "overrides": [] 2739 }, 2740 "fill": 2, 2741 "fillGradient": 0, 2742 "grid": { 2743 "leftLogBase": 1, 2744 "leftMin": 0, 2745 "rightLogBase": 1 2746 }, 2747 "gridPos": { 2748 "h": 7, 2749 "w": 12, 2750 "x": 0, 2751 "y": 80 2752 }, 2753 "hiddenSeries": false, 2754 "id": 98, 2755 "legend": { 2756 "alignAsTable": true, 2757 "avg": true, 2758 "current": false, 2759 "max": true, 2760 "min": true, 2761 "show": true, 2762 "sort": "avg", 2763 "sortDesc": true, 2764 "total": false, 2765 "values": true 2766 }, 2767 "lines": true, 2768 "linewidth": 2, 2769 "links": [], 2770 "nullPointMode": "null", 2771 "options": { 2772 "alertThreshold": true 2773 }, 2774 "percentage": false, 2775 "pluginVersion": "9.2.4", 2776 "pointradius": 5, 2777 "points": false, 2778 "renderer": "flot", 2779 "seriesOverrides": [], 2780 "spaceLength": 10, 2781 "stack": false, 2782 "steppedLine": false, 2783 "targets": [ 2784 { 2785 "datasource": { 2786 "type": "prometheus", 2787 "uid": "prometheus" 2788 }, 2789 "editorMode": "code", 2790 "expr": "mongodb_dbstats_dataSize{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\", database=~\"$database\"}", 2791 "interval": "", 2792 "intervalFactor": 1, 2793 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{database}}", 2794 "metric": "mongodb_mongod_metrics_repl_preload_indexes_num_total", 2795 "range": true, 2796 "refId": "A", 2797 "step": 300 2798 } 2799 ], 2800 "thresholds": [], 2801 "timeRegions": [], 2802 "title": "DataBase Size", 2803 "tooltip": { 2804 "msResolution": false, 2805 "shared": true, 2806 "sort": 0, 2807 "value_type": "cumulative" 2808 }, 2809 "type": "graph", 2810 "x-axis": true, 2811 "xaxis": { 2812 "mode": "time", 2813 "show": true, 2814 "values": [] 2815 }, 2816 "y-axis": true, 2817 "y_formats": [ 2818 "ms", 2819 "short" 2820 ], 2821 "yaxes": [ 2822 { 2823 "format": "bytes", 2824 "label": "", 2825 "logBase": 1, 2826 "min": 0, 2827 "show": true 2828 }, 2829 { 2830 "format": "short", 2831 "logBase": 1, 2832 "show": true 2833 } 2834 ], 2835 "yaxis": { 2836 "align": false 2837 } 2838 }, 2839 { 2840 "aliasColors": {}, 2841 "bars": false, 2842 "dashLength": 10, 2843 "dashes": false, 2844 "datasource": { 2845 "type": "prometheus", 2846 "uid": "prometheus" 2847 }, 2848 "editable": true, 2849 "error": false, 2850 "fieldConfig": { 2851 "defaults": { 2852 "unit": "bytes" 2853 }, 2854 "overrides": [] 2855 }, 2856 "fill": 2, 2857 "fillGradient": 0, 2858 "grid": { 2859 "leftLogBase": 1, 2860 "leftMin": 0, 2861 "rightLogBase": 1 2862 }, 2863 "gridPos": { 2864 "h": 7, 2865 "w": 12, 2866 "x": 12, 2867 "y": 80 2868 }, 2869 "hiddenSeries": false, 2870 "id": 101, 2871 "legend": { 2872 "alignAsTable": true, 2873 "avg": true, 2874 "current": false, 2875 "max": true, 2876 "min": true, 2877 "show": true, 2878 "sort": "avg", 2879 "sortDesc": true, 2880 "total": false, 2881 "values": true 2882 }, 2883 "lines": true, 2884 "linewidth": 2, 2885 "links": [], 2886 "nullPointMode": "null", 2887 "options": { 2888 "alertThreshold": true 2889 }, 2890 "percentage": false, 2891 "pluginVersion": "9.2.4", 2892 "pointradius": 5, 2893 "points": false, 2894 "renderer": "flot", 2895 "seriesOverrides": [], 2896 "spaceLength": 10, 2897 "stack": false, 2898 "steppedLine": false, 2899 "targets": [ 2900 { 2901 "datasource": { 2902 "type": "prometheus", 2903 "uid": "prometheus" 2904 }, 2905 "editorMode": "code", 2906 "expr": "mongodb_dbstats_indexSize{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\", database=~\"$database\"}", 2907 "interval": "", 2908 "intervalFactor": 1, 2909 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{database}}", 2910 "metric": "mongodb_mongod_metrics_repl_preload_indexes_num_total", 2911 "range": true, 2912 "refId": "A", 2913 "step": 300 2914 } 2915 ], 2916 "thresholds": [], 2917 "timeRegions": [], 2918 "title": "Index Size", 2919 "tooltip": { 2920 "msResolution": false, 2921 "shared": true, 2922 "sort": 0, 2923 "value_type": "cumulative" 2924 }, 2925 "type": "graph", 2926 "x-axis": true, 2927 "xaxis": { 2928 "mode": "time", 2929 "show": true, 2930 "values": [] 2931 }, 2932 "y-axis": true, 2933 "y_formats": [ 2934 "ms", 2935 "short" 2936 ], 2937 "yaxes": [ 2938 { 2939 "format": "bytes", 2940 "label": "", 2941 "logBase": 1, 2942 "min": 0, 2943 "show": true 2944 }, 2945 { 2946 "format": "short", 2947 "logBase": 1, 2948 "show": true 2949 } 2950 ], 2951 "yaxis": { 2952 "align": false 2953 } 2954 }, 2955 { 2956 "aliasColors": {}, 2957 "bars": false, 2958 "dashLength": 10, 2959 "dashes": false, 2960 "datasource": { 2961 "type": "prometheus", 2962 "uid": "prometheus" 2963 }, 2964 "editable": true, 2965 "error": false, 2966 "fieldConfig": { 2967 "defaults": { 2968 "unit": "bytes" 2969 }, 2970 "overrides": [] 2971 }, 2972 "fill": 2, 2973 "fillGradient": 0, 2974 "grid": { 2975 "leftLogBase": 1, 2976 "leftMin": 0, 2977 "rightLogBase": 1 2978 }, 2979 "gridPos": { 2980 "h": 7, 2981 "w": 12, 2982 "x": 0, 2983 "y": 87 2984 }, 2985 "hiddenSeries": false, 2986 "id": 99, 2987 "legend": { 2988 "alignAsTable": true, 2989 "avg": true, 2990 "current": false, 2991 "max": true, 2992 "min": true, 2993 "show": true, 2994 "sort": "avg", 2995 "sortDesc": true, 2996 "total": false, 2997 "values": true 2998 }, 2999 "lines": true, 3000 "linewidth": 2, 3001 "links": [], 3002 "nullPointMode": "null", 3003 "options": { 3004 "alertThreshold": true 3005 }, 3006 "percentage": false, 3007 "pluginVersion": "9.2.4", 3008 "pointradius": 5, 3009 "points": false, 3010 "renderer": "flot", 3011 "seriesOverrides": [], 3012 "spaceLength": 10, 3013 "stack": false, 3014 "steppedLine": false, 3015 "targets": [ 3016 { 3017 "datasource": { 3018 "type": "prometheus", 3019 "uid": "prometheus" 3020 }, 3021 "editorMode": "code", 3022 "expr": "mongodb_dbstats_storageSize{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\", database=~\"$database\"}", 3023 "interval": "", 3024 "intervalFactor": 1, 3025 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{database}}", 3026 "metric": "mongodb_mongod_metrics_repl_preload_indexes_num_total", 3027 "range": true, 3028 "refId": "A", 3029 "step": 300 3030 } 3031 ], 3032 "thresholds": [], 3033 "timeRegions": [], 3034 "title": "Storage Size", 3035 "tooltip": { 3036 "msResolution": false, 3037 "shared": true, 3038 "sort": 0, 3039 "value_type": "cumulative" 3040 }, 3041 "type": "graph", 3042 "x-axis": true, 3043 "xaxis": { 3044 "mode": "time", 3045 "show": true, 3046 "values": [] 3047 }, 3048 "y-axis": true, 3049 "y_formats": [ 3050 "ms", 3051 "short" 3052 ], 3053 "yaxes": [ 3054 { 3055 "format": "bytes", 3056 "label": "", 3057 "logBase": 1, 3058 "min": 0, 3059 "show": true 3060 }, 3061 { 3062 "format": "short", 3063 "logBase": 1, 3064 "show": true 3065 } 3066 ], 3067 "yaxis": { 3068 "align": false 3069 } 3070 }, 3071 { 3072 "aliasColors": {}, 3073 "bars": false, 3074 "dashLength": 10, 3075 "dashes": false, 3076 "datasource": { 3077 "type": "prometheus", 3078 "uid": "prometheus" 3079 }, 3080 "editable": true, 3081 "error": false, 3082 "fieldConfig": { 3083 "defaults": { 3084 "unit": "bytes" 3085 }, 3086 "overrides": [] 3087 }, 3088 "fill": 2, 3089 "fillGradient": 0, 3090 "grid": { 3091 "leftLogBase": 1, 3092 "leftMin": 0, 3093 "rightLogBase": 1 3094 }, 3095 "gridPos": { 3096 "h": 7, 3097 "w": 12, 3098 "x": 12, 3099 "y": 87 3100 }, 3101 "hiddenSeries": false, 3102 "id": 102, 3103 "legend": { 3104 "alignAsTable": true, 3105 "avg": true, 3106 "current": false, 3107 "max": true, 3108 "min": true, 3109 "show": true, 3110 "sort": "avg", 3111 "sortDesc": true, 3112 "total": false, 3113 "values": true 3114 }, 3115 "lines": true, 3116 "linewidth": 2, 3117 "links": [], 3118 "nullPointMode": "null", 3119 "options": { 3120 "alertThreshold": true 3121 }, 3122 "percentage": false, 3123 "pluginVersion": "9.2.4", 3124 "pointradius": 5, 3125 "points": false, 3126 "renderer": "flot", 3127 "seriesOverrides": [], 3128 "spaceLength": 10, 3129 "stack": false, 3130 "steppedLine": false, 3131 "targets": [ 3132 { 3133 "datasource": { 3134 "type": "prometheus", 3135 "uid": "prometheus" 3136 }, 3137 "editorMode": "code", 3138 "expr": "mongodb_dbstats_totalSize{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\", database=~\"$database\"}", 3139 "interval": "", 3140 "intervalFactor": 1, 3141 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{database}}", 3142 "metric": "mongodb_mongod_metrics_repl_preload_indexes_num_total", 3143 "range": true, 3144 "refId": "A", 3145 "step": 300 3146 } 3147 ], 3148 "thresholds": [], 3149 "timeRegions": [], 3150 "title": "Total Size", 3151 "tooltip": { 3152 "msResolution": false, 3153 "shared": true, 3154 "sort": 0, 3155 "value_type": "cumulative" 3156 }, 3157 "type": "graph", 3158 "x-axis": true, 3159 "xaxis": { 3160 "mode": "time", 3161 "show": true, 3162 "values": [] 3163 }, 3164 "y-axis": true, 3165 "y_formats": [ 3166 "ms", 3167 "short" 3168 ], 3169 "yaxes": [ 3170 { 3171 "format": "bytes", 3172 "label": "", 3173 "logBase": 1, 3174 "min": 0, 3175 "show": true 3176 }, 3177 { 3178 "format": "short", 3179 "logBase": 1, 3180 "show": true 3181 } 3182 ], 3183 "yaxis": { 3184 "align": false 3185 } 3186 }, 3187 { 3188 "aliasColors": {}, 3189 "bars": false, 3190 "dashLength": 10, 3191 "dashes": false, 3192 "datasource": { 3193 "type": "prometheus", 3194 "uid": "prometheus" 3195 }, 3196 "editable": true, 3197 "error": false, 3198 "fieldConfig": { 3199 "defaults": { 3200 "unit": "none" 3201 }, 3202 "overrides": [] 3203 }, 3204 "fill": 2, 3205 "fillGradient": 0, 3206 "grid": { 3207 "leftLogBase": 1, 3208 "leftMin": 0, 3209 "rightLogBase": 1 3210 }, 3211 "gridPos": { 3212 "h": 7, 3213 "w": 12, 3214 "x": 0, 3215 "y": 94 3216 }, 3217 "hiddenSeries": false, 3218 "id": 100, 3219 "legend": { 3220 "alignAsTable": true, 3221 "avg": true, 3222 "current": false, 3223 "max": true, 3224 "min": true, 3225 "show": true, 3226 "sort": "avg", 3227 "sortDesc": true, 3228 "total": false, 3229 "values": true 3230 }, 3231 "lines": true, 3232 "linewidth": 2, 3233 "links": [], 3234 "nullPointMode": "null", 3235 "options": { 3236 "alertThreshold": true 3237 }, 3238 "percentage": false, 3239 "pluginVersion": "9.2.4", 3240 "pointradius": 5, 3241 "points": false, 3242 "renderer": "flot", 3243 "seriesOverrides": [], 3244 "spaceLength": 10, 3245 "stack": false, 3246 "steppedLine": false, 3247 "targets": [ 3248 { 3249 "datasource": { 3250 "type": "prometheus", 3251 "uid": "prometheus" 3252 }, 3253 "editorMode": "code", 3254 "expr": "mongodb_dbstats_indexes{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\", database=~\"$database\"}", 3255 "interval": "", 3256 "intervalFactor": 1, 3257 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{database}}", 3258 "metric": "mongodb_mongod_metrics_repl_preload_indexes_num_total", 3259 "range": true, 3260 "refId": "A", 3261 "step": 300 3262 } 3263 ], 3264 "thresholds": [], 3265 "timeRegions": [], 3266 "title": "Indexes Num", 3267 "tooltip": { 3268 "msResolution": false, 3269 "shared": true, 3270 "sort": 0, 3271 "value_type": "cumulative" 3272 }, 3273 "type": "graph", 3274 "x-axis": true, 3275 "xaxis": { 3276 "mode": "time", 3277 "show": true, 3278 "values": [] 3279 }, 3280 "y-axis": true, 3281 "y_formats": [ 3282 "ms", 3283 "short" 3284 ], 3285 "yaxes": [ 3286 { 3287 "format": "none", 3288 "label": "", 3289 "logBase": 1, 3290 "min": 0, 3291 "show": true 3292 }, 3293 { 3294 "format": "short", 3295 "logBase": 1, 3296 "show": true 3297 } 3298 ], 3299 "yaxis": { 3300 "align": false 3301 } 3302 }, 3303 { 3304 "aliasColors": {}, 3305 "bars": false, 3306 "dashLength": 10, 3307 "dashes": false, 3308 "datasource": { 3309 "type": "prometheus", 3310 "uid": "prometheus" 3311 }, 3312 "editable": true, 3313 "error": false, 3314 "fieldConfig": { 3315 "defaults": { 3316 "unit": "none" 3317 }, 3318 "overrides": [] 3319 }, 3320 "fill": 2, 3321 "fillGradient": 0, 3322 "grid": { 3323 "leftLogBase": 1, 3324 "leftMin": 0, 3325 "rightLogBase": 1 3326 }, 3327 "gridPos": { 3328 "h": 7, 3329 "w": 12, 3330 "x": 12, 3331 "y": 94 3332 }, 3333 "hiddenSeries": false, 3334 "id": 139, 3335 "legend": { 3336 "alignAsTable": true, 3337 "avg": true, 3338 "current": false, 3339 "max": true, 3340 "min": true, 3341 "show": true, 3342 "sort": "avg", 3343 "sortDesc": true, 3344 "total": false, 3345 "values": true 3346 }, 3347 "lines": true, 3348 "linewidth": 2, 3349 "links": [], 3350 "nullPointMode": "null", 3351 "options": { 3352 "alertThreshold": true 3353 }, 3354 "percentage": false, 3355 "pluginVersion": "9.2.4", 3356 "pointradius": 5, 3357 "points": false, 3358 "renderer": "flot", 3359 "seriesOverrides": [], 3360 "spaceLength": 10, 3361 "stack": false, 3362 "steppedLine": false, 3363 "targets": [ 3364 { 3365 "datasource": { 3366 "type": "prometheus", 3367 "uid": "prometheus" 3368 }, 3369 "editorMode": "code", 3370 "expr": "mongodb_dbstats_collections{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\", database=~\"$database\"}", 3371 "interval": "", 3372 "intervalFactor": 1, 3373 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{database}}", 3374 "metric": "mongodb_mongod_metrics_repl_preload_indexes_num_total", 3375 "range": true, 3376 "refId": "A", 3377 "step": 300 3378 } 3379 ], 3380 "thresholds": [], 3381 "timeRegions": [], 3382 "title": "Collections Num", 3383 "tooltip": { 3384 "msResolution": false, 3385 "shared": true, 3386 "sort": 0, 3387 "value_type": "cumulative" 3388 }, 3389 "type": "graph", 3390 "x-axis": true, 3391 "xaxis": { 3392 "mode": "time", 3393 "show": true, 3394 "values": [] 3395 }, 3396 "y-axis": true, 3397 "y_formats": [ 3398 "ms", 3399 "short" 3400 ], 3401 "yaxes": [ 3402 { 3403 "format": "none", 3404 "label": "", 3405 "logBase": 1, 3406 "min": 0, 3407 "show": true 3408 }, 3409 { 3410 "format": "short", 3411 "logBase": 1, 3412 "show": true 3413 } 3414 ], 3415 "yaxis": { 3416 "align": false 3417 } 3418 } 3419 ], 3420 "title": "DB Stat", 3421 "type": "row" 3422 }, 3423 { 3424 "collapsed": true, 3425 "gridPos": { 3426 "h": 1, 3427 "w": 24, 3428 "x": 0, 3429 "y": 64 3430 }, 3431 "id": 95, 3432 "panels": [ 3433 { 3434 "aliasColors": {}, 3435 "bars": false, 3436 "dashLength": 10, 3437 "dashes": false, 3438 "datasource": { 3439 "type": "prometheus", 3440 "uid": "prometheus" 3441 }, 3442 "editable": true, 3443 "error": false, 3444 "fieldConfig": { 3445 "defaults": { 3446 "unit": "bytes" 3447 }, 3448 "overrides": [] 3449 }, 3450 "fill": 2, 3451 "fillGradient": 0, 3452 "grid": { 3453 "leftLogBase": 1, 3454 "leftMin": 0, 3455 "rightLogBase": 1 3456 }, 3457 "gridPos": { 3458 "h": 7, 3459 "w": 12, 3460 "x": 0, 3461 "y": 23 3462 }, 3463 "hiddenSeries": false, 3464 "id": 85, 3465 "legend": { 3466 "alignAsTable": true, 3467 "avg": true, 3468 "current": false, 3469 "max": true, 3470 "min": true, 3471 "show": true, 3472 "sort": "avg", 3473 "sortDesc": true, 3474 "total": false, 3475 "values": true 3476 }, 3477 "lines": true, 3478 "linewidth": 2, 3479 "links": [], 3480 "nullPointMode": "null", 3481 "options": { 3482 "alertThreshold": true 3483 }, 3484 "percentage": false, 3485 "pluginVersion": "9.2.4", 3486 "pointradius": 5, 3487 "points": false, 3488 "renderer": "flot", 3489 "seriesOverrides": [], 3490 "spaceLength": 10, 3491 "stack": false, 3492 "steppedLine": false, 3493 "targets": [ 3494 { 3495 "datasource": { 3496 "type": "prometheus", 3497 "uid": "prometheus" 3498 }, 3499 "editorMode": "code", 3500 "expr": "mongodb_oplog_stats_size{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}", 3501 "interval": "", 3502 "intervalFactor": 1, 3503 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 3504 "range": true, 3505 "refId": "A", 3506 "step": 300 3507 } 3508 ], 3509 "thresholds": [], 3510 "timeRegions": [], 3511 "title": "Oplog Size", 3512 "tooltip": { 3513 "msResolution": false, 3514 "shared": true, 3515 "sort": 0, 3516 "value_type": "cumulative" 3517 }, 3518 "type": "graph", 3519 "x-axis": true, 3520 "xaxis": { 3521 "mode": "time", 3522 "show": true, 3523 "values": [] 3524 }, 3525 "y-axis": true, 3526 "y_formats": [ 3527 "ms", 3528 "short" 3529 ], 3530 "yaxes": [ 3531 { 3532 "format": "bytes", 3533 "label": "", 3534 "logBase": 1, 3535 "min": 0, 3536 "show": true 3537 }, 3538 { 3539 "format": "short", 3540 "logBase": 1, 3541 "show": true 3542 } 3543 ], 3544 "yaxis": { 3545 "align": false 3546 } 3547 }, 3548 { 3549 "aliasColors": {}, 3550 "bars": false, 3551 "dashLength": 10, 3552 "dashes": false, 3553 "datasource": { 3554 "type": "prometheus", 3555 "uid": "prometheus" 3556 }, 3557 "editable": true, 3558 "error": false, 3559 "fieldConfig": { 3560 "defaults": { 3561 "unit": "s" 3562 }, 3563 "overrides": [] 3564 }, 3565 "fill": 2, 3566 "fillGradient": 0, 3567 "grid": { 3568 "leftLogBase": 1, 3569 "leftMin": 0, 3570 "rightLogBase": 1 3571 }, 3572 "gridPos": { 3573 "h": 7, 3574 "w": 12, 3575 "x": 12, 3576 "y": 23 3577 }, 3578 "hiddenSeries": false, 3579 "id": 162, 3580 "legend": { 3581 "alignAsTable": true, 3582 "avg": true, 3583 "current": false, 3584 "max": true, 3585 "min": true, 3586 "show": true, 3587 "sort": "avg", 3588 "sortDesc": true, 3589 "total": false, 3590 "values": true 3591 }, 3592 "lines": true, 3593 "linewidth": 2, 3594 "links": [], 3595 "nullPointMode": "null", 3596 "options": { 3597 "alertThreshold": true 3598 }, 3599 "percentage": false, 3600 "pluginVersion": "9.2.4", 3601 "pointradius": 5, 3602 "points": false, 3603 "renderer": "flot", 3604 "seriesOverrides": [], 3605 "spaceLength": 10, 3606 "stack": false, 3607 "steppedLine": false, 3608 "targets": [ 3609 { 3610 "datasource": { 3611 "type": "prometheus", 3612 "uid": "prometheus" 3613 }, 3614 "editorMode": "code", 3615 "expr": "rate(mongodb_mongod_replset_oplog_head_timestamp{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_replset_oplog_head_timestamp{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 3616 "interval": "", 3617 "intervalFactor": 1, 3618 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 3619 "range": true, 3620 "refId": "A", 3621 "step": 300 3622 } 3623 ], 3624 "thresholds": [], 3625 "timeRegions": [], 3626 "title": "Oplog Lag", 3627 "tooltip": { 3628 "msResolution": false, 3629 "shared": true, 3630 "sort": 0, 3631 "value_type": "cumulative" 3632 }, 3633 "type": "graph", 3634 "x-axis": true, 3635 "xaxis": { 3636 "mode": "time", 3637 "show": true, 3638 "values": [] 3639 }, 3640 "y-axis": true, 3641 "y_formats": [ 3642 "ms", 3643 "short" 3644 ], 3645 "yaxes": [ 3646 { 3647 "format": "s", 3648 "label": "", 3649 "logBase": 1, 3650 "min": 0, 3651 "show": true 3652 }, 3653 { 3654 "format": "short", 3655 "logBase": 1, 3656 "show": true 3657 } 3658 ], 3659 "yaxis": { 3660 "align": false 3661 } 3662 }, 3663 { 3664 "aliasColors": {}, 3665 "bars": false, 3666 "dashLength": 10, 3667 "dashes": false, 3668 "datasource": { 3669 "type": "prometheus", 3670 "uid": "prometheus" 3671 }, 3672 "editable": true, 3673 "error": false, 3674 "fieldConfig": { 3675 "defaults": { 3676 "unit": "bytes" 3677 }, 3678 "overrides": [] 3679 }, 3680 "fill": 2, 3681 "fillGradient": 0, 3682 "grid": { 3683 "leftLogBase": 1, 3684 "leftMin": 0, 3685 "rightLogBase": 1 3686 }, 3687 "gridPos": { 3688 "h": 7, 3689 "w": 12, 3690 "x": 0, 3691 "y": 30 3692 }, 3693 "hiddenSeries": false, 3694 "id": 80, 3695 "legend": { 3696 "alignAsTable": true, 3697 "avg": true, 3698 "current": false, 3699 "max": true, 3700 "min": true, 3701 "show": true, 3702 "sort": "avg", 3703 "sortDesc": true, 3704 "total": false, 3705 "values": true 3706 }, 3707 "lines": true, 3708 "linewidth": 2, 3709 "links": [], 3710 "nullPointMode": "null", 3711 "options": { 3712 "alertThreshold": true 3713 }, 3714 "percentage": false, 3715 "pluginVersion": "9.2.4", 3716 "pointradius": 5, 3717 "points": false, 3718 "renderer": "flot", 3719 "seriesOverrides": [], 3720 "spaceLength": 10, 3721 "stack": false, 3722 "steppedLine": false, 3723 "targets": [ 3724 { 3725 "datasource": { 3726 "type": "prometheus", 3727 "uid": "prometheus" 3728 }, 3729 "editorMode": "code", 3730 "expr": "mongodb_mongod_metrics_repl_buffer_size_bytes{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}", 3731 "interval": "", 3732 "intervalFactor": 1, 3733 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - Used", 3734 "range": true, 3735 "refId": "A", 3736 "step": 300 3737 }, 3738 { 3739 "datasource": { 3740 "type": "prometheus", 3741 "uid": "prometheus" 3742 }, 3743 "editorMode": "code", 3744 "expr": "mongodb_mongod_metrics_repl_buffer_max_size_bytes{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}", 3745 "interval": "", 3746 "intervalFactor": 1, 3747 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} - Max", 3748 "range": true, 3749 "refId": "B", 3750 "step": 300 3751 } 3752 ], 3753 "thresholds": [], 3754 "timeRegions": [], 3755 "title": "Oplog Buffer Capacity", 3756 "tooltip": { 3757 "msResolution": false, 3758 "shared": true, 3759 "sort": 0, 3760 "value_type": "cumulative" 3761 }, 3762 "type": "graph", 3763 "x-axis": true, 3764 "xaxis": { 3765 "mode": "time", 3766 "show": true, 3767 "values": [] 3768 }, 3769 "y-axis": true, 3770 "y_formats": [ 3771 "ms", 3772 "short" 3773 ], 3774 "yaxes": [ 3775 { 3776 "format": "bytes", 3777 "label": "", 3778 "logBase": 10, 3779 "min": 0, 3780 "show": true 3781 }, 3782 { 3783 "format": "short", 3784 "logBase": 1, 3785 "show": true 3786 } 3787 ], 3788 "yaxis": { 3789 "align": false 3790 } 3791 }, 3792 { 3793 "aliasColors": {}, 3794 "bars": false, 3795 "dashLength": 10, 3796 "dashes": false, 3797 "datasource": { 3798 "type": "prometheus", 3799 "uid": "prometheus" 3800 }, 3801 "editable": true, 3802 "error": false, 3803 "fill": 2, 3804 "fillGradient": 0, 3805 "grid": { 3806 "leftLogBase": 1, 3807 "leftMin": 0, 3808 "rightLogBase": 1 3809 }, 3810 "gridPos": { 3811 "h": 7, 3812 "w": 12, 3813 "x": 12, 3814 "y": 30 3815 }, 3816 "hiddenSeries": false, 3817 "id": 161, 3818 "legend": { 3819 "alignAsTable": true, 3820 "avg": true, 3821 "current": false, 3822 "max": true, 3823 "min": true, 3824 "show": true, 3825 "sort": "avg", 3826 "sortDesc": true, 3827 "total": false, 3828 "values": true 3829 }, 3830 "lines": true, 3831 "linewidth": 2, 3832 "links": [], 3833 "nullPointMode": "null", 3834 "options": { 3835 "alertThreshold": true 3836 }, 3837 "percentage": false, 3838 "pluginVersion": "9.2.4", 3839 "pointradius": 5, 3840 "points": false, 3841 "renderer": "flot", 3842 "seriesOverrides": [], 3843 "spaceLength": 10, 3844 "stack": false, 3845 "steppedLine": false, 3846 "targets": [ 3847 { 3848 "datasource": { 3849 "type": "prometheus", 3850 "uid": "prometheus" 3851 }, 3852 "editorMode": "code", 3853 "expr": "rate(mongodb_mongod_metrics_repl_buffer_count{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_metrics_repl_buffer_count{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 3854 "interval": "", 3855 "intervalFactor": 1, 3856 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 3857 "range": true, 3858 "refId": "A", 3859 "step": 300 3860 } 3861 ], 3862 "thresholds": [], 3863 "timeRegions": [], 3864 "title": "Oplog Buffered Operations", 3865 "tooltip": { 3866 "msResolution": false, 3867 "shared": true, 3868 "sort": 0, 3869 "value_type": "cumulative" 3870 }, 3871 "type": "graph", 3872 "x-axis": true, 3873 "xaxis": { 3874 "mode": "time", 3875 "show": true, 3876 "values": [] 3877 }, 3878 "y-axis": true, 3879 "y_formats": [ 3880 "ms", 3881 "short" 3882 ], 3883 "yaxes": [ 3884 { 3885 "format": "ops", 3886 "label": "", 3887 "logBase": 1, 3888 "min": 0, 3889 "show": true 3890 }, 3891 { 3892 "format": "short", 3893 "logBase": 1, 3894 "show": true 3895 } 3896 ], 3897 "yaxis": { 3898 "align": false 3899 } 3900 }, 3901 { 3902 "aliasColors": {}, 3903 "bars": false, 3904 "dashLength": 10, 3905 "dashes": false, 3906 "datasource": { 3907 "type": "prometheus", 3908 "uid": "prometheus" 3909 }, 3910 "editable": true, 3911 "error": false, 3912 "fieldConfig": { 3913 "defaults": { 3914 "unit": "ms" 3915 }, 3916 "overrides": [] 3917 }, 3918 "fill": 2, 3919 "fillGradient": 0, 3920 "grid": { 3921 "leftLogBase": 1, 3922 "leftMin": 0, 3923 "rightLogBase": 1 3924 }, 3925 "gridPos": { 3926 "h": 7, 3927 "w": 12, 3928 "x": 0, 3929 "y": 37 3930 }, 3931 "hiddenSeries": false, 3932 "id": 84, 3933 "legend": { 3934 "alignAsTable": true, 3935 "avg": true, 3936 "current": false, 3937 "max": true, 3938 "min": true, 3939 "show": true, 3940 "sort": "avg", 3941 "sortDesc": true, 3942 "total": false, 3943 "values": true 3944 }, 3945 "lines": true, 3946 "linewidth": 2, 3947 "links": [], 3948 "nullPointMode": "null", 3949 "options": { 3950 "alertThreshold": true 3951 }, 3952 "percentage": false, 3953 "pluginVersion": "9.2.4", 3954 "pointradius": 5, 3955 "points": false, 3956 "renderer": "flot", 3957 "seriesOverrides": [], 3958 "spaceLength": 10, 3959 "stack": false, 3960 "steppedLine": false, 3961 "targets": [ 3962 { 3963 "datasource": { 3964 "type": "prometheus", 3965 "uid": "prometheus" 3966 }, 3967 "editorMode": "code", 3968 "expr": "rate(mongodb_mongod_replset_oplog_head_timestamp{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_metrics_repl_preload_docs_total_milliseconds{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 3969 "interval": "", 3970 "intervalFactor": 1, 3971 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 3972 "range": true, 3973 "refId": "A", 3974 "step": 300 3975 } 3976 ], 3977 "thresholds": [], 3978 "timeRegions": [], 3979 "title": "Oplog Processing Time", 3980 "tooltip": { 3981 "msResolution": false, 3982 "shared": true, 3983 "sort": 0, 3984 "value_type": "cumulative" 3985 }, 3986 "type": "graph", 3987 "x-axis": true, 3988 "xaxis": { 3989 "mode": "time", 3990 "show": true, 3991 "values": [] 3992 }, 3993 "y-axis": true, 3994 "y_formats": [ 3995 "ms", 3996 "short" 3997 ], 3998 "yaxes": [ 3999 { 4000 "format": "ms", 4001 "label": "", 4002 "logBase": 1, 4003 "min": 0, 4004 "show": true 4005 }, 4006 { 4007 "format": "short", 4008 "logBase": 1, 4009 "show": true 4010 } 4011 ], 4012 "yaxis": { 4013 "align": false 4014 } 4015 }, 4016 { 4017 "aliasColors": {}, 4018 "bars": false, 4019 "dashLength": 10, 4020 "dashes": false, 4021 "datasource": { 4022 "type": "prometheus", 4023 "uid": "prometheus" 4024 }, 4025 "editable": true, 4026 "error": false, 4027 "fieldConfig": { 4028 "defaults": { 4029 "unit": "ms" 4030 }, 4031 "overrides": [] 4032 }, 4033 "fill": 2, 4034 "fillGradient": 0, 4035 "grid": { 4036 "leftLogBase": 1, 4037 "leftMin": 0, 4038 "rightLogBase": 1 4039 }, 4040 "gridPos": { 4041 "h": 7, 4042 "w": 12, 4043 "x": 12, 4044 "y": 37 4045 }, 4046 "hiddenSeries": false, 4047 "id": 79, 4048 "legend": { 4049 "alignAsTable": true, 4050 "avg": true, 4051 "current": false, 4052 "max": true, 4053 "min": true, 4054 "show": true, 4055 "sort": "avg", 4056 "sortDesc": true, 4057 "total": false, 4058 "values": true 4059 }, 4060 "lines": true, 4061 "linewidth": 2, 4062 "links": [], 4063 "nullPointMode": "null", 4064 "options": { 4065 "alertThreshold": true 4066 }, 4067 "percentage": false, 4068 "pluginVersion": "9.2.4", 4069 "pointradius": 5, 4070 "points": false, 4071 "renderer": "flot", 4072 "seriesOverrides": [], 4073 "spaceLength": 10, 4074 "stack": false, 4075 "steppedLine": false, 4076 "targets": [ 4077 { 4078 "datasource": { 4079 "type": "prometheus", 4080 "uid": "prometheus" 4081 }, 4082 "editorMode": "code", 4083 "expr": "rate(mongodb_mongod_metrics_repl_network_getmores_total_milliseconds{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_metrics_repl_network_getmores_total_milliseconds{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4084 "interval": "", 4085 "intervalFactor": 1, 4086 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 4087 "range": true, 4088 "refId": "A", 4089 "step": 300 4090 } 4091 ], 4092 "thresholds": [], 4093 "timeRegions": [], 4094 "title": "Oplog Getmore Time", 4095 "tooltip": { 4096 "msResolution": false, 4097 "shared": true, 4098 "sort": 0, 4099 "value_type": "cumulative" 4100 }, 4101 "type": "graph", 4102 "x-axis": true, 4103 "xaxis": { 4104 "mode": "time", 4105 "show": true, 4106 "values": [] 4107 }, 4108 "y-axis": true, 4109 "y_formats": [ 4110 "ms", 4111 "short" 4112 ], 4113 "yaxes": [ 4114 { 4115 "format": "ms", 4116 "label": "", 4117 "logBase": 1, 4118 "min": 0, 4119 "show": true 4120 }, 4121 { 4122 "format": "short", 4123 "logBase": 1, 4124 "show": true 4125 } 4126 ], 4127 "yaxis": { 4128 "align": false 4129 } 4130 }, 4131 { 4132 "aliasColors": {}, 4133 "bars": false, 4134 "dashLength": 10, 4135 "dashes": false, 4136 "datasource": { 4137 "type": "prometheus", 4138 "uid": "prometheus" 4139 }, 4140 "description": "Shows the time range in the oplog and the oldest backed up operation.", 4141 "editable": true, 4142 "error": false, 4143 "fill": 2, 4144 "fillGradient": 0, 4145 "grid": { 4146 "leftLogBase": 1, 4147 "leftMin": 0, 4148 "rightLogBase": 1 4149 }, 4150 "gridPos": { 4151 "h": 7, 4152 "w": 12, 4153 "x": 0, 4154 "y": 44 4155 }, 4156 "hiddenSeries": false, 4157 "id": 165, 4158 "legend": { 4159 "alignAsTable": true, 4160 "avg": true, 4161 "current": false, 4162 "max": true, 4163 "min": true, 4164 "show": true, 4165 "total": false, 4166 "values": true 4167 }, 4168 "lines": true, 4169 "linewidth": 2, 4170 "links": [], 4171 "nullPointMode": "null", 4172 "options": { 4173 "alertThreshold": true 4174 }, 4175 "percentage": false, 4176 "pluginVersion": "9.2.4", 4177 "pointradius": 5, 4178 "points": false, 4179 "renderer": "flot", 4180 "seriesOverrides": [], 4181 "spaceLength": 10, 4182 "stack": false, 4183 "steppedLine": false, 4184 "targets": [ 4185 { 4186 "datasource": { 4187 "type": "prometheus", 4188 "uid": "prometheus" 4189 }, 4190 "editorMode": "code", 4191 "expr": "time()-mongodb_mongod_replset_oplog_tail_timestamp{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"}", 4192 "hide": false, 4193 "interval": "", 4194 "intervalFactor": 1, 4195 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | Now to End", 4196 "metric": "", 4197 "range": true, 4198 "refId": "J", 4199 "step": 300 4200 }, 4201 { 4202 "datasource": { 4203 "type": "prometheus", 4204 "uid": "prometheus" 4205 }, 4206 "editorMode": "code", 4207 "expr": "mongodb_mongod_replset_oplog_head_timestamp{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"}-mongodb_mongod_replset_oplog_tail_timestamp{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"}", 4208 "hide": false, 4209 "interval": "", 4210 "intervalFactor": 1, 4211 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | Oplog Range", 4212 "metric": "", 4213 "range": true, 4214 "refId": "A", 4215 "step": 300 4216 } 4217 ], 4218 "thresholds": [], 4219 "timeRegions": [], 4220 "title": "Oplog Recovery Window", 4221 "tooltip": { 4222 "msResolution": false, 4223 "shared": true, 4224 "sort": 0, 4225 "value_type": "cumulative" 4226 }, 4227 "type": "graph", 4228 "x-axis": true, 4229 "xaxis": { 4230 "mode": "time", 4231 "show": true, 4232 "values": [] 4233 }, 4234 "y-axis": true, 4235 "y_formats": [ 4236 "s", 4237 "short" 4238 ], 4239 "yaxes": [ 4240 { 4241 "format": "s", 4242 "label": "", 4243 "logBase": 1, 4244 "min": 0, 4245 "show": true 4246 }, 4247 { 4248 "format": "short", 4249 "logBase": 1, 4250 "show": true 4251 } 4252 ], 4253 "yaxis": { 4254 "align": false 4255 } 4256 } 4257 ], 4258 "title": "Oplog", 4259 "type": "row" 4260 }, 4261 { 4262 "collapsed": true, 4263 "gridPos": { 4264 "h": 1, 4265 "w": 24, 4266 "x": 0, 4267 "y": 65 4268 }, 4269 "id": 107, 4270 "panels": [ 4271 { 4272 "aliasColors": {}, 4273 "bars": false, 4274 "dashLength": 10, 4275 "dashes": false, 4276 "datasource": { 4277 "type": "prometheus", 4278 "uid": "prometheus" 4279 }, 4280 "editable": true, 4281 "error": false, 4282 "fill": 2, 4283 "fillGradient": 0, 4284 "grid": { 4285 "leftLogBase": 1, 4286 "leftMin": 0, 4287 "rightLogBase": 1 4288 }, 4289 "gridPos": { 4290 "h": 7, 4291 "w": 12, 4292 "x": 0, 4293 "y": 40 4294 }, 4295 "hiddenSeries": false, 4296 "id": 110, 4297 "legend": { 4298 "alignAsTable": true, 4299 "avg": true, 4300 "current": false, 4301 "max": true, 4302 "min": true, 4303 "show": true, 4304 "sort": "avg", 4305 "sortDesc": true, 4306 "total": false, 4307 "values": true 4308 }, 4309 "lines": true, 4310 "linewidth": 2, 4311 "links": [], 4312 "nullPointMode": "null", 4313 "options": { 4314 "alertThreshold": true 4315 }, 4316 "percentage": false, 4317 "pluginVersion": "9.2.4", 4318 "pointradius": 5, 4319 "points": false, 4320 "renderer": "flot", 4321 "seriesOverrides": [], 4322 "spaceLength": 10, 4323 "stack": false, 4324 "steppedLine": false, 4325 "targets": [ 4326 { 4327 "datasource": { 4328 "type": "prometheus", 4329 "uid": "prometheus" 4330 }, 4331 "editorMode": "code", 4332 "expr": "rate(mongodb_asserts_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_asserts_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4333 "interval": "", 4334 "intervalFactor": 1, 4335 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{type}}", 4336 "range": true, 4337 "refId": "A", 4338 "step": 300 4339 } 4340 ], 4341 "thresholds": [], 4342 "timeRegions": [], 4343 "title": "Assert Events", 4344 "tooltip": { 4345 "msResolution": false, 4346 "shared": true, 4347 "sort": 0, 4348 "value_type": "cumulative" 4349 }, 4350 "type": "graph", 4351 "x-axis": true, 4352 "xaxis": { 4353 "mode": "time", 4354 "show": true, 4355 "values": [] 4356 }, 4357 "y-axis": true, 4358 "y_formats": [ 4359 "ms", 4360 "short" 4361 ], 4362 "yaxes": [ 4363 { 4364 "format": "ops", 4365 "label": "", 4366 "logBase": 1, 4367 "min": 0, 4368 "show": true 4369 }, 4370 { 4371 "format": "short", 4372 "logBase": 1, 4373 "show": true 4374 } 4375 ], 4376 "yaxis": { 4377 "align": false 4378 } 4379 } 4380 ], 4381 "title": "Assert", 4382 "type": "row" 4383 }, 4384 { 4385 "collapsed": true, 4386 "gridPos": { 4387 "h": 1, 4388 "w": 24, 4389 "x": 0, 4390 "y": 66 4391 }, 4392 "id": 141, 4393 "panels": [ 4394 { 4395 "aliasColors": {}, 4396 "bars": false, 4397 "dashLength": 10, 4398 "dashes": false, 4399 "datasource": { 4400 "type": "prometheus", 4401 "uid": "prometheus" 4402 }, 4403 "editable": true, 4404 "error": false, 4405 "fill": 2, 4406 "fillGradient": 0, 4407 "grid": { 4408 "leftLogBase": 1, 4409 "leftMin": 0, 4410 "rightLogBase": 1 4411 }, 4412 "gridPos": { 4413 "h": 7, 4414 "w": 12, 4415 "x": 0, 4416 "y": 41 4417 }, 4418 "hiddenSeries": false, 4419 "id": 112, 4420 "legend": { 4421 "alignAsTable": true, 4422 "avg": true, 4423 "current": false, 4424 "max": true, 4425 "min": true, 4426 "show": true, 4427 "sort": "avg", 4428 "sortDesc": true, 4429 "total": false, 4430 "values": true 4431 }, 4432 "lines": true, 4433 "linewidth": 2, 4434 "links": [], 4435 "nullPointMode": "null", 4436 "options": { 4437 "alertThreshold": true 4438 }, 4439 "percentage": false, 4440 "pluginVersion": "9.2.4", 4441 "pointradius": 5, 4442 "points": false, 4443 "renderer": "flot", 4444 "seriesOverrides": [], 4445 "spaceLength": 10, 4446 "stack": false, 4447 "steppedLine": false, 4448 "targets": [ 4449 { 4450 "datasource": { 4451 "type": "prometheus", 4452 "uid": "prometheus" 4453 }, 4454 "editorMode": "code", 4455 "expr": "rate(mongodb_ss_globalLock_activeClients_readers{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_ss_globalLock_activeClients_readers{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4456 "interval": "", 4457 "intervalFactor": 1, 4458 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | readers", 4459 "range": true, 4460 "refId": "A", 4461 "step": 300 4462 }, 4463 { 4464 "datasource": { 4465 "type": "prometheus", 4466 "uid": "prometheus" 4467 }, 4468 "editorMode": "code", 4469 "expr": "rate(mongodb_ss_globalLock_activeClients_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_ss_globalLock_activeClients_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4470 "hide": false, 4471 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | total", 4472 "range": true, 4473 "refId": "B" 4474 }, 4475 { 4476 "datasource": { 4477 "type": "prometheus", 4478 "uid": "prometheus" 4479 }, 4480 "editorMode": "code", 4481 "expr": "rate(mongodb_ss_globalLock_activeClients_writers{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_ss_globalLock_activeClients_writers{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4482 "hide": false, 4483 "interval": "", 4484 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | writers", 4485 "range": true, 4486 "refId": "C" 4487 } 4488 ], 4489 "thresholds": [], 4490 "timeRegions": [], 4491 "title": "Active Clients", 4492 "tooltip": { 4493 "msResolution": false, 4494 "shared": true, 4495 "sort": 0, 4496 "value_type": "cumulative" 4497 }, 4498 "type": "graph", 4499 "x-axis": true, 4500 "xaxis": { 4501 "mode": "time", 4502 "show": true, 4503 "values": [] 4504 }, 4505 "y-axis": true, 4506 "y_formats": [ 4507 "ms", 4508 "short" 4509 ], 4510 "yaxes": [ 4511 { 4512 "format": "ops", 4513 "label": "", 4514 "logBase": 1, 4515 "min": 0, 4516 "show": true 4517 }, 4518 { 4519 "format": "short", 4520 "logBase": 1, 4521 "show": true 4522 } 4523 ], 4524 "yaxis": { 4525 "align": false 4526 } 4527 }, 4528 { 4529 "aliasColors": {}, 4530 "bars": false, 4531 "dashLength": 10, 4532 "dashes": false, 4533 "datasource": { 4534 "type": "prometheus", 4535 "uid": "prometheus" 4536 }, 4537 "editable": true, 4538 "error": false, 4539 "fill": 2, 4540 "fillGradient": 0, 4541 "grid": { 4542 "leftLogBase": 1, 4543 "leftMin": 0, 4544 "rightLogBase": 1 4545 }, 4546 "gridPos": { 4547 "h": 7, 4548 "w": 12, 4549 "x": 12, 4550 "y": 41 4551 }, 4552 "hiddenSeries": false, 4553 "id": 144, 4554 "legend": { 4555 "alignAsTable": true, 4556 "avg": true, 4557 "current": false, 4558 "max": true, 4559 "min": true, 4560 "show": true, 4561 "sort": "avg", 4562 "sortDesc": true, 4563 "total": false, 4564 "values": true 4565 }, 4566 "lines": true, 4567 "linewidth": 2, 4568 "links": [], 4569 "nullPointMode": "null", 4570 "options": { 4571 "alertThreshold": true 4572 }, 4573 "percentage": false, 4574 "pluginVersion": "9.2.4", 4575 "pointradius": 5, 4576 "points": false, 4577 "renderer": "flot", 4578 "seriesOverrides": [], 4579 "spaceLength": 10, 4580 "stack": false, 4581 "steppedLine": false, 4582 "targets": [ 4583 { 4584 "datasource": { 4585 "type": "prometheus", 4586 "uid": "prometheus" 4587 }, 4588 "editorMode": "code", 4589 "expr": "rate(mongodb_ss_globalLock_currentQueue{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_ss_globalLock_currentQueue{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4590 "interval": "", 4591 "intervalFactor": 1, 4592 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{count_type}}", 4593 "range": true, 4594 "refId": "A", 4595 "step": 300 4596 } 4597 ], 4598 "thresholds": [], 4599 "timeRegions": [], 4600 "title": "Current Queue", 4601 "tooltip": { 4602 "msResolution": false, 4603 "shared": true, 4604 "sort": 0, 4605 "value_type": "cumulative" 4606 }, 4607 "type": "graph", 4608 "x-axis": true, 4609 "xaxis": { 4610 "mode": "time", 4611 "show": true, 4612 "values": [] 4613 }, 4614 "y-axis": true, 4615 "y_formats": [ 4616 "ms", 4617 "short" 4618 ], 4619 "yaxes": [ 4620 { 4621 "format": "ops", 4622 "label": "", 4623 "logBase": 1, 4624 "min": 0, 4625 "show": true 4626 }, 4627 { 4628 "format": "short", 4629 "logBase": 1, 4630 "show": true 4631 } 4632 ], 4633 "yaxis": { 4634 "align": false 4635 } 4636 } 4637 ], 4638 "title": "GlobalLock", 4639 "type": "row" 4640 }, 4641 { 4642 "collapsed": true, 4643 "gridPos": { 4644 "h": 1, 4645 "w": 24, 4646 "x": 0, 4647 "y": 67 4648 }, 4649 "id": 143, 4650 "panels": [ 4651 { 4652 "aliasColors": {}, 4653 "bars": false, 4654 "dashLength": 10, 4655 "dashes": false, 4656 "datasource": { 4657 "type": "prometheus", 4658 "uid": "prometheus" 4659 }, 4660 "description": "This is useful for write-heavy workloads to understand how long it takes to verify writes and how many concurrent writes are occurring.", 4661 "editable": true, 4662 "error": false, 4663 "fill": 2, 4664 "fillGradient": 0, 4665 "grid": { 4666 "leftLogBase": 1, 4667 "leftMin": 0, 4668 "rightLogBase": 1 4669 }, 4670 "gridPos": { 4671 "h": 7, 4672 "w": 12, 4673 "x": 0, 4674 "y": 42 4675 }, 4676 "hiddenSeries": false, 4677 "id": 146, 4678 "legend": { 4679 "alignAsTable": true, 4680 "avg": true, 4681 "current": false, 4682 "max": true, 4683 "min": true, 4684 "show": true, 4685 "sort": "avg", 4686 "sortDesc": true, 4687 "total": false, 4688 "values": true 4689 }, 4690 "lines": true, 4691 "linewidth": 2, 4692 "links": [], 4693 "nullPointMode": "null", 4694 "options": { 4695 "alertThreshold": true 4696 }, 4697 "percentage": false, 4698 "pluginVersion": "9.2.4", 4699 "pointradius": 5, 4700 "points": false, 4701 "renderer": "flot", 4702 "seriesOverrides": [], 4703 "spaceLength": 10, 4704 "stack": false, 4705 "steppedLine": false, 4706 "targets": [ 4707 { 4708 "datasource": { 4709 "type": "prometheus", 4710 "uid": "prometheus" 4711 }, 4712 "editorMode": "code", 4713 "expr": "rate(mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4714 "interval": "", 4715 "intervalFactor": 1, 4716 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} ", 4717 "range": true, 4718 "refId": "A", 4719 "step": 300 4720 } 4721 ], 4722 "thresholds": [], 4723 "timeRegions": [], 4724 "title": "Write Time", 4725 "tooltip": { 4726 "msResolution": false, 4727 "shared": true, 4728 "sort": 0, 4729 "value_type": "cumulative" 4730 }, 4731 "type": "graph", 4732 "x-axis": true, 4733 "xaxis": { 4734 "mode": "time", 4735 "show": true, 4736 "values": [] 4737 }, 4738 "y-axis": true, 4739 "y_formats": [ 4740 "ms", 4741 "short" 4742 ], 4743 "yaxes": [ 4744 { 4745 "format": "ops", 4746 "label": "", 4747 "logBase": 1, 4748 "min": 0, 4749 "show": true 4750 }, 4751 { 4752 "format": "short", 4753 "logBase": 1, 4754 "show": true 4755 } 4756 ], 4757 "yaxis": { 4758 "align": false 4759 } 4760 }, 4761 { 4762 "aliasColors": {}, 4763 "bars": false, 4764 "dashLength": 10, 4765 "dashes": false, 4766 "datasource": { 4767 "type": "prometheus", 4768 "uid": "prometheus" 4769 }, 4770 "description": "This is useful for write-heavy workloads to understand how long it takes to verify writes and how many concurrent writes are occurring.", 4771 "editable": true, 4772 "error": false, 4773 "fill": 2, 4774 "fillGradient": 0, 4775 "grid": { 4776 "leftLogBase": 1, 4777 "leftMin": 0, 4778 "rightLogBase": 1 4779 }, 4780 "gridPos": { 4781 "h": 7, 4782 "w": 12, 4783 "x": 12, 4784 "y": 42 4785 }, 4786 "hiddenSeries": false, 4787 "id": 159, 4788 "legend": { 4789 "alignAsTable": true, 4790 "avg": true, 4791 "current": false, 4792 "max": true, 4793 "min": true, 4794 "show": true, 4795 "sort": "avg", 4796 "sortDesc": true, 4797 "total": false, 4798 "values": true 4799 }, 4800 "lines": true, 4801 "linewidth": 2, 4802 "links": [], 4803 "nullPointMode": "null", 4804 "options": { 4805 "alertThreshold": true 4806 }, 4807 "percentage": false, 4808 "pluginVersion": "9.2.4", 4809 "pointradius": 5, 4810 "points": false, 4811 "renderer": "flot", 4812 "seriesOverrides": [], 4813 "spaceLength": 10, 4814 "stack": false, 4815 "steppedLine": false, 4816 "targets": [ 4817 { 4818 "datasource": { 4819 "type": "prometheus", 4820 "uid": "prometheus" 4821 }, 4822 "editorMode": "code", 4823 "expr": "rate(mongodb_mongod_metrics_get_last_error_wtimeouts_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_metrics_get_last_error_wtimeouts_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4824 "interval": "", 4825 "intervalFactor": 1, 4826 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | Timeouts", 4827 "range": true, 4828 "refId": "A", 4829 "step": 300 4830 }, 4831 { 4832 "datasource": { 4833 "type": "prometheus", 4834 "uid": "prometheus" 4835 }, 4836 "editorMode": "code", 4837 "expr": "rate(mongodb_mongod_metrics_get_last_error_wtime_num_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_metrics_get_last_error_wtime_num_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 4838 "hide": false, 4839 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | Total", 4840 "range": true, 4841 "refId": "B" 4842 } 4843 ], 4844 "thresholds": [], 4845 "timeRegions": [], 4846 "title": "Write Operations", 4847 "tooltip": { 4848 "msResolution": false, 4849 "shared": true, 4850 "sort": 0, 4851 "value_type": "cumulative" 4852 }, 4853 "type": "graph", 4854 "x-axis": true, 4855 "xaxis": { 4856 "mode": "time", 4857 "show": true, 4858 "values": [] 4859 }, 4860 "y-axis": true, 4861 "y_formats": [ 4862 "ms", 4863 "short" 4864 ], 4865 "yaxes": [ 4866 { 4867 "format": "ops", 4868 "label": "", 4869 "logBase": 1, 4870 "min": 0, 4871 "show": true 4872 }, 4873 { 4874 "format": "short", 4875 "logBase": 1, 4876 "show": true 4877 } 4878 ], 4879 "yaxis": { 4880 "align": false 4881 } 4882 } 4883 ], 4884 "title": "GetLastError", 4885 "type": "row" 4886 }, 4887 { 4888 "collapsed": true, 4889 "gridPos": { 4890 "h": 1, 4891 "w": 24, 4892 "x": 0, 4893 "y": 68 4894 }, 4895 "id": 148, 4896 "panels": [ 4897 { 4898 "aliasColors": {}, 4899 "bars": false, 4900 "dashLength": 10, 4901 "dashes": false, 4902 "datasource": { 4903 "type": "prometheus", 4904 "uid": "prometheus" 4905 }, 4906 "editable": true, 4907 "error": false, 4908 "fieldConfig": { 4909 "defaults": { 4910 "unit": "bytes" 4911 }, 4912 "overrides": [] 4913 }, 4914 "fill": 2, 4915 "fillGradient": 0, 4916 "grid": { 4917 "leftLogBase": 1, 4918 "leftMin": 0, 4919 "rightLogBase": 1 4920 }, 4921 "gridPos": { 4922 "h": 7, 4923 "w": 12, 4924 "x": 0, 4925 "y": 43 4926 }, 4927 "hiddenSeries": false, 4928 "id": 113, 4929 "legend": { 4930 "alignAsTable": true, 4931 "avg": true, 4932 "current": false, 4933 "max": true, 4934 "min": true, 4935 "show": true, 4936 "sort": "avg", 4937 "sortDesc": true, 4938 "total": false, 4939 "values": true 4940 }, 4941 "lines": true, 4942 "linewidth": 2, 4943 "links": [], 4944 "nullPointMode": "null", 4945 "options": { 4946 "alertThreshold": true 4947 }, 4948 "percentage": false, 4949 "pluginVersion": "9.2.4", 4950 "pointradius": 5, 4951 "points": false, 4952 "renderer": "flot", 4953 "seriesOverrides": [], 4954 "spaceLength": 10, 4955 "stack": false, 4956 "steppedLine": false, 4957 "targets": [ 4958 { 4959 "datasource": { 4960 "type": "prometheus", 4961 "uid": "prometheus" 4962 }, 4963 "editorMode": "code", 4964 "expr": "mongodb_mongod_wiredtiger_cache_bytes{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}", 4965 "interval": "", 4966 "intervalFactor": 1, 4967 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 4968 "range": true, 4969 "refId": "A", 4970 "step": 300 4971 } 4972 ], 4973 "thresholds": [], 4974 "timeRegions": [], 4975 "title": "Cache UsedSize", 4976 "tooltip": { 4977 "msResolution": false, 4978 "shared": true, 4979 "sort": 0, 4980 "value_type": "cumulative" 4981 }, 4982 "type": "graph", 4983 "x-axis": true, 4984 "xaxis": { 4985 "mode": "time", 4986 "show": true, 4987 "values": [] 4988 }, 4989 "y-axis": true, 4990 "y_formats": [ 4991 "ms", 4992 "short" 4993 ], 4994 "yaxes": [ 4995 { 4996 "format": "bytes", 4997 "label": "", 4998 "logBase": 1, 4999 "min": 0, 5000 "show": true 5001 }, 5002 { 5003 "format": "short", 5004 "logBase": 1, 5005 "show": true 5006 } 5007 ], 5008 "yaxis": { 5009 "align": false 5010 } 5011 }, 5012 { 5013 "aliasColors": {}, 5014 "bars": false, 5015 "dashLength": 10, 5016 "dashes": false, 5017 "datasource": { 5018 "type": "prometheus", 5019 "uid": "prometheus" 5020 }, 5021 "editable": true, 5022 "error": false, 5023 "fieldConfig": { 5024 "defaults": { 5025 "unit": "bytes" 5026 }, 5027 "overrides": [] 5028 }, 5029 "fill": 2, 5030 "fillGradient": 0, 5031 "grid": { 5032 "leftLogBase": 1, 5033 "leftMin": 0, 5034 "rightLogBase": 1 5035 }, 5036 "gridPos": { 5037 "h": 7, 5038 "w": 12, 5039 "x": 12, 5040 "y": 43 5041 }, 5042 "hiddenSeries": false, 5043 "id": 115, 5044 "legend": { 5045 "alignAsTable": true, 5046 "avg": true, 5047 "current": false, 5048 "max": true, 5049 "min": true, 5050 "show": true, 5051 "sort": "avg", 5052 "sortDesc": true, 5053 "total": false, 5054 "values": true 5055 }, 5056 "lines": true, 5057 "linewidth": 2, 5058 "links": [], 5059 "nullPointMode": "null", 5060 "options": { 5061 "alertThreshold": true 5062 }, 5063 "percentage": false, 5064 "pluginVersion": "9.2.4", 5065 "pointradius": 5, 5066 "points": false, 5067 "renderer": "flot", 5068 "seriesOverrides": [], 5069 "spaceLength": 10, 5070 "stack": false, 5071 "steppedLine": false, 5072 "targets": [ 5073 { 5074 "datasource": { 5075 "type": "prometheus", 5076 "uid": "prometheus" 5077 }, 5078 "editorMode": "code", 5079 "expr": "rate(mongodb_mongod_wiredtiger_cache_bytes_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_wiredtiger_cache_bytes_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 5080 "interval": "", 5081 "intervalFactor": 1, 5082 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{type}}", 5083 "range": true, 5084 "refId": "A", 5085 "step": 300 5086 } 5087 ], 5088 "thresholds": [], 5089 "timeRegions": [], 5090 "title": "Cache R/W Size", 5091 "tooltip": { 5092 "msResolution": false, 5093 "shared": true, 5094 "sort": 0, 5095 "value_type": "cumulative" 5096 }, 5097 "type": "graph", 5098 "x-axis": true, 5099 "xaxis": { 5100 "mode": "time", 5101 "show": true, 5102 "values": [] 5103 }, 5104 "y-axis": true, 5105 "y_formats": [ 5106 "ms", 5107 "short" 5108 ], 5109 "yaxes": [ 5110 { 5111 "format": "bytes", 5112 "label": "", 5113 "logBase": 1, 5114 "min": 0, 5115 "show": true 5116 }, 5117 { 5118 "format": "short", 5119 "logBase": 1, 5120 "show": true 5121 } 5122 ], 5123 "yaxis": { 5124 "align": false 5125 } 5126 }, 5127 { 5128 "aliasColors": {}, 5129 "bars": false, 5130 "dashLength": 10, 5131 "dashes": false, 5132 "datasource": { 5133 "type": "prometheus", 5134 "uid": "prometheus" 5135 }, 5136 "editable": true, 5137 "error": false, 5138 "fieldConfig": { 5139 "defaults": { 5140 "unit": "none" 5141 }, 5142 "overrides": [] 5143 }, 5144 "fill": 2, 5145 "fillGradient": 0, 5146 "grid": { 5147 "leftLogBase": 1, 5148 "leftMin": 0, 5149 "rightLogBase": 1 5150 }, 5151 "gridPos": { 5152 "h": 7, 5153 "w": 12, 5154 "x": 0, 5155 "y": 50 5156 }, 5157 "hiddenSeries": false, 5158 "id": 153, 5159 "legend": { 5160 "alignAsTable": true, 5161 "avg": true, 5162 "current": false, 5163 "max": true, 5164 "min": true, 5165 "show": true, 5166 "sort": "avg", 5167 "sortDesc": true, 5168 "total": false, 5169 "values": true 5170 }, 5171 "lines": true, 5172 "linewidth": 2, 5173 "links": [], 5174 "nullPointMode": "null", 5175 "options": { 5176 "alertThreshold": true 5177 }, 5178 "percentage": false, 5179 "pluginVersion": "9.2.4", 5180 "pointradius": 5, 5181 "points": false, 5182 "renderer": "flot", 5183 "seriesOverrides": [], 5184 "spaceLength": 10, 5185 "stack": false, 5186 "steppedLine": false, 5187 "targets": [ 5188 { 5189 "datasource": { 5190 "type": "prometheus", 5191 "uid": "prometheus" 5192 }, 5193 "editorMode": "code", 5194 "expr": "rate (mongodb_mongod_wiredtiger_cache_evicted_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval])", 5195 "interval": "", 5196 "intervalFactor": 1, 5197 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}}", 5198 "range": true, 5199 "refId": "A", 5200 "step": 300 5201 } 5202 ], 5203 "thresholds": [], 5204 "timeRegions": [], 5205 "title": "Cache Evicted Page Num", 5206 "tooltip": { 5207 "msResolution": false, 5208 "shared": true, 5209 "sort": 0, 5210 "value_type": "cumulative" 5211 }, 5212 "type": "graph", 5213 "x-axis": true, 5214 "xaxis": { 5215 "mode": "time", 5216 "show": true, 5217 "values": [] 5218 }, 5219 "y-axis": true, 5220 "y_formats": [ 5221 "ms", 5222 "short" 5223 ], 5224 "yaxes": [ 5225 { 5226 "format": "none", 5227 "label": "", 5228 "logBase": 1, 5229 "min": 0, 5230 "show": true 5231 }, 5232 { 5233 "format": "short", 5234 "logBase": 1, 5235 "show": true 5236 } 5237 ], 5238 "yaxis": { 5239 "align": false 5240 } 5241 }, 5242 { 5243 "aliasColors": {}, 5244 "bars": false, 5245 "dashLength": 10, 5246 "dashes": false, 5247 "datasource": { 5248 "type": "prometheus", 5249 "uid": "prometheus" 5250 }, 5251 "editable": true, 5252 "error": false, 5253 "fieldConfig": { 5254 "defaults": { 5255 "unit": "ops" 5256 }, 5257 "overrides": [] 5258 }, 5259 "fill": 2, 5260 "fillGradient": 0, 5261 "grid": { 5262 "leftLogBase": 1, 5263 "leftMin": 0, 5264 "rightLogBase": 1 5265 }, 5266 "gridPos": { 5267 "h": 7, 5268 "w": 12, 5269 "x": 12, 5270 "y": 50 5271 }, 5272 "hiddenSeries": false, 5273 "id": 149, 5274 "legend": { 5275 "alignAsTable": true, 5276 "avg": true, 5277 "current": false, 5278 "max": true, 5279 "min": true, 5280 "show": true, 5281 "sort": "avg", 5282 "sortDesc": true, 5283 "total": false, 5284 "values": true 5285 }, 5286 "lines": true, 5287 "linewidth": 2, 5288 "links": [], 5289 "nullPointMode": "null", 5290 "options": { 5291 "alertThreshold": true 5292 }, 5293 "percentage": false, 5294 "pluginVersion": "9.2.4", 5295 "pointradius": 5, 5296 "points": false, 5297 "renderer": "flot", 5298 "seriesOverrides": [], 5299 "spaceLength": 10, 5300 "stack": false, 5301 "steppedLine": false, 5302 "targets": [ 5303 { 5304 "datasource": { 5305 "type": "prometheus", 5306 "uid": "prometheus" 5307 }, 5308 "editorMode": "code", 5309 "expr": "rate(mongodb_mongod_wiredtiger_log_operations_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_mongod_wiredtiger_log_operations_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 5310 "interval": "", 5311 "intervalFactor": 1, 5312 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{type}}", 5313 "range": true, 5314 "refId": "A", 5315 "step": 300 5316 } 5317 ], 5318 "thresholds": [], 5319 "timeRegions": [], 5320 "title": "Log Operations", 5321 "tooltip": { 5322 "msResolution": false, 5323 "shared": true, 5324 "sort": 0, 5325 "value_type": "cumulative" 5326 }, 5327 "type": "graph", 5328 "x-axis": true, 5329 "xaxis": { 5330 "mode": "time", 5331 "show": true, 5332 "values": [] 5333 }, 5334 "y-axis": true, 5335 "y_formats": [ 5336 "ms", 5337 "short" 5338 ], 5339 "yaxes": [ 5340 { 5341 "format": "ops", 5342 "label": "", 5343 "logBase": 1, 5344 "min": 0, 5345 "show": true 5346 }, 5347 { 5348 "format": "short", 5349 "logBase": 1, 5350 "show": true 5351 } 5352 ], 5353 "yaxis": { 5354 "align": false 5355 } 5356 } 5357 ], 5358 "title": "WiredTiger", 5359 "type": "row" 5360 }, 5361 { 5362 "collapsed": true, 5363 "gridPos": { 5364 "h": 1, 5365 "w": 24, 5366 "x": 0, 5367 "y": 69 5368 }, 5369 "id": 151, 5370 "panels": [ 5371 { 5372 "aliasColors": {}, 5373 "bars": false, 5374 "dashLength": 10, 5375 "dashes": false, 5376 "datasource": { 5377 "type": "prometheus", 5378 "uid": "prometheus" 5379 }, 5380 "editable": true, 5381 "error": false, 5382 "fieldConfig": { 5383 "defaults": { 5384 "unit": "ops" 5385 }, 5386 "overrides": [] 5387 }, 5388 "fill": 2, 5389 "fillGradient": 0, 5390 "grid": { 5391 "leftLogBase": 1, 5392 "leftMin": 0, 5393 "rightLogBase": 1 5394 }, 5395 "gridPos": { 5396 "h": 7, 5397 "w": 12, 5398 "x": 0, 5399 "y": 44 5400 }, 5401 "hiddenSeries": false, 5402 "id": 152, 5403 "legend": { 5404 "alignAsTable": true, 5405 "avg": true, 5406 "current": false, 5407 "max": true, 5408 "min": true, 5409 "show": true, 5410 "sort": "avg", 5411 "sortDesc": true, 5412 "total": false, 5413 "values": true 5414 }, 5415 "lines": true, 5416 "linewidth": 2, 5417 "links": [], 5418 "nullPointMode": "null", 5419 "options": { 5420 "alertThreshold": true 5421 }, 5422 "percentage": false, 5423 "pluginVersion": "9.2.4", 5424 "pointradius": 5, 5425 "points": false, 5426 "renderer": "flot", 5427 "seriesOverrides": [], 5428 "spaceLength": 10, 5429 "stack": false, 5430 "steppedLine": false, 5431 "targets": [ 5432 { 5433 "datasource": { 5434 "type": "prometheus", 5435 "uid": "prometheus" 5436 }, 5437 "editorMode": "code", 5438 "expr": "rate(mongodb_extra_info_page_faults_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[$__rate_interval]) or irate(mongodb_extra_info_page_faults_total{namespace=~\"$namespace\", app_kubernetes_io_instance=~\"$cluster\", pod=~\"$instance\"}[5m])", 5439 "interval": "", 5440 "intervalFactor": 1, 5441 "legendFormat": "{{namespace}} | {{app_kubernetes_io_instance}} | {{pod}} | {{type}}", 5442 "range": true, 5443 "refId": "A", 5444 "step": 300 5445 } 5446 ], 5447 "thresholds": [], 5448 "timeRegions": [], 5449 "title": "Page Faults", 5450 "tooltip": { 5451 "msResolution": false, 5452 "shared": true, 5453 "sort": 0, 5454 "value_type": "cumulative" 5455 }, 5456 "type": "graph", 5457 "x-axis": true, 5458 "xaxis": { 5459 "mode": "time", 5460 "show": true, 5461 "values": [] 5462 }, 5463 "y-axis": true, 5464 "y_formats": [ 5465 "ms", 5466 "short" 5467 ], 5468 "yaxes": [ 5469 { 5470 "format": "ops", 5471 "label": "", 5472 "logBase": 1, 5473 "min": 0, 5474 "show": true 5475 }, 5476 { 5477 "format": "short", 5478 "logBase": 1, 5479 "show": true 5480 } 5481 ], 5482 "yaxis": { 5483 "align": false 5484 } 5485 } 5486 ], 5487 "title": "Extra Info", 5488 "type": "row" 5489 } 5490 ], 5491 "refresh": "1m", 5492 "schemaVersion": 37, 5493 "style": "dark", 5494 "tags": [ 5495 "MongoDB", 5496 "KubeBlocks" 5497 ], 5498 "templating": { 5499 "list": [ 5500 { 5501 "current": { 5502 "selected": false, 5503 "text": "Prometheus", 5504 "value": "Prometheus" 5505 }, 5506 "hide": 0, 5507 "includeAll": false, 5508 "label": "Data Source", 5509 "multi": false, 5510 "name": "datasource", 5511 "options": [], 5512 "query": "prometheus", 5513 "queryValue": "", 5514 "refresh": 1, 5515 "regex": "", 5516 "skipUrlSync": false, 5517 "type": "datasource" 5518 }, 5519 { 5520 "allValue": ".+", 5521 "current": { 5522 "selected": true, 5523 "text": [ 5524 "All" 5525 ], 5526 "value": [ 5527 "$__all" 5528 ] 5529 }, 5530 "datasource": { 5531 "type": "prometheus", 5532 "uid": "${datasource}" 5533 }, 5534 "definition": "label_values(mongodb_mongod_replset_my_state, namespace)", 5535 "hide": 0, 5536 "includeAll": true, 5537 "label": "Namespace", 5538 "multi": true, 5539 "name": "namespace", 5540 "options": [], 5541 "query": { 5542 "query": "label_values(mongodb_mongod_replset_my_state, namespace)", 5543 "refId": "StandardVariableQuery" 5544 }, 5545 "refresh": 1, 5546 "regex": "", 5547 "skipUrlSync": false, 5548 "sort": 5, 5549 "type": "query" 5550 }, 5551 { 5552 "allValue": ".+", 5553 "current": { 5554 "selected": true, 5555 "text": [ 5556 "All" 5557 ], 5558 "value": [ 5559 "$__all" 5560 ] 5561 }, 5562 "datasource": { 5563 "type": "prometheus", 5564 "uid": "${datasource}" 5565 }, 5566 "definition": "label_values(mongodb_mongod_replset_my_state, app_kubernetes_io_instance)", 5567 "hide": 0, 5568 "includeAll": true, 5569 "label": "Cluster", 5570 "multi": true, 5571 "name": "cluster", 5572 "options": [], 5573 "query": { 5574 "query": "label_values(mongodb_mongod_replset_my_state, app_kubernetes_io_instance)", 5575 "refId": "StandardVariableQuery" 5576 }, 5577 "refresh": 1, 5578 "regex": "", 5579 "skipUrlSync": false, 5580 "sort": 0, 5581 "type": "query" 5582 }, 5583 { 5584 "allValue": ".+", 5585 "current": { 5586 "selected": true, 5587 "text": [ 5588 "All" 5589 ], 5590 "value": [ 5591 "$__all" 5592 ] 5593 }, 5594 "datasource": { 5595 "type": "prometheus", 5596 "uid": "prometheus" 5597 }, 5598 "definition": "label_values(mongodb_mongod_replset_my_state{namespace=~\"$namespace\",app_kubernetes_io_instance=~\"$cluster\"}, pod)", 5599 "hide": 0, 5600 "includeAll": true, 5601 "label": "Instance", 5602 "multi": true, 5603 "name": "instance", 5604 "options": [], 5605 "query": { 5606 "query": "label_values(mongodb_mongod_replset_my_state{namespace=~\"$namespace\",app_kubernetes_io_instance=~\"$cluster\"}, pod)", 5607 "refId": "StandardVariableQuery" 5608 }, 5609 "refresh": 2, 5610 "regex": "", 5611 "skipUrlSync": false, 5612 "sort": 5, 5613 "type": "query" 5614 }, 5615 { 5616 "allValue": ".+", 5617 "current": { 5618 "selected": true, 5619 "text": [ 5620 "All" 5621 ], 5622 "value": [ 5623 "$__all" 5624 ] 5625 }, 5626 "datasource": { 5627 "type": "prometheus", 5628 "uid": "${datasource}" 5629 }, 5630 "definition": "label_values(mongodb_dbstats_ok{namespace=~\"$namespace\",app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"}, database)", 5631 "hide": 0, 5632 "includeAll": true, 5633 "label": "Database", 5634 "multi": true, 5635 "name": "database", 5636 "options": [], 5637 "query": { 5638 "query": "label_values(mongodb_dbstats_ok{namespace=~\"$namespace\",app_kubernetes_io_instance=~\"$cluster\",pod=~\"$instance\"}, database)", 5639 "refId": "StandardVariableQuery" 5640 }, 5641 "refresh": 2, 5642 "regex": "", 5643 "skipUrlSync": false, 5644 "sort": 5, 5645 "type": "query" 5646 } 5647 ] 5648 }, 5649 "time": { 5650 "from": "now-30m", 5651 "to": "now" 5652 }, 5653 "timepicker": { 5654 "hidden": false, 5655 "now": true, 5656 "refresh_intervals": [ 5657 "10s", 5658 "30s", 5659 "1m", 5660 "5m", 5661 "15m", 5662 "30m", 5663 "1h", 5664 "2h", 5665 "1d" 5666 ], 5667 "time_options": [ 5668 "5m", 5669 "15m", 5670 "1h", 5671 "6h", 5672 "12h", 5673 "24h", 5674 "2d", 5675 "7d", 5676 "30d" 5677 ] 5678 }, 5679 "timezone": "", 5680 "title": "MongoDB", 5681 "uid": "mongodb", 5682 "version": 1, 5683 "weekStart": "" 5684 }