Created
November 4, 2020 19:24
-
-
Save christineywang/d015f03716be68a71efda18392287d44 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"id": 22, | |
"links": [], | |
"panels": [ | |
{ | |
"datasource": "MongoDb", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "buildEnvironment.cc" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 181 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "buildEnvironment.ccflags" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 194 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "buildEnvironment.target_os" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 571 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "buildEnvironment.target_arch" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 484 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "buildEnvironment.distmod" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 195 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "version" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 382 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 20, | |
"options": { | |
"showHeader": true, | |
"sortBy": [] | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.buildInfo({\"version\": 1, \"buildEnvironment.target_os\": 1, \"buildEnvironment.target_arch\": 1})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Build Info", | |
"type": "table" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "metrics.atlas.connectionPool.totalCreated" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 346 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "metrics.atlas.bytesInWrites" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 270 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 7, | |
"x": 0, | |
"y": 3 | |
}, | |
"id": 16, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.serverStatus({metrics: 1})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Server Status - Atlas Metrics", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "$clusterTime.signature.keyId" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 179 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 17, | |
"x": 7, | |
"y": 3 | |
}, | |
"id": 12, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.serverStatus({network: 1})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Server Status - Network", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 11, | |
"x": 0, | |
"y": 8 | |
}, | |
"id": 8, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.serverStatus({connections: 1})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Server Status - Connections", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 13, | |
"x": 11, | |
"y": 8 | |
}, | |
"id": 10, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.serverStatus({mem: 1})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Server Status - Memory", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 8, | |
"x": 0, | |
"y": 13 | |
}, | |
"id": 2, | |
"options": { | |
"showHeader": true | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.connectionStatus({\"authInfo.authenticatedUserRoles\": 1})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Connection Status - Authenticated User Roles", | |
"type": "table" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 8, | |
"x": 8, | |
"y": 13 | |
}, | |
"id": 6, | |
"options": { | |
"showHeader": true | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.connectionStatus({\"authInfo.authenticatedUsers\": 1})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Connection Status - Authenticated Users", | |
"type": "table" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "repl.hosts" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 363 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "repl.lastWrite.majorityOpTime.t" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 246 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "repl.lastWrite.majorityOpTime.ts" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 225 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "repl.lastWrite.opTime.t" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 202 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "repl.lastWrite.lastWriteDate" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 269 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 8, | |
"x": 16, | |
"y": 13 | |
}, | |
"id": 14, | |
"options": { | |
"showHeader": true, | |
"sortBy": [] | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.serverStatus({\"repl.lastWrite.lastWriteDate\": 1, \"repl.lastWrite.opTime.t\": 1})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Server Status - Replication Write", | |
"type": "table" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "electionCandidateMetrics.lastSeenOpTimeAtElection.t" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 359 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "optimes.appliedOpTime.t" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 234 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "electionCandidateMetrics.lastElectionDate" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 291 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "electionCandidateMetrics.electionTimeoutMillis" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 388 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "electionCandidateMetrics.electionTerm" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 332 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "electionCandidateMetrics.lastCommittedOpTimeAtElection.t" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 428 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 24, | |
"x": 0, | |
"y": 18 | |
}, | |
"id": 18, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "admin.connPoolStats({arg: \"pools\"})", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Connection Pool Stats - Pools", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "MongoDb", | |
"fieldConfig": { | |
"defaults": { | |
"custom": {}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 5, | |
"w": 24, | |
"x": 0, | |
"y": 23 | |
}, | |
"id": 4, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.3.0", | |
"targets": [ | |
{ | |
"query": "sample_mflix.stats()", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "MFlix Database Stats", | |
"type": "stat" | |
} | |
], | |
"schemaVersion": 26, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-6h", | |
"to": "now" | |
}, | |
"timepicker": {}, | |
"timezone": "", | |
"title": "Mongo Diagnostics", | |
"uid": "7GK3sacGz", | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment