diff --git a/README.md b/README.md index 23583e3..351c829 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ grafana_host="http://localhost:3000" grafana_cred="admin:admin" # Keep grafana_folder empty for adding the dashboards in "General" folder grafana_folder="AWS CloudWatch" -ds=(1516 677 139 674 590 659 758 623 617 551 653 969 650 644 607 593 707 575 1519 581 584 2969 8050 11099 11154 11155 12979 13018 13040 13104 13892 14189 14391 14392 14954 14955 15016 16899 17741 17978); +ds=(1516 677 139 674 590 659 758 623 617 551 653 969 650 644 607 593 707 575 1519 581 584 2969 8050 11099 11154 11155 12979 13018 13040 13104 13892 14189 14391 14392 14954 14955 15016 16899 17741 17978 20007); folderId=$(curl -s -k -u "$grafana_cred" $grafana_host/api/folders | jq -r --arg grafana_folder "$grafana_folder" '.[] | select(.title==$grafana_folder).id') if [ -z "$folderId" ] ; then echo "Didn't get folderId" ; else echo "Got folderId $folderId" ; fi for d in "${ds[@]}"; do @@ -158,6 +158,9 @@ Single click provisioning [![Gitpod ready-to-test](https://img.shields.io/badge/ ### [AWS Eventbridge](https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/tree/master/aws-eventbridge) [![AWS Eventbridge](aws-eventbridge/aws-eventbridge.png)](https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/tree/master/aws-eventbridge) +### [AWS FSx](https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/tree/master/aws-fsx) +[![AWS FSx](aws-fsx/aws-fsx.png)](https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/tree/master/aws-fsx) + ### [AWS Inspector](https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/tree/master/aws-inspector) [![AWS Inspector](aws-inspector/aws-inspector.png)](https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/tree/master/aws-inspector) diff --git a/aws-fsx/aws-fsx.json b/aws-fsx/aws-fsx.json new file mode 100644 index 0000000..67bd107 --- /dev/null +++ b/aws-fsx/aws-fsx.json @@ -0,0 +1,2250 @@ +{ + "__inputs": [], + "__elements": {}, + "__requires": [ + { + "type": "datasource", + "id": "cloudwatch", + "name": "CloudWatch", + "version": "1.0.0" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "10.1.5" + }, + { + "type": "panel", + "id": "text", + "name": "Text", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "Visualize AWS FSx metrics", + "editable": true, + "fiscalYearStartMonth": 0, + "gnetId": 707, + "graphTooltip": 0, + "id": null, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*DeduplicationSavedStorage/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 22, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "FreeStorageCapacity", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DeduplicationSavedStorage", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "FreeStorageCapacity/DeduplicationSavedStorage", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*MemoryUtilization/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 24, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "CPUUtilization", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "MemoryUtilization", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "CPUUtilization/MemoryUtilization", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*FileServerDiskIopsUtilization/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 14 + }, + "id": 26, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "StorageCapacityUtilization", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "FileServerDiskIopsUtilization", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "StorageCapacityUtilization/FileServerDiskIopsUtilization", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*FileServerDiskThroughputUtilization/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 23, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "NetworkThroughputUtilization", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "FileServerDiskThroughputUtilization", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "NetworkThroughputUtilization/FileServerDiskThroughputUtilization", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*MetadataOperations/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 28 + }, + "id": 20, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "ClientConnections", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "MetadataOperations", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "ClientConnections/MetadataOperations", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*FileServerDiskThroughputBalance/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 35 + }, + "id": 27, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "FileServerDiskIopsBalance", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "FileServerDiskThroughputBalance", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "FileServerDiskIopsBalance/FileServerDiskThroughputBalance", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*DiskIopsUtilization/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 42 + }, + "id": 25, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DiskThroughputUtilization", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DiskIopsUtilization", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "DiskThroughputUtilization/DiskIopsUtilization", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*DiskWriteBytes/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 49 + }, + "id": 16, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DiskReadBytes", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DiskWriteBytes", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "DiskReadBytes/DiskWriteBytes", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "iops" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*DiskWriteOperations/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 56 + }, + "id": 21, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DiskReadOperations", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DiskWriteOperations", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "DiskReadOperations/DiskWriteOperations", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*DataWriteBytes/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 63 + }, + "id": 28, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DataReadBytes", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DataWriteBytes", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "DataReadBytes/DataWriteBytes", + "type": "timeseries" + }, + { + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "iops" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*DataWriteOperations/" + }, + "properties": [ + { + "id": "custom.axisPlacement", + "value": "right" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 70 + }, + "id": 17, + "links": [], + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.2.19", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DataReadOperations", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "A", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "FileSystemId": "$filesystemid" + }, + "expression": "", + "functions": [], + "group": { + "filter": "" + }, + "hide": false, + "host": { + "filter": "" + }, + "id": "", + "item": { + "filter": "" + }, + "label": "", + "matchExact": true, + "metricEditorMode": 0, + "metricName": "DataWriteOperations", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/FSx", + "options": { + "showDisabledItems": false + }, + "period": "", + "queryMode": "Metrics", + "refId": "B", + "region": "$region", + "sqlExpression": "", + "statistic": "Sum" + } + ], + "title": "DataReadOperations/DataWriteOperations", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "editable": false, + "error": false, + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 77 + }, + "id": 2, + "links": [], + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": " | \nAWS CloudWatch FSx documentation | \nInstalled from Grafana.com dashboards", + "mode": "html" + }, + "pluginVersion": "10.1.5", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "refId": "A" + } + ], + "title": "Documentation", + "type": "text" + } + ], + "refresh": "", + "schemaVersion": 38, + "style": "dark", + "tags": [ + "monitoringartist", + "cloudwatch" + ], + "templating": { + "list": [ + { + "current": {}, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "cloudwatch", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": {}, + "datasource": { + "uid": "$datasource" + }, + "definition": "", + "hide": 0, + "includeAll": false, + "label": "Region", + "multi": false, + "name": "region", + "options": [], + "query": "regions()", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": "*", + "current": {}, + "datasource": { + "uid": "$datasource" + }, + "definition": "", + "hide": 0, + "includeAll": true, + "label": "FileSystemId", + "multi": false, + "name": "filesystemid", + "options": [], + "query": { + "attributeName": "", + "dimensionFilters": {}, + "dimensionKey": "FileSystemId", + "ec2Filters": {}, + "instanceID": "", + "metricName": "CPUUtilization", + "namespace": "AWS/FSx", + "queryType": "dimensionValues", + "refId": "CloudWatchVariableQueryEditor-VariableQuery", + "region": "$region", + "resourceType": "", + "tags": {} + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "browser", + "title": "AWS FSx", + "uid": "AWSFSxaaa", + "version": 1, + "weekStart": "" +} \ No newline at end of file diff --git a/aws-fsx/aws-fsx.png b/aws-fsx/aws-fsx.png new file mode 100644 index 0000000..e33bb36 Binary files /dev/null and b/aws-fsx/aws-fsx.png differ diff --git a/dashboards.libsonnet b/dashboards.libsonnet index 77593c2..7d8f5b1 100644 --- a/dashboards.libsonnet +++ b/dashboards.libsonnet @@ -22,6 +22,7 @@ 'aws-elb-classic-lb.json': (import 'aws-elb/aws-elb-classic-lb.json'), 'aws-emr-hadoop-2.json': (import 'aws-emr/aws-emr-hadoop-2.json'), 'aws-eventbridge.json': (import 'aws-eventbridge/aws-eventbridge.json'), + 'aws-fsx.json': (import 'aws-fsx/aws-fsx.json'), 'aws-inspector.json': (import 'aws-inspector/aws-inspector.json'), 'aws-kinesis.json': (import 'aws-kinesis/aws-kinesis.json'), 'aws-lambda.json': (import 'aws-lambda/aws-lambda.json'),