Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-13545 Add improvements after initial feedback #1647

Merged
merged 3 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
191 changes: 102 additions & 89 deletions dashboards/MongoDB/MongoDB_Cluster_Summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [
{
"icon": "doc",
Expand Down Expand Up @@ -985,7 +984,9 @@
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
Expand Down Expand Up @@ -1095,11 +1096,13 @@
},
{
"editorMode": "code",
"exemplar": false,
"expr": "topk (5,sum by (environment, cluster,database,collection) ((rate(mongodb_top_queries_count{environment=~\"$environment\", cluster=~\"$cluster\", rs_nm=~\"$set\", service_name=~\"$service_name\"})[$interval]) or irate(mongodb_top_queries_count{environment=~\"$environment\", cluster=~\"$cluster\", rs_nm=~\"$set\", service_name=~\"$service_name\"})[5s]))",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{database}}.{{collection}}",
"range": true,
"range": false,
"refId": "A"
}
],
Expand Down Expand Up @@ -1182,7 +1185,9 @@
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
Expand Down Expand Up @@ -1264,10 +1269,12 @@
},
{
"editorMode": "code",
"exemplar": false,
"expr": "topk (5,sum by (environment,cluster,database,collection) ((rate(mongodb_top_insert_count{environment=~\"$environment\", cluster=~\"$cluster\", rs_nm=~\"$set\", service_name=~\"$service_name\"}+mongodb_top_remove_count{environment=~\"$environment\", cluster=~\"$cluster\", rs_nm=~\"$set\", service_name=~\"$service_name\"}+mongodb_top_update_count{environment=~\"$environment\", cluster=~\"$cluster\", rs_nm=~\"$set\", service_name=~\"$service_name\"})[$interval]) or irate(mongodb_top_insert_count{environment=~\"$environment\", cluster=~\"$cluster\", rs_nm=~\"$set\", service_name=~\"$service_name\"}+mongodb_top_remove_count{environment=~\"$environment\", cluster=~\"$cluster\", rs_nm=~\"$set\", service_name=~\"$service_name\"}+mongodb_top_update_count{environment=~\"$environment\", cluster=~\"$cluster\", rs_nm=~\"$set\", service_name=~\"$service_name\"})[5m]))",
"hide": false,
"instant": true,
"legendFormat": "{{database}}.{{collection}}",
"range": true,
"range": false,
"refId": "B"
}
],
Expand Down Expand Up @@ -1356,7 +1363,9 @@
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
Expand Down Expand Up @@ -2179,6 +2188,7 @@
"text": "SECONDARY"
},
"3": {
"color": "semi-dark-red",
"index": 10,
"text": "RECOVERING"
},
Expand Down Expand Up @@ -2712,7 +2722,9 @@
],
"displayMode": "table",
"placement": "right",
"showLegend": true
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
Expand Down Expand Up @@ -2813,7 +2825,9 @@
],
"displayMode": "table",
"placement": "right",
"showLegend": true
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
Expand Down Expand Up @@ -3342,7 +3356,9 @@
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
Expand Down Expand Up @@ -3444,7 +3460,9 @@
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
Expand All @@ -3468,60 +3486,92 @@
"type": "timeseries"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"decimals": 2,
"description": "Shows the average hourly oplog data written to cache by the Primary server.",
"editable": true,
"error": false,
"fill": 2,
"fillGradient": 0,
"grid": {
"leftLogBase": 1,
"leftMin": 0,
"rightLogBase": 1
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"w": 6,
"x": 0,
"y": 143
},
"hiddenSeries": false,
"id": 1299,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.2.20",
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "service_name",
"repeatDirection": "h",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": "Metrics",
Expand All @@ -3534,45 +3584,8 @@
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Oplog GB/Hour - $service_name",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 5,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"y-axis": true,
"y_formats": [
"ms",
"short"
],
"yaxes": [
{
"decimals": 2,
"format": "bytes",
"label": "",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
"type": "timeseries"
}
],
"refresh": false,
Expand Down
Loading
Loading