Grafana dashboard: Amazon RDS OS Metrics
Description: Visualize OS metrics for Amazon RDS instance


{
  "__inputs": [
    {
      "name": "DS_CLOUDWATCH",
      "label": "CloudWatch",
      "description": "",
      "type": "datasource",
      "pluginId": "cloudwatch",
      "pluginName": "CloudWatch"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "3.1.1"
    },
    {
      "type": "datasource",
      "id": "cloudwatch",
      "name": "CloudWatch",
      "version": "1.0.0"
    }
  ],
  "id": null,
  "title": "Amazon RDS OS Metrics",
  "tags": [
    "Percona",
    "Cloud "
  ],
  "style": "dark",
  "timezone": "browser",
  "editable": true,
  "hideControls": true,
  "sharedCrosshair": true,
  "rows": [
    {
      "collapse": false,
      "editable": true,
      "height": "100px",
      "panels": [
        {
          "content": "# Cost\n\nAmazon provides 1 million CloudWatch API requests each month at no additional charge. Past this, it costs $0.01 per 1,000 requests. This dashboard does 15 requests on each refresh.",
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "id": 12,
          "isNew": true,
          "links": [],
          "mode": "markdown",
          "span": 12,
          "title": "",
          "transparent": true,
          "type": "text"
        }
      ],
      "showTitle": false,
      "title": "Cost"
    },
    {
      "collapse": false,
      "editable": true,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {
            "CPU": "#E24D42"
          },
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 2,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "CPU",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "CPUUtilization",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "CPU Utilization",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {
            "Credits Accumulated": "#447EBC",
            "Credits Consumed": "#E0752D"
          },
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 11,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Credits Accumulated",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "CPUCreditBalance",
              "namespace": "AWS/RDS",
              "period": "300",
              "refId": "B",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            },
            {
              "alias": "Credits Consumed",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "CPUCreditUsage",
              "namespace": "AWS/RDS",
              "period": "300",
              "refId": "C",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "CPU Credit Usage",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "title": "Row"
    },
    {
      "collapse": false,
      "editable": true,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 4,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Read",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "ReadIOPS",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            },
            {
              "alias": "Write",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "WriteIOPS",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "B",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk Operations",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "iops",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 3,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Read",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "ReadLatency",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            },
            {
              "alias": "Write",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "WriteLatency",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "B",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk Latency",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "s",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "title": "New row"
    },
    {
      "collapse": false,
      "editable": true,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {
            "Outstanding IO Requests": "#BA43A9"
          },
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 5,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Outstanding IO Requests",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "DiskQueueDepth",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk Queue Depth",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 6,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Read",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "ReadThroughput",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            },
            {
              "alias": "Write",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "WriteThroughput",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "B",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk Throughput",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "Bps",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "title": "New row"
    },
    {
      "collapse": false,
      "editable": true,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 7,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Available",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "FreeableMemory",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Memory",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "bytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 8,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Available",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "FreeStorageSpace",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Storage Space",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "bytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "title": "New row"
    },
    {
      "collapse": false,
      "editable": true,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {
            "Used": "#EF843C"
          },
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 9,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Used",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "SwapUsage",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Swap Usage",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "bytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "fill": 2,
          "grid": {
            "threshold1": null,
            "threshold1Color": "rgba(216, 200, 27, 0.27)",
            "threshold2": null,
            "threshold2Color": "rgba(234, 112, 112, 0.22)"
          },
          "id": 10,
          "isNew": true,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "Inbound",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "NetworkReceiveThroughput",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "A",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            },
            {
              "alias": "Outbound",
              "dimensions": {
                "DBInstanceIdentifier": "$instance"
              },
              "expr": "",
              "intervalFactor": 2,
              "metricName": "NetworkTransmitThroughput",
              "namespace": "AWS/RDS",
              "period": "60",
              "refId": "B",
              "region": "$region",
              "statistics": [
                "Average"
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Network Traffic",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "show": true
          },
          "yaxes": [
            {
              "format": "Bps",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "title": "New row"
    },
    {
      "collapse": true,
      "editable": true,
      "height": "250px",
      "panels": [
        {
          "content": "# Setup\n\nAdd CloudWatch datasource to Grafana with the name `CloudWatch`.\n\nCreate IAM user and attach the managed policy `CloudWatchReadOnlyAccess`. Then put the credentials in the file `~grafana/.aws/credentials`:\n```\n[default]\naws_access_key_id = youraccesskeyid\naws_secret_access_key = yoursecretaccesskey\n```",
          "datasource": "${DS_CLOUDWATCH}",
          "editable": true,
          "error": false,
          "id": 13,
          "isNew": true,
          "links": [],
          "mode": "markdown",
          "span": 12,
          "title": "",
          "type": "text"
        }
      ],
      "showTitle": true,
      "title": "Help"
    }
  ],
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "1m",
      "5m",
      "15m",
      "30m",
      "1h"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": "${DS_CLOUDWATCH}",
        "hide": 0,
        "includeAll": false,
        "label": "Region",
        "multi": false,
        "name": "region",
        "options": [],
        "query": "regions()",
        "refresh": 1,
        "type": "query"
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "${DS_CLOUDWATCH}",
        "hide": 0,
        "includeAll": false,
        "label": "DB Instance",
        "multi": false,
        "name": "instance",
        "options": [],
        "query": "dimension_values($region,AWS/RDS,CPUUtilization,DBInstanceIdentifier)",
        "refresh": 1,
        "regex": "",
        "type": "query"
      }
    ]
  },
  "annotations": {
    "list": []
  },
  "schemaVersion": 12,
  "version": 3,
  "links": [],
  "gnetId": 10293,
  "description": "Visualize OS metrics for Amazon RDS instance"
}