{
    "annotations": {
        "list": []
    },
    "editable": true,
    "gnetId": null,
    "hideControls": false,
    "id": null,
    "links": [
        {
            "asDropdown": true,
            "icon": "external link",
            "includeVars": true,
            "keepTime": true,
            "tags": [
                "OS"
            ],
            "targetBlank": true,
            "title": "OS",
            "type": "dashboards"
        },
        {
            "asDropdown": true,
            "icon": "external link",
            "includeVars": true,
            "keepTime": true,
            "tags": [
                "MongoDB"
            ],
            "targetBlank": true,
            "title": "MongoDB",
            "type": "dashboards"
        }
    ],
    "refresh": false,
    "rows": [
        {
            "collapse": false,
            "height": "125px",
            "panels": [
                {
                    "cacheTimeout": null,
                    "colorBackground": false,
                    "colorValue": false,
                    "colors": [
                        "rgba(50, 172, 45, 0.97)",
                        "rgba(237, 129, 40, 0.89)",
                        "rgba(245, 54, 54, 0.9)"
                    ],
                    "datasource": "Prometheus",
                    "decimals": 0,
                    "editable": true,
                    "error": false,
                    "format": "short",
                    "gauge": {
                        "maxValue": 100,
                        "minValue": 0,
                        "show": false,
                        "thresholdLabels": false,
                        "thresholdMarkers": true
                    },
                    "height": "125px",
                    "id": 88,
                    "interval": "$interval",
                    "links": [],
                    "mappingType": 1,
                    "mappingTypes": [
                        {
                            "name": "value to text",
                            "value": 1
                        },
                        {
                            "name": "range to text",
                            "value": 2
                        }
                    ],
                    "maxDataPoints": 100,
                    "nullPointMode": "connected",
                    "nullText": null,
                    "postfix": "",
                    "postfixFontSize": "50%",
                    "prefix": "",
                    "prefixFontSize": "80%",
                    "rangeMaps": [
                        {
                            "from": "null",
                            "text": "N/A",
                            "to": "null"
                        }
                    ],
                    "span": 3,
                    "sparkline": {
                        "fillColor": "rgba(31, 118, 189, 0.18)",
                        "full": true,
                        "lineColor": "rgb(31, 120, 193)",
                        "show": false
                    },
                    "targets": [
                        {
                            "calculatedInterval": "10m",
                            "datasourceErrors": {},
                            "errors": {},
                            "expr": "(sum(increase(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=\"Database\"}[$interval])) by (instance) / (increase(mongodb_mongod_instance_uptime_seconds{instance=\"$host\"}[$interval])*1000000)) or mongodb_mongod_global_lock_ratio{instance=\"$host\"}",
                            "interval": "5m",
                            "intervalFactor": 1,
                            "legendFormat": "",
                            "metric": "node_mem",
                            "refId": "A",
                            "step": 300
                        }
                    ],
                    "thresholds": "90,95",
                    "title": "MMAPv1 Lock Wait Ratio",
                    "transparent": false,
                    "type": "singlestat",
                    "valueFontSize": "80%",
                    "valueMaps": [],
                    "valueName": "current"
                },
                {
                    "cacheTimeout": null,
                    "colorBackground": false,
                    "colorValue": false,
                    "colors": [
                        "rgba(50, 172, 45, 0.97)",
                        "rgba(237, 129, 40, 0.89)",
                        "rgba(245, 54, 54, 0.9)"
                    ],
                    "datasource": "Prometheus",
                    "decimals": 0,
                    "editable": true,
                    "error": false,
                    "format": "ms",
                    "gauge": {
                        "maxValue": 100,
                        "minValue": 0,
                        "show": false,
                        "thresholdLabels": false,
                        "thresholdMarkers": true
                    },
                    "height": "125px",
                    "id": 89,
                    "interval": "$interval",
                    "links": [],
                    "mappingType": 1,
                    "mappingTypes": [
                        {
                            "name": "value to text",
                            "value": 1
                        },
                        {
                            "name": "range to text",
                            "value": 2
                        }
                    ],
                    "maxDataPoints": 100,
                    "nullPointMode": "connected",
                    "nullText": null,
                    "postfix": "",
                    "postfixFontSize": "50%",
                    "prefix": "",
                    "prefixFontSize": "80%",
                    "rangeMaps": [
                        {
                            "from": "null",
                            "text": "N/A",
                            "to": "null"
                        }
                    ],
                    "span": 3,
                    "sparkline": {
                        "fillColor": "rgba(31, 118, 189, 0.18)",
                        "full": true,
                        "lineColor": "rgb(31, 120, 193)",
                        "show": false
                    },
                    "targets": [
                        {
                            "calculatedInterval": "10m",
                            "datasourceErrors": {},
                            "errors": {},
                            "expr": "rate(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=\"Global\",type=\"write\"}[$interval]) or irate(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=\"Global\",type=\"write\"}[5m])",
                            "interval": "5m",
                            "intervalFactor": 1,
                            "legendFormat": "",
                            "metric": "node_mem",
                            "refId": "A",
                            "step": 300
                        }
                    ],
                    "thresholds": "90,95",
                    "title": "MMAPv1 Write Lock Time",
                    "transparent": false,
                    "type": "singlestat",
                    "valueFontSize": "80%",
                    "valueMaps": [],
                    "valueName": "current"
                },
                {
                    "cacheTimeout": null,
                    "colorBackground": false,
                    "colorValue": false,
                    "colors": [
                        "rgba(245, 54, 54, 0.9)",
                        "rgba(237, 129, 40, 0.89)",
                        "rgba(50, 172, 45, 0.97)"
                    ],
                    "datasource": "Prometheus",
                    "decimals": 2,
                    "editable": true,
                    "error": false,
                    "format": "bytes",
                    "gauge": {
                        "maxValue": 100,
                        "minValue": 0,
                        "show": false,
                        "thresholdLabels": false,
                        "thresholdMarkers": true
                    },
                    "hideTimeOverride": true,
                    "id": 79,
                    "interval": null,
                    "links": [],
                    "mappingType": 1,
                    "mappingTypes": [
                        {
                            "name": "value to text",
                            "value": 1
                        },
                        {
                            "name": "range to text",
                            "value": 2
                        }
                    ],
                    "maxDataPoints": 100,
                    "nullPointMode": "null",
                    "nullText": null,
                    "postfix": "",
                    "postfixFontSize": "50%",
                    "prefix": "",
                    "prefixFontSize": "50%",
                    "rangeMaps": [
                        {
                            "from": "null",
                            "text": "N/A",
                            "to": "null"
                        }
                    ],
                    "span": 3,
                    "sparkline": {
                        "fillColor": "rgba(31, 118, 189, 0.18)",
                        "full": false,
                        "lineColor": "rgb(31, 120, 193)",
                        "show": false
                    },
                    "targets": [
                        {
                            "expr": "node_memory_Cached{instance=\"$host\"}",
                            "interval": "5m",
                            "intervalFactor": 1,
                            "legendFormat": "",
                            "refId": "A",
                            "step": 300
                        }
                    ],
                    "thresholds": "",
                    "timeFrom": "1m",
                    "title": "Memory Cached",
                    "type": "singlestat",
                    "valueFontSize": "70%",
                    "valueMaps": [
                        {
                            "op": "=",
                            "text": "N/A",
                            "value": "null"
                        }
                    ],
                    "valueName": "avg"
                },
                {
                    "cacheTimeout": null,
                    "colorBackground": false,
                    "colorValue": true,
                    "colors": [
                        "rgba(50, 172, 45, 0.97)",
                        "rgba(237, 129, 40, 0.89)",
                        "rgba(245, 54, 54, 0.9)"
                    ],
                    "datasource": "Prometheus",
                    "decimals": 0,
                    "editable": true,
                    "error": false,
                    "format": "percent",
                    "gauge": {
                        "maxValue": 100,
                        "minValue": 0,
                        "show": false,
                        "thresholdLabels": false,
                        "thresholdMarkers": true
                    },
                    "height": "125px",
                    "id": 80,
                    "interval": "$interval",
                    "links": [],
                    "mappingType": 1,
                    "mappingTypes": [
                        {
                            "name": "value to text",
                            "value": 1
                        },
                        {
                            "name": "range to text",
                            "value": 2
                        }
                    ],
                    "maxDataPoints": 100,
                    "nullPointMode": "connected",
                    "nullText": null,
                    "postfix": "",
                    "postfixFontSize": "50%",
                    "prefix": "",
                    "prefixFontSize": "80%",
                    "rangeMaps": [
                        {
                            "from": "null",
                            "text": "N/A",
                            "to": "null"
                        }
                    ],
                    "span": 3,
                    "sparkline": {
                        "fillColor": "rgba(31, 118, 189, 0.18)",
                        "full": true,
                        "lineColor": "rgb(31, 120, 193)",
                        "show": true
                    },
                    "targets": [
                        {
                            "calculatedInterval": "10m",
                            "datasourceErrors": {},
                            "errors": {},
                            "expr": "(node_memory_MemAvailable{instance=\"$host\"} or (node_memory_MemFree{instance=\"$host\"} + node_memory_Buffers{instance=\"$host\"} + node_memory_Cached{instance=\"$host\"})) / node_memory_MemTotal{instance=\"$host\"} * 100",
                            "interval": "5m",
                            "intervalFactor": 1,
                            "legendFormat": "",
                            "metric": "node_mem",
                            "refId": "A",
                            "step": 300
                        }
                    ],
                    "thresholds": "90,95",
                    "title": "Memory Available",
                    "transparent": false,
                    "type": "singlestat",
                    "valueFontSize": "80%",
                    "valueMaps": [],
                    "valueName": "current"
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "New row",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": "250px",
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 36,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "hideZero": true,
                        "max": true,
                        "min": true,
                        "rightSide": false,
                        "show": true,
                        "sort": "avg",
                        "sortDesc": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": true,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_metrics_document_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_document_total{instance=\"$host\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{state}}",
                            "refId": "J",
                            "step": 300
                        },
                        {
                            "expr": "rate(mongodb_mongod_metrics_ttl_deleted_documents_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_ttl_deleted_documents_total{instance=\"$host\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "ttl_deleted",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type=\"delete\"}[$interval]) or irate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type=\"delete\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "repl_deleted",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type=\"insert\"}[$interval]) or irate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type=\"insert\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "repl_inserted",
                            "refId": "C",
                            "step": 300
                        },
                        {
                            "expr": "rate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type=\"update\"}[$interval]) or irate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type=\"update\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "repl_updated",
                            "refId": "D",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "Document Activity",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "individual"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ops",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 82,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "hideEmpty": false,
                        "hideZero": false,
                        "max": true,
                        "min": true,
                        "rightSide": false,
                        "show": true,
                        "sort": "avg",
                        "sortDesc": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": true,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "(sum(increase(mongodb_mongod_locks_time_locked_global_microseconds_total{instance=\"$host\",database=\"Database\"}[$interval])) by (instance) / (increase(mongodb_mongod_instance_uptime_seconds{instance=\"$host\"}[$interval])*1000000)) or mongodb_mongod_global_lock_ratio{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Lock (pre-3.2 only)",
                            "metric": "mongodb_mongod_global_lock_ratio",
                            "refId": "J",
                            "step": 300
                        },
                        {
                            "expr": "(sum(increase(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=\"Database\"}[$interval])) by (instance) / (increase(mongodb_mongod_instance_uptime_seconds{instance=\"$host\"}[$interval])*1000000)) or mongodb_mongod_global_lock_ratio{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Lock Wait",
                            "metric": "mongodb_mongod_global_lock_ratio",
                            "refId": "A",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Lock Ratios",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "individual"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "none",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "Document Activity and MMAPv1 Lock Ratio",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": "250px",
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 83,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=~\"(Global|Database|MMAPV1Journal)\"}[$interval]) or irate(mongodb_mongod_locks_time_acquiring_global_microseconds_total{instance=\"$host\",database=~\"(Global|Database|MMAPV1Journal)\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{database}} {{type}}",
                            "metric": "node_vmstat_nr_dirty",
                            "refId": "J",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Lock Wait Time",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "transparent": false,
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "\u00b5s",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 39,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": false,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_extra_info_page_faults_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_extra_info_page_faults_total{instance=\"$host\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Faults",
                            "refId": "J",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Page Faults",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ops",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "MMAPv1 Lock Wait Time and Page Faults",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": 250,
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 85,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_durability_journaled_megabytes{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_durability_journaled_megabytes{instance=\"$host\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Journaled",
                            "metric": "node_vmstat_nr_dirty",
                            "refId": "J",
                            "step": 300
                        },
                        {
                            "expr": "rate(mongodb_mongod_durability_write_to_data_files_megabytes{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_durability_write_to_data_files_megabytes{instance=\"$host\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Write to Data Files",
                            "metric": "node_vmstat_nr_dirty",
                            "refId": "A",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Journal Write Activity",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "transparent": false,
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "MBs",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 87,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_durability_commits{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_durability_commits{instance=\"$host\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{state}}",
                            "metric": "node_vmstat_nr_dirty",
                            "refId": "J",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Journal Commit Activity",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "transparent": false,
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ops",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "MMAPv1 Journal Activity",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": 250,
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 84,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_durability_time_milliseconds_sum{instance=\"$host\",stage!=\"dt\"}[$interval]) or irate(mongodb_mongod_durability_time_milliseconds_sum{instance=\"$host\",stage!=\"dt\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{stage}}",
                            "metric": "node_vmstat_nr_dirty",
                            "refId": "J",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Journaling Time",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "individual"
                    },
                    "transparent": false,
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ms",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 86,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "mongodb_mongod_durability_time_milliseconds{instance=\"$host\",quantile=\"0.99\",stage!=\"dt\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{stage}}",
                            "metric": "node_vmstat_nr_dirty",
                            "refId": "J",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Journaling Time - 99th Percentile",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "individual"
                    },
                    "transparent": false,
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ms",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "MMAPv1 Journaling Time",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": 250,
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 91,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "sort": "avg",
                        "sortDesc": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_background_flushing_average_milliseconds{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_background_flushing_average_milliseconds{instance=\"$host\"}[5m])",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Background Flushing",
                            "refId": "J",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Background Flushing Time",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ms",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 40,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "sort": "avg",
                        "sortDesc": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "mongodb_mongod_global_lock_current_queue{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{type}}",
                            "refId": "J",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "Queued Operations",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ops",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "MMAPv1 Background Flushing Time and Queued Operations",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": "250px",
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 60,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "hideZero": true,
                        "max": true,
                        "min": true,
                        "rightSide": false,
                        "show": true,
                        "sort": "avg",
                        "sortDesc": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": true,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_op_counters_total{instance=\"$host\", type!=\"command\"}[$interval]) or irate(mongodb_mongod_op_counters_total{instance=\"$host\", type!=\"command\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{type}}",
                            "metric": "",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type!~\"(command|query|getmore)\"}[$interval]) or irate(mongodb_mongod_op_counters_repl_total{instance=\"$host\", type!~\"(command|query|getmore)\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "repl_{{type}}",
                            "metric": "",
                            "refId": "B",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "Client Operations",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "individual"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ops",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 32,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "hideZero": true,
                        "max": true,
                        "min": true,
                        "rightSide": false,
                        "show": true,
                        "sort": "avg",
                        "sortDesc": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mongodb_mongod_metrics_query_executor_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_query_executor_total{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{state}}",
                            "metric": "",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mongodb_mongod_metrics_record_moves_total{instance=\"$host\"}[$interval]) or irate(mongodb_mongod_metrics_record_moves_total{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "moved",
                            "refId": "B",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "Scanned and Moved Objects",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "ops",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "MongoDB Client Operations and Scanned & Moved Objects",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": 250,
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 81,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "node_memory_Cached{instance=\"$host\"}-node_memory_Mapped{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Unmapped",
                            "metric": "node_memory_Buffers",
                            "refId": "J",
                            "step": 300
                        },
                        {
                            "expr": "node_memory_Mapped{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Mapped",
                            "metric": "node_memory_Map",
                            "refId": "C",
                            "step": 300
                        },
                        {
                            "expr": "node_memory_SwapCached{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Swap Cached",
                            "metric": "node_memory_SwapCached",
                            "refId": "B",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Memory Usage",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "individual"
                    },
                    "transparent": false,
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "decbytes",
                            "label": "",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "decimals": null,
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 90,
                    "legend": {
                        "alignAsTable": true,
                        "avg": true,
                        "current": false,
                        "max": true,
                        "min": true,
                        "show": true,
                        "total": false,
                        "values": true
                    },
                    "lines": true,
                    "linewidth": 2,
                    "links": [],
                    "nullPointMode": "null",
                    "percentage": false,
                    "pointradius": 5,
                    "points": false,
                    "renderer": "flot",
                    "seriesOverrides": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "node_vmstat_nr_dirty{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Total Dirty Pages",
                            "metric": "node_vmstat_nr_dirty",
                            "refId": "J",
                            "step": 300
                        },
                        {
                            "expr": "node_vmstat_nr_dirty_background_threshold{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Soft Dirty Page Threshold",
                            "metric": "node_vmstat_nr_dirty_background_threshold",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "node_vmstat_nr_dirty_threshold{instance=\"$host\"}",
                            "hide": false,
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "Hard Dirty Page Threshold",
                            "metric": "node_vmstat_nr_dirty_threshold",
                            "refId": "B",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "MMAPv1 Memory Dirty Pages",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "transparent": false,
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "short",
                            "label": "",
                            "logBase": 10,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": null,
                            "show": true
                        }
                    ]
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "System / MMAPv1 Memory",
            "titleSize": "h6"
        }
    ],
    "schemaVersion": 13,
    "sharedCrosshair": true,
    "style": "dark",
    "tags": [
        "MongoDB",
        "Percona"
    ],
    "templating": {
        "list": [
            {
                "allFormat": "glob",
                "auto": true,
                "auto_count": 200,
                "auto_min": "1s",
                "current": {
                    "text": "auto",
                    "value": "$__auto_interval"
                },
                "datasource": "Prometheus",
                "hide": 0,
                "includeAll": false,
                "label": "Interval",
                "multi": false,
                "multiFormat": "glob",
                "name": "interval",
                "options": [
                    {
                        "selected": true,
                        "text": "auto",
                        "value": "$__auto_interval"
                    },
                    {
                        "selected": false,
                        "text": "1s",
                        "value": "1s"
                    },
                    {
                        "selected": false,
                        "text": "5s",
                        "value": "5s"
                    },
                    {
                        "selected": false,
                        "text": "1m",
                        "value": "1m"
                    },
                    {
                        "selected": false,
                        "text": "5m",
                        "value": "5m"
                    },
                    {
                        "selected": false,
                        "text": "1h",
                        "value": "1h"
                    },
                    {
                        "selected": false,
                        "text": "6h",
                        "value": "6h"
                    },
                    {
                        "selected": false,
                        "text": "1d",
                        "value": "1d"
                    }
                ],
                "query": "1s,5s,1m,5m,1h,6h,1d",
                "refresh": 2,
                "type": "interval"
            },
            {
                "allFormat": "glob",
                "allValue": null,
                "datasource": "Prometheus",
                "hide": 0,
                "includeAll": true,
                "label": "Cluster",
                "multi": false,
                "multiFormat": "glob",
                "name": "cluster",
                "query": "label_values(cluster)",
                "refresh": 1,
                "regex": "",
                "sort": 1,
                "tagValuesQuery": null,
                "tagsQuery": null,
                "type": "query"
            },
            {
                "allFormat": "glob",
                "allValue": null,
                "datasource": "Prometheus",
                "hide": 0,
                "includeAll": false,
                "label": "Instance",
                "multi": false,
                "multiFormat": "glob",
                "name": "host",
                "query": "label_values(mongodb_mongod_storage_engine{cluster=~\"$cluster\",engine=\"mmapv1\"}, instance)",
                "refresh": 1,
                "regex": "",
                "sort": 1,
                "tagValuesQuery": null,
                "tagsQuery": "",
                "type": "query",
                "useTags": false
            }
        ]
    },
    "time": {
        "from": "now-12h",
        "to": "now"
    },
    "timepicker": {
        "now": true,
        "refresh_intervals": [
            "5s",
            "10s",
            "30s",
            "1m",
            "5m",
            "15m",
            "30m",
            "1h",
            "2h",
            "1d"
        ],
        "time_options": [
            "5m",
            "15m",
            "1h",
            "6h",
            "12h",
            "24h",
            "2d",
            "7d",
            "30d"
        ]
    },
    "timezone": "browser",
    "title": "MongoDB MMAPv1",
    "version": 0
}
