diff --git a/.github/workflows/standards.py b/.github/workflows/standards.py index a19d7d6..b0f785d 100644 --- a/.github/workflows/standards.py +++ b/.github/workflows/standards.py @@ -38,6 +38,7 @@ "aws-s3/aws-s3.json", "aws-ses/aws-ses.json", "aws-sns/aws-sns.json", + "aws-sqs/aws-sqs.json", ] standard_footer = " | \nAWS CloudWatch Transfer Family documentation | \nInstalled from Grafana.com dashboards" diff --git a/aws-sqs/aws-sqs.json b/aws-sqs/aws-sqs.json index 112ef5c..a647ae6 100644 --- a/aws-sqs/aws-sqs.json +++ b/aws-sqs/aws-sqs.json @@ -1,870 +1,908 @@ -{ - "__inputs": [], - "__requires": [ - { - "type": "datasource", - "id": "cloudwatch", - "name": "CloudWatch", - "version": "5.0.0" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "5.0.0" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "5.0.0" - }, - { - "type": "panel", - "id": "text", - "name": "Text", - "version": "5.0.0" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "Visualize AWS SQS metrics", - "editable": false, - "gnetId": 584, - "graphTooltip": 0, - "id": null, - "iteration": 1529069302464, - "links": [], - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${datasource}", - "editable": true, - "error": false, - "fill": 1, - "grid": {}, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 7, - "isNew": true, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "NumberOfMessagesDeleted", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "A", - "region": "$region", - "statistics": [ - "Average" - ] - }, - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "NumberOfMessagesReceived", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "B", - "region": "$region", - "statistics": [ - "Average" - ] - }, - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "NumberOfMessagesSent", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "C", - "region": "$region", - "statistics": [ - "Average" - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Messages", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": null, - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${datasource}", - "editable": true, - "error": false, - "fill": 1, - "grid": {}, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 1, - "isNew": true, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "ApproximateAgeOfOldestMessage", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "A", - "region": "$region", - "statistics": [ - "Average" - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "ApproximateAgeOfOldestMessage", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "s", - "label": null, - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${datasource}", - "editable": true, - "error": false, - "fill": 1, - "grid": {}, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 15 - }, - "id": 4, - "isNew": true, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "ApproximateNumberOfMessagesVisible", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "C", - "region": "$region", - "statistics": [ - "Average" - ] - }, - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "ApproximateNumberOfMessagesNotVisible", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "A", - "region": "$region", - "statistics": [ - "Average" - ] - }, - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "ApproximateNumberOfMessagesDelayed", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "B", - "region": "$region", - "statistics": [ - "Average" - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "ApproximateNumberOfMessages", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": null, - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${datasource}", - "editable": true, - "error": false, - "fill": 1, - "grid": {}, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 22 - }, - "id": 6, - "isNew": true, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "NumberOfEmptyReceives", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "A", - "region": "$region", - "statistics": [ - "Average" - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "NumberOfEmptyReceives", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": null, - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${datasource}", - "editable": true, - "error": false, - "fill": 1, - "grid": {}, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 29 - }, - "id": 10, - "isNew": true, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "", - "application": { - "filter": "" - }, - "dimensions": { - "QueueName": "$queue" - }, - "functions": [], - "group": { - "filter": "" - }, - "host": { - "filter": "" - }, - "item": { - "filter": "" - }, - "metricName": "SentMessageSize", - "mode": 0, - "namespace": "AWS/SQS", - "options": { - "showDisabledItems": false - }, - "period": "", - "refId": "A", - "region": "$region", - "statistics": [ - "Average" - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "SentMessageSize", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": null, - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "content": " | \nAWS CloudWatch SQS documentation | \nInstalled from Grafana.com dashboards\n", - "editable": true, - "error": false, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 36 - }, - "id": 2, - "isNew": true, - "links": [], - "mode": "html", - "title": "Documentation", - "type": "text" - } - ], - "refresh": false, - "schemaVersion": 16, - "style": "dark", - "tags": [ - "monitoringartist", - "cloudwatch" - ], - "templating": { - "list": [ - { - "current": {}, - "hide": 0, - "includeAll": false, - "label": "Datasource", - "multi": false, - "name": "datasource", - "options": [], - "query": "cloudwatch", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": null, - "current": {}, - "datasource": "${datasource}", - "hide": 0, - "includeAll": false, - "label": "Region", - "multi": false, - "name": "region", - "options": [], - "query": "regions()", - "refresh": 1, - "regex": "", - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": {}, - "datasource": "${datasource}", - "hide": 0, - "includeAll": false, - "label": "Queue name", - "multi": false, - "name": "queue", - "options": [], - "query": "dimension_values($region,AWS/SQS,NumberOfMessagesReceived,QueueName)", - "refresh": 1, - "regex": "", - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-24h", - "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 SQS", - "uid": "AWSSQS000", - "version": 1 -} +{ + "__inputs": [], + "__elements": {}, + "__requires": [ + { + "type": "datasource", + "id": "cloudwatch", + "name": "CloudWatch", + "version": "1.0.0" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "11.3.1" + }, + { + "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", + "type": "dashboard" + } + ] + }, + "description": "Visualize AWS SQS metrics", + "editable": false, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "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" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 7, + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.3.1", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "NumberOfMessagesDeleted", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "NumberOfMessagesReceived", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "B", + "region": "$region", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "NumberOfMessagesSent", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "C", + "region": "$region", + "statistic": "Average" + } + ], + "title": "Messages", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "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" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 8 + }, + "id": 1, + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.3.1", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "ApproximateAgeOfOldestMessage", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + } + ], + "title": "ApproximateAgeOfOldestMessage", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "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" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 15 + }, + "id": 4, + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.3.1", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "ApproximateNumberOfMessagesVisible", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "C", + "region": "$region", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "ApproximateNumberOfMessagesNotVisible", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + }, + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "ApproximateNumberOfMessagesDelayed", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "B", + "region": "$region", + "statistic": "Average" + } + ], + "title": "ApproximateNumberOfMessages", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "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" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 22 + }, + "id": 6, + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.3.1", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "NumberOfEmptyReceives", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + } + ], + "title": "NumberOfEmptyReceives", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "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" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 29 + }, + "id": 10, + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.3.1", + "targets": [ + { + "alias": "", + "application": { + "filter": "" + }, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "dimensions": { + "QueueName": "$queue" + }, + "functions": [], + "group": { + "filter": "" + }, + "host": { + "filter": "" + }, + "item": { + "filter": "" + }, + "label": "", + "metricEditorMode": 0, + "metricName": "SentMessageSize", + "metricQueryType": 0, + "mode": 0, + "namespace": "AWS/SQS", + "options": { + "showDisabledItems": false + }, + "period": "", + "refId": "A", + "region": "$region", + "statistic": "Average" + } + ], + "title": "SentMessageSize", + "type": "timeseries" + }, + { + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 36 + }, + "id": 2, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": " | \nAWS CloudWatch SQS documentation | \nInstalled from Grafana.com dashboards\n", + "mode": "html" + }, + "pluginVersion": "11.3.1", + "title": "Documentation", + "type": "text" + } + ], + "refresh": "", + "schemaVersion": 40, + "tags": [ + "monitoringartist", + "cloudwatch" + ], + "templating": { + "list": [ + { + "current": {}, + "includeAll": false, + "label": "Datasource", + "name": "datasource", + "options": [], + "query": "cloudwatch", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "current": {}, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "includeAll": false, + "label": "Region", + "name": "region", + "options": [], + "query": "regions()", + "refresh": 1, + "regex": "", + "type": "query" + }, + { + "current": {}, + "datasource": { + "type": "cloudwatch", + "uid": "$datasource" + }, + "includeAll": false, + "label": "QueueName", + "name": "queue", + "options": [], + "query": "dimension_values($region,AWS/SQS,NumberOfMessagesReceived,QueueName)", + "refresh": 1, + "regex": "", + "type": "query" + } + ] + }, + "time": { + "from": "now-24h", + "to": "now" + }, + "timepicker": {}, + "timezone": "browser", + "title": "AWS SQS", + "uid": "AWSSQS000", + "version": 2, + "weekStart": "" +} \ No newline at end of file diff --git a/aws-sqs/aws-sqs.png b/aws-sqs/aws-sqs.png index aab49b2..c0b13af 100644 Binary files a/aws-sqs/aws-sqs.png and b/aws-sqs/aws-sqs.png differ