Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - {
- "__inputs": [
- {
- "name": "DS_PROMETHEUS",
- "label": "Prometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "datasource",
- "id": "cloudwatch",
- "name": "CloudWatch",
- "version": "5.0.0"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.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 EC2 and related EBS metrics",
- "editable": false,
- "gnetId": 617,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1527183146074,
- "links": [],
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${datasource}",
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 7,
- "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": {
- "InstanceId": "$instanceid"
- },
- "functions": [],
- "group": {
- "filter": ""
- },
- "host": {
- "filter": ""
- },
- "item": {
- "filter": ""
- },
- "metricName": "CPUUtilization",
- "mode": 0,
- "namespace": "AWS/EC2",
- "options": {
- "showDisabledItems": false
- },
- "period": "",
- "refId": "A",
- "region": "$region",
- "statistics": [
- "Average"
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "CPUUtilization",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "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": 7
- },
- "id": 8,
- "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": {
- "InstanceId": "$instanceid"
- },
- "functions": [],
- "group": {
- "filter": ""
- },
- "host": {
- "filter": ""
- },
- "item": {
- "filter": ""
- },
- "metricName": "CPUCreditUsage",
- "mode": 0,
- "namespace": "AWS/EC2",
- "options": {
- "showDisabledItems": false
- },
- "period": "",
- "refId": "A",
- "region": "$region",
- "statistics": [
- "Average"
- ]
- },
- {
- "alias": "",
- "application": {
- "filter": ""
- },
- "dimensions": {
- "InstanceId": "$instanceid"
- },
- "functions": [],
- "group": {
- "filter": ""
- },
- "host": {
- "filter": ""
- },
- "item": {
- "filter": ""
- },
- "metricName": "CPUCreditBalance",
- "mode": 0,
- "namespace": "AWS/EC2",
- "options": {
- "showDisabledItems": false
- },
- "period": "",
- "refId": "B",
- "region": "$region",
- "statistics": [
- "Average"
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "CPUCredit",
- "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
- }
- },
- {
- "alert": {
- "alertRuleTags": {},
- "conditions": [
- {
- "evaluator": {
- "params": [
- 90
- ],
- "type": "gt"
- },
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "min"
- },
- "type": "query"
- }
- ],
- "executionErrorState": "alerting",
- "for": "0m",
- "frequency": "60s",
- "handler": 1,
- "message": "Disk Space Alert",
- "name": "Linux Nodes Disk Usage alert",
- "noDataState": "no_data",
- "notifications": []
- },
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_PROMETHEUS}",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 9
- },
- "hiddenSeries": false,
- "id": 1,
- "legend": {
- "avg": false,
- "current": true,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "paceLength": 10,
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "100.0 - 100 * ((node_filesystem_avail_bytes / 1000 / 1000 ) / (node_filesystem_size_bytes / 1024 / 1024))",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{instance}} - {{mountpoint}}",
- "refId": "A",
- "period": "",
- "dimensions": {
- "InstanceId": "$instanceid"
- }
- }
- ],
- "thresholds": [
- {
- "colorMode": "critical",
- "fill": true,
- "line": true,
- "op": "gt",
- "value": 90,
- "yaxis": "left"
- }
- ],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Linux Nodes Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "transparent": true,
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percent",
- "label": "",
- "logBase": 1,
- "max": "100",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "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": 42
- },
- "id": 13,
- "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": {
- "InstanceId": "$instanceid"
- },
- "functions": [],
- "group": {
- "filter": ""
- },
- "host": {
- "filter": ""
- },
- "item": {
- "filter": ""
- },
- "metricName": "StatusCheckFailed",
- "mode": 0,
- "namespace": "AWS/EC2",
- "options": {
- "showDisabledItems": false
- },
- "period": "",
- "refId": "A",
- "region": "$region",
- "statistics": [
- "Average"
- ]
- },
- {
- "alias": "",
- "application": {
- "filter": ""
- },
- "dimensions": {
- "InstanceId": "$instanceid"
- },
- "functions": [],
- "group": {
- "filter": ""
- },
- "host": {
- "filter": ""
- },
- "item": {
- "filter": ""
- },
- "metricName": "StatusCheckFailed_Instance",
- "mode": 0,
- "namespace": "AWS/EC2",
- "options": {
- "showDisabledItems": false
- },
- "period": "",
- "refId": "B",
- "region": "$region",
- "statistics": [
- "Average"
- ]
- },
- {
- "alias": "",
- "application": {
- "filter": ""
- },
- "dimensions": {
- "InstanceId": "$instanceid"
- },
- "functions": [],
- "group": {
- "filter": ""
- },
- "host": {
- "filter": ""
- },
- "item": {
- "filter": ""
- },
- "metricName": "StatusCheckFailed_System",
- "mode": 0,
- "namespace": "AWS/EC2",
- "options": {
- "showDisabledItems": false
- },
- "period": "",
- "refId": "C",
- "region": "$region",
- "statistics": [
- "Average"
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "StatusCheck",
- "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": 84
- },
- "id": 19,
- "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": [
- {
- "alias": "VolumeIdleTime_Average",
- "yaxis": 2
- },
- {
- "alias": "VolumeConsumedReadWriteOps_Average",
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "",
- "application": {
- "filter": ""
- },
- "dimensions": {
- "VolumeId": "$volumeid"
- },
- "functions": [],
- "group": {
- "filter": ""
- },
- "host": {
- "filter": ""
- },
- "item": {
- "filter": ""
- },
- "metricName": "BurstBalance",
- "mode": 0,
- "namespace": "AWS/EBS",
- "options": {
- "showDisabledItems": false
- },
- "period": "",
- "refId": "A",
- "region": "$region",
- "statistics": [
- "Average"
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "EBS BurstBalance",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "percent",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "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": "${DS_PROMETHEUS}",
- "hide": 0,
- "includeAll": false,
- "label": "Node:",
- "multi": false,
- "name": "node",
- "options": [],
- "query": "label_values(node_boot_time_seconds, instance)",
- "refresh": 1,
- "regex": "/([^:]+):.*/",
- "sort": 0,
- "tagValuesQuery": "",
- tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "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": "*",
- "current": {},
- "datasource": "${datasource}",
- "hide": 0,
- "includeAll": true,
- "label": "Tag Name",
- "multi": false,
- "name": "instancename",
- "options": [],
- "query": "ec2_instance_attribute($region, Tags.Name, {})",
- "refresh": 1,
- "regex": "",
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": null,
- "current": {},
- "datasource": "${datasource}",
- "hide": 0,
- "includeAll": false,
- "label": "Instance ID",
- "multi": false,
- "name": "instanceid",
- "options": [],
- "query": "ec2_instance_attribute($region, InstanceId, {\"tag:Name\": [\"$instancename\"]})",
- "refresh": 1,
- "regex": "",
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": "*",
- "current": {},
- "datasource": "${datasource}",
- "hide": 0,
- "includeAll": false,
- "label": "EBS volume",
- "multi": false,
- "name": "volumeid",
- "options": [],
- "query": "ebs_volume_ids($region, $instanceid)",
- "refresh": 1,
- "regex": "",
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": "*",
- "current": {},
- "datasource": "${datasource}",
- "hide": 0,
- "includeAll": false,
- "label": "Info InstanceType",
- "multi": false,
- "name": "instancetype",
- "options": [],
- "query": "ec2_instance_attribute($region,InstanceType, {\"instance-id\": [\"$instanceid\"]})",
- "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 EC2",
- "uid": "AWSEC2",
- "version": 1
- }
                    Add Comment                
                
                        Please, Sign In to add comment                    
                 
                    