Last active
November 10, 2020 05:44
-
-
Save fipar/b7f053de2aef5497cc82 to your computer and use it in GitHub Desktop.
Basic Grafana dashboard for MongoDB metrics (data source: https://github.com/dcu/mongodb_exporter)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": 1, | |
| "title": "MongoDB", | |
| "originalTitle": "MongoDB", | |
| "tags": [], | |
| "style": "dark", | |
| "timezone": "browser", | |
| "editable": true, | |
| "hideControls": false, | |
| "sharedCrosshair": false, | |
| "rows": [ | |
| { | |
| "collapse": false, | |
| "editable": true, | |
| "height": "250px", | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": null, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "leftLogBase": 1, | |
| "leftMax": null, | |
| "leftMin": null, | |
| "rightLogBase": 1, | |
| "rightMax": null, | |
| "rightMin": null, | |
| "threshold1": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": null, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 1, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 12, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "mongodb_memory", | |
| "interval": "1s", | |
| "intervalFactor": 2, | |
| "legendFormat": "", | |
| "metric": "mongodb_memory", | |
| "refId": "A", | |
| "step": 2 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Memory", | |
| "tooltip": { | |
| "shared": true, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "y_formats": [ | |
| "short", | |
| "short" | |
| ] | |
| } | |
| ], | |
| "title": "Row" | |
| }, | |
| { | |
| "collapse": false, | |
| "editable": true, | |
| "height": "250px", | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": null, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "leftLogBase": 1, | |
| "leftMax": null, | |
| "leftMin": null, | |
| "rightLogBase": 1, | |
| "rightMax": null, | |
| "rightMin": null, | |
| "threshold1": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": null, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 2, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 12, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "delta(mongodb_metrics_document_total{state=\"inserted\"}[5s])", | |
| "intervalFactor": 2, | |
| "legendFormat": "", | |
| "metric": "mongodb_metrics_document_total", | |
| "refId": "A", | |
| "step": 2 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Inserted Documents (/5s)", | |
| "tooltip": { | |
| "shared": true, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "y_formats": [ | |
| "short", | |
| "short" | |
| ] | |
| } | |
| ], | |
| "title": "New row" | |
| }, | |
| { | |
| "collapse": false, | |
| "editable": true, | |
| "height": "250px", | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": null, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "leftLogBase": 1, | |
| "leftMax": null, | |
| "leftMin": null, | |
| "rightLogBase": 1, | |
| "rightMax": null, | |
| "rightMin": null, | |
| "threshold1": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": null, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 3, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 12, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "delta(mongodb_metrics_document_total{state=\"deleted\"}[5s])", | |
| "intervalFactor": 2, | |
| "legendFormat": "", | |
| "metric": "mongodb_metrics_document_total", | |
| "refId": "A", | |
| "step": 2 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Deleted Documents (/5s)", | |
| "tooltip": { | |
| "shared": true, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "y_formats": [ | |
| "short", | |
| "short" | |
| ] | |
| } | |
| ], | |
| "title": "New row" | |
| }, | |
| { | |
| "collapse": false, | |
| "editable": true, | |
| "height": "250px", | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": null, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "leftLogBase": 1, | |
| "leftMax": null, | |
| "leftMin": null, | |
| "rightLogBase": 1, | |
| "rightMax": null, | |
| "rightMin": null, | |
| "threshold1": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": null, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 4, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 12, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "delta(mongodb_metrics_document_total{state=\"updated\"}[5s])", | |
| "intervalFactor": 2, | |
| "metric": "mongodb_metrics_document_total", | |
| "refId": "A", | |
| "step": 2 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Updated Documents (/5s)", | |
| "tooltip": { | |
| "shared": true, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "y_formats": [ | |
| "short", | |
| "short" | |
| ] | |
| } | |
| ], | |
| "title": "New row" | |
| }, | |
| { | |
| "collapse": false, | |
| "editable": true, | |
| "height": "250px", | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": null, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "leftLogBase": 1, | |
| "leftMax": null, | |
| "leftMin": null, | |
| "rightLogBase": 1, | |
| "rightMax": null, | |
| "rightMin": null, | |
| "threshold1": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": null, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 5, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 12, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "delta(mongodb_metrics_document_total{state=\"returned\"}[5s])", | |
| "intervalFactor": 2, | |
| "metric": "mongodb_metrics_document_total", | |
| "refId": "A", | |
| "step": 2 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Returned Documents (/5s)", | |
| "tooltip": { | |
| "shared": true, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "y_formats": [ | |
| "short", | |
| "short" | |
| ] | |
| } | |
| ], | |
| "title": "New row" | |
| }, | |
| { | |
| "collapse": false, | |
| "editable": true, | |
| "height": "250px", | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": null, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "leftLogBase": 1, | |
| "leftMax": null, | |
| "leftMin": null, | |
| "rightLogBase": 1, | |
| "rightMax": null, | |
| "rightMin": null, | |
| "threshold1": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": null, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 6, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 12, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "delta(mongodb_network_bytes_total[5s])", | |
| "intervalFactor": 2, | |
| "legendFormat": "", | |
| "metric": "mongodb_network_bytes_total", | |
| "refId": "A", | |
| "step": 2 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Network Bytes in/out (/5s)", | |
| "tooltip": { | |
| "shared": true, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "y_formats": [ | |
| "short", | |
| "short" | |
| ] | |
| } | |
| ], | |
| "title": "New row" | |
| }, | |
| { | |
| "collapse": false, | |
| "editable": true, | |
| "height": "250px", | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": null, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "leftLogBase": 1, | |
| "leftMax": null, | |
| "leftMin": null, | |
| "rightLogBase": 1, | |
| "rightMax": null, | |
| "rightMin": null, | |
| "threshold1": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": null, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 7, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 12, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "delta(mongodb_op_counters_total[5s])", | |
| "intervalFactor": 2, | |
| "legendFormat": "", | |
| "metric": "mongodb_op_counters_total", | |
| "refId": "A", | |
| "step": 2 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Operations (/5s)", | |
| "tooltip": { | |
| "shared": true, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "x-axis": true, | |
| "y-axis": true, | |
| "y_formats": [ | |
| "short", | |
| "short" | |
| ] | |
| } | |
| ], | |
| "title": "New row" | |
| } | |
| ], | |
| "time": { | |
| "from": "now-30m", | |
| "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" | |
| ] | |
| }, | |
| "templating": { | |
| "list": [] | |
| }, | |
| "annotations": { | |
| "list": [] | |
| }, | |
| "schemaVersion": 8, | |
| "version": 9, | |
| "links": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment