Skip to main content

Metric



Resource Icon

Resource Overview

An AWS CloudWatch Metric is a name-value pair that represents a measurement collected from a monitored resource. For example, measurements such as CPU utilization and network input and output can be collected from EC2 instances. These measurements are stored as CloudWatch Metrics and are used for dashboards, alarms, and analysis. You can also create custom metrics to monitor data collected from applications and services. CloudWatch Metrics are integrated with a wide range of AWS services.

Associated Resources

Parent Resources

Connected Resources


Resource Configuration

Basic Settings

  • comparison_operator : Comparison operator used to compare metric values with thresholds - GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold, LessThanLowerOrGreaterThanUpperThreshold, LessThanLowerThreshold
  • evaluation_periods : Number of evaluation periods over which the metric is compared to the threshold
  • metric_name : Name of the CloudWatch metric associated with the alarm
  • namespace : Namespace of the CloudWatch metric associated with the alarm
  • period : Period (in seconds) over which the metric is aggregated
  • statistic : Statistical method applied to the metric - Average, SampleCount, Sum, Minimum, Maximum
  • threshold : Threshold value that triggers the alarm
  • alarm_description : Description of the alarm
  • linked_sns_names : List of SNS Topics associated for use with the metric
  • alarm_sns_names : List of SNS Topics to notify when the metric breaches the threshold
  • ok_sns_names : List of SNS Topics to notify when the metric returns to a normal state
  • insufficient_data_sns_names : List of SNS Topics to notify when the metric is in an insufficient data state

Tags

  • tag : List of tags used to categorize resources

References