Subscribed unsubscribe Subscribe Subscribe

AWS Integration - EC2

Mackerel supports obtaining and monitoring Amazon Elastic Compute Cloud (Amazon EC2) metrics in AWS Integration.

Please refer to the following page for AWS Integration configuration methods and a list of supported AWS services.
AWS Integration

Obtaining metrics

The metrics obtainable with AWS Integration’s EC2 support are as follows. For Metric explanations, refer to the AWS help page.

Graph name Metric Metric name in Mackerel Unit Statistics
CPU CPUUtilization ec2.cpu.used percentage Average
CPU Credit CPUCreditUsage
CPUCreditBalance
ec2.cpu_credit.used
ec2.cpu_credit.balance
integer Average
Disk OPS DiskReadOps
DiskWriteOps
ec2.disk_ops.read
ec2.disk_ops.write
integer Average
Disk IO DiskReadBytes
DiskWriteBytes
ec2.disk_io.read
ec2.disk_io.write
bytes Average
Network Traffic NetworkIn
NetworkOut
ec2.network.in
ec2.network.out
bytes Average
Network Packets NetworkPacketsIn
NetworkPacketsOut
ec2.network_packets.in
ec2.network_packets.out
integer Average
Status Check Failed StatusCheckFailed_Instance
StatusCheckFailed_Instance
StatusCheckFailed
ec2.status_check_failed.instance
ec2.status_check_failed.system
ec2.status_check_failed.total
integer Average

Precautions

Among the graphs/metrics obtainable with AWS Integration, metrics included in the following graph are usually obtained in 5 minute intervals.

  • CPU
  • CPU Credit
  • Disk OPS
  • Disk IO
  • Network Traffic
  • Network Packets
  • Status Check Failed

This is specified by the AWS CloudWatch API.

When creating monitoring rules for metrics with a 5-minute interval, the “condition duration” can only be configured for “monitoring an average value of 1 minute” (if any other value is selected, monitoring will not be done due to insufficient data points necessary for calculating the average value).

In addition, if this granularity is continually used, Mackerel metrics will be rounded to NULL as a result of the ratio of valid data points, and will not be displayed in graphs. (For more information on Mackerel’s metric retention granularity, please refer to the Mackerel Overview - Metric Retention)

If you would like to check metric data from Mackerel retroactively past 25 hours, please use the separate AWS EC2 Detail Monitoring (* an AWS paid option). With Detail Monitoring, metrics obtainable by the AWS CloudWatch API will also have an interval of 1 minute and will be saved even when rounded and 25 hours or more has passed.