MongoDB Storage Service

Kloudfuse integrates with the MongoDB storage service.

Dashboards

MongoDB Community — Overview

This dashboard provides a high-level overview of your MongoDB deployment, to quickly identify potential slowdowns and resource limitations.

It fetches metrics from each member, depending on its role in the cluster. For example, it fetches replication lag metrics from the primary for all members of the replica set. You must therefore configure an integration instance for each mongod service that runs in your cluster.

In a shared environment, you must make an additional integration instance, and point it to a mongos proxy.

Listing

Use the following JSON to load the default, extensible MondoBD Community Overview dashboard.

MongoDB Community — Overview JSON Code
{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": 78,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": true,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 33,
      "panels": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editable": false,
          "error": false,
          "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 1
          },
          "id": 1,
          "options": {
            "code": {
              "language": "plaintext",
              "showLineNumbers": false,
              "showMiniMap": false
            },
            "content": "This dashboard provides a high-level overview of your MongoDB deployment so you can quickly identify potential slowdowns and resource limitations.\n\n The metrics that are fetched from each member depend on its role in the cluster. For example, replication lag is fetched from the primary for all members of the replica set. This means you need to configure one integration instance for each mongod service running in your cluster.\n\nIn sharded environment, you need one additional integration instance pointed to a mongos proxy.",
            "mode": "markdown"
          },
          "pageSize": 0,
          "pluginVersion": "10.2.3",
          "renderer": "flot",
          "scroll": false,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": false
          },
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "P09C4D52DEC9B98E6"
              },
              "refId": "A"
            }
          ],
          "type": "text"
        }
      ],
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "refId": "A"
        }
      ],
      "title": "About MongoDB",
      "type": "row"
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 34,
      "panels": [],
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "refId": "A"
        }
      ],
      "title": "Overview",
      "type": "row"
    },
    {
      "colorBackground": false,
      "colorValue": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "decimals": 2,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "format": "",
      "gauge": {
        "maxValue": 0,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 2
      },
      "id": 3,
      "nullPointMode": "",
      "options": {
        "colorMode": "",
        "content": "",
        "displayMode": "",
        "graphMode": "",
        "justifyMode": "",
        "mode": "",
        "orientation": "",
        "reduceOptions": {
          "calcs": [],
          "fields": "",
          "values": false
        },
        "textMode": "auto",
        "wideLayout": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "sparkline": {},
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "avg(avg_over_time(mongodb_uptime[60s])/24/60/60)",
          "range": true,
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Averaged uptime",
      "type": "stat",
      "valueFontSize": "",
      "valueName": ""
    },
    {
      "colorBackground": false,
      "colorValue": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "decimals": 2,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "format": "",
      "gauge": {
        "maxValue": 0,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 2
      },
      "id": 4,
      "nullPointMode": "",
      "options": {
        "colorMode": "",
        "content": "",
        "displayMode": "",
        "graphMode": "",
        "justifyMode": "",
        "mode": "",
        "orientation": "",
        "reduceOptions": {
          "calcs": [],
          "fields": "",
          "values": false
        },
        "textMode": "auto",
        "wideLayout": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "sparkline": {},
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_replset_health{sharding_cluster_role=\"shardsvr\"})",
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Shards count",
      "type": "stat",
      "valueFontSize": "",
      "valueName": ""
    },
    {
      "colorBackground": false,
      "colorValue": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "decimals": 0,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "format": "",
      "gauge": {
        "maxValue": 0,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 2
      },
      "id": 5,
      "nullPointMode": "",
      "options": {
        "colorMode": "",
        "content": "",
        "displayMode": "",
        "graphMode": "",
        "justifyMode": "",
        "mode": "",
        "orientation": "",
        "reduceOptions": {
          "calcs": [],
          "fields": "",
          "values": false
        },
        "textMode": "auto",
        "wideLayout": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "sparkline": {},
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum(mongodb_replset_health{sharding_cluster_role=\"shardsvr\",replset_state=\"primary\"})",
          "range": true,
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Primary count",
      "type": "stat",
      "valueFontSize": "",
      "valueName": ""
    },
    {
      "colorBackground": false,
      "colorValue": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "decimals": 0,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "format": "",
      "gauge": {
        "maxValue": 0,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 9
      },
      "id": 6,
      "nullPointMode": "",
      "options": {
        "colorMode": "",
        "content": "",
        "displayMode": "",
        "graphMode": "",
        "justifyMode": "",
        "mode": "",
        "orientation": "",
        "reduceOptions": {
          "calcs": [],
          "fields": "",
          "values": false
        },
        "textMode": "auto",
        "wideLayout": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "sparkline": {},
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_replset_health{sharding_cluster_role=\"shardsvr\",replset_state=\"secondary\"})",
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Secondary count",
      "type": "stat",
      "valueFontSize": "",
      "valueName": ""
    },
    {
      "colorBackground": false,
      "colorValue": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "decimals": 0,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "format": "",
      "gauge": {
        "maxValue": 0,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 9
      },
      "id": 7,
      "nullPointMode": "",
      "options": {
        "colorMode": "",
        "content": "",
        "displayMode": "",
        "graphMode": "",
        "justifyMode": "",
        "mode": "",
        "orientation": "",
        "reduceOptions": {
          "calcs": [],
          "fields": "",
          "values": false
        },
        "textMode": "auto",
        "wideLayout": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "sparkline": {},
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_replset_health{sharding_cluster_role=\"configsvr\"})",
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Configsvr count",
      "type": "stat",
      "valueFontSize": "",
      "valueName": ""
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 35,
      "panels": [],
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "refId": "A"
        }
      ],
      "title": "Replication",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 17
      },
      "id": 9,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "max by(replset_name)(avg_over_time(mongodb_replset_optime_lag{replset_name=~\"${replset_name}\"}[15s]))",
          "refId": "A"
        }
      ],
      "title": "Maximum lag per replica set",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 17
      },
      "id": 8,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "avg(mongodb_oplog_logsizemb{replset_name=~\"${replset_name}\"})",
          "legendFormat": "oplog log size",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "avg(mongodb_oplog_usedsizemb{replset_name=~\"${replset_name}\"})",
          "legendFormat": "oplog used size",
          "refId": "B"
        }
      ],
      "title": "Oplog usage",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "id": 36,
      "panels": [],
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "refId": "A"
        }
      ],
      "title": "Resource Utilization",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "description": "Source Query: 100 * exclude_null(sum:mongodb.connections.current{*,*,$scope,$replset_name} by {replset_name}) / (exclude_null(sum:mongodb.connections.current{*,*,$scope,$replset_name} by {replset_name}) + exclude_null(sum:mongodb.connections.available{*,*,$scope,$replset_name} by {replset_name}))\nexclude_null adds a <label>~=\".+\" filter to the selector",
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 25
      },
      "id": 13,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "(100*(sum by(replset_name)(mongodb_connections_current))/(sum by(replset_name)(mongodb_connections_current))+(sum by(replset_name)(mongodb_connections_available)))",
          "range": true,
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum by(replset_name)(mongodb_connections_current)",
          "hide": true,
          "range": true,
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum by(replset_name)(mongodb_connections_available)",
          "hide": true,
          "range": true,
          "refId": "C"
        }
      ],
      "title": "Percentage of client connections used (%)",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 25
      },
      "id": 14,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "avg(mongodb_mem_resident)",
          "legendFormat": "Memory used",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Average memory usage",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 25
      },
      "id": 17,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum by(host)(mongodb_extra_info_page_faultsps)",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Number of page faults per host",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 32
      },
      "id": 18,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "avg by(replset_name)(mongodb_stats_datasize)",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Data size per replica set",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 39
      },
      "id": 37,
      "panels": [],
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "refId": "A"
        }
      ],
      "title": "Throughput",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 40
      },
      "id": 19,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum(mongodb_opcounters_getmoreps)",
          "legendFormat": "Getmore Operations",
          "range": true,
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_opcounters_queryps{replset_name=~\"${replset_name}\"})",
          "legendFormat": "Queries",
          "refId": "B"
        }
      ],
      "title": "Read requests per second",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 40
      },
      "id": 20,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "avg(mongodb_network_bytesoutps)",
          "legendFormat": "Sent network traffic",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Network I/O",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 40
      },
      "id": 21,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum(mongodb_opcounters_deleteps)",
          "legendFormat": "Delete operations",
          "range": true,
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_opcounters_insertps{replset_name=~\"${replset_name}\"})",
          "legendFormat": "Insert operations ",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_opcounters_updateps{replset_name=~\"${replset_name}\"})",
          "legendFormat": "Update operations",
          "refId": "C"
        }
      ],
      "title": "Write requests per second",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 47
      },
      "id": 22,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum(mongodb_opcounters_deleteps)",
          "legendFormat": "Delete operations",
          "range": true,
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_opcounters_insertps{replset_name=~\"${replset_name}\"})",
          "legendFormat": "Insert operations",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_opcounters_updateps{replset_name=~\"${replset_name}\"})",
          "legendFormat": "Update operations",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_opcounters_getmoreps{replset_name=~\"${replset_name}\"})",
          "legendFormat": "Getmore operations",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_opcounters_commandps{replset_name=~\"${replset_name}\"})",
          "legendFormat": "Commands",
          "refId": "E"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "expr": "sum(mongodb_opcounters_queryps{replset_name=~\"${replset_name}\"})",
          "legendFormat": "Total queries",
          "refId": "F"
        }
      ],
      "title": "Query operations per second",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 54
      },
      "id": 38,
      "panels": [],
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "refId": "A"
        }
      ],
      "title": "Most Used Replica Sets",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "description": "Source Query: top(sum:mongodb.opcounters.getmoreps{$scope,$replset_name} by {replset_name}, 10, 'mean', 'desc')\ntop is converted to topk",
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": [
          {
            "matcher": {
              "id": "byType",
              "options": "number"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "mode": "lcd",
                  "type": "gauge"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 55
      },
      "id": 23,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "scroll": true,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "topk((10),(sum by(replset_name)(avg_over_time(mongodb_opcounters_getmoreps[10m]))))",
          "format": "table",
          "instant": true,
          "interval": "10m",
          "refId": "A"
        }
      ],
      "title": "For reads",
      "transform": "",
      "type": "table"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "description": "Source Query: top(sum:mongodb.opcounters.deleteps{$scope,$replset_name} by {replset_name}, 10, 'mean', 'desc')\ntop is converted to topk",
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": [
          {
            "matcher": {
              "id": "byType",
              "options": "number"
            },
            "properties": [
              {
                "id": "custom.cellOptions",
                "value": {
                  "mode": "lcd",
                  "type": "gauge"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 55
      },
      "id": 24,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "scroll": true,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "topk((10),(sum by(replset_name)(avg_over_time(mongodb_opcounters_deleteps[10m]))))",
          "format": "table",
          "instant": true,
          "interval": "10m",
          "refId": "A"
        }
      ],
      "title": "For writes",
      "transform": "",
      "type": "table"
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 62
      },
      "id": 39,
      "panels": [],
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "refId": "A"
        }
      ],
      "title": "Latencies",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 63
      },
      "id": 25,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "max(mongodb_oplatencies_commands_latency)",
          "legendFormat": "Command Latency",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Command Latency",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 63
      },
      "id": 26,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "max(mongodb_oplatencies_reads_latency)",
          "legendFormat": "Read Latency",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Read Latency",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 63
      },
      "id": 27,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "max(mongodb_oplatencies_writes_latency)",
          "legendFormat": "Write Latency",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Write Latency",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 70
      },
      "id": 40,
      "panels": [],
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "refId": "A"
        }
      ],
      "title": "Sharding Stats",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "editable": false,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "",
            "barAlignment": 0,
            "drawStyle": "lines",
            "fillOpacity": 95,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 3,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "",
            "spanNulls": false,
            "stacking": {
              "group": "",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 71
      },
      "id": 28,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "avg(mongodb_sessions_count)",
          "legendFormat": "Session Count",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Count of current sessions opened to the sharded cluster.",
      "type": "timeseries"
    },
    {
      "colorBackground": false,
      "colorValue": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "decimals": 2,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "format": "",
      "gauge": {
        "maxValue": 0,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 71
      },
      "id": 29,
      "nullPointMode": "",
      "options": {
        "colorMode": "",
        "content": "",
        "displayMode": "",
        "graphMode": "",
        "justifyMode": "",
        "mode": "",
        "orientation": "",
        "reduceOptions": {
          "calcs": [],
          "fields": "",
          "values": false
        },
        "textMode": "auto",
        "wideLayout": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "sparkline": {},
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum(avg_over_time(mongodb_chunks_total[60s]))",
          "range": true,
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Total chunks count",
      "type": "stat",
      "valueFontSize": "",
      "valueName": ""
    },
    {
      "colorBackground": false,
      "colorValue": false,
      "datasource": {
        "type": "prometheus",
        "uid": "P09C4D52DEC9B98E6"
      },
      "decimals": 0,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": ""
        },
        "overrides": []
      },
      "format": "",
      "gauge": {
        "maxValue": 0,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 71
      },
      "id": 30,
      "nullPointMode": "",
      "options": {
        "colorMode": "",
        "content": "",
        "displayMode": "",
        "graphMode": "",
        "justifyMode": "",
        "mode": "",
        "orientation": "",
        "reduceOptions": {
          "calcs": [],
          "fields": "",
          "values": false
        },
        "textMode": "auto",
        "wideLayout": true
      },
      "pluginVersion": "10.2.3",
      "renderer": "flot",
      "sparkline": {},
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "P09C4D52DEC9B98E6"
          },
          "editorMode": "code",
          "expr": "sum(avg_over_time(mongodb_chunks_jumbo[60s]))",
          "range": true,
          "refId": "A"
        }
      ],
      "thresholds": "",
      "title": "Jumbo chunks count",
      "type": "stat",
      "valueFontSize": "",
      "valueName": ""
    }
  ],
  "refresh": "",
  "schemaVersion": 39,
  "tags": [],
  "templating": {
    "list": [
      {
        "allFormat": "",
        "allValue": ".*",
        "current": {
          "selected": false,
          "text": "All",
          "value": "$__all"
        },
        "datasource": {
          "type": "prometheus",
          "uid": "P09C4D52DEC9B98E6"
        },
        "definition": "",
        "hide": 0,
        "includeAll": true,
        "label": "replset_name",
        "multi": true,
        "multiFormat": "",
        "name": "replset_name",
        "options": [],
        "query": {
          "query": "label_values(replset_name)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-15m",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "browser",
  "title": "MongoDB Community- Overview",
  "uid": "c8cd98d5-dd77-4baf-a2e7-43ad8b7e15cc",
  "version": 2,
  "weekStart": ""
}
json

In-product Integration

To quickly add the dashboard to your instance of Kloudfuse, follow these steps:

  1. In the Kloudfuse UI, click to expand the Integrations tab.

  2. Select the Storage Services option.

  3. Select MongoDB.

  4. In the corresponding tile, click Import.

    Import the MondoDB Community Overview dashboard
  5. Kloudfuse automatically opens the MongoDB Community — Overview template dashboard.

    Import the MondoDB Community Overview dashboard

Customize and Save Dashboards

To customize the dashboard, follow these steps:

  1. Click Edit next to the dashboard name to edit the dashboard information.

    Click edit (pencil) to start editing dashboard details
  2. In the Dashboard Details modal, adjust the details, such as Title, Description, and the assigned Folder.

    Click Apply to save the settings.

    Change dashboard details and click Apply
  3. Click Add Panels to add new elements, such as Graphs (Timeseries, Top List, Table, Pie Chart, or Heatmap), List and Streams (Log Events), or Text and Embed (Text or Row).