Metrics
In this article:
Metrics#
Metrics – time-ordered sets of cloud resource parameter values.
Metric description#
Metrics have the following parameters:
Namespace.
Metric name.
Dimensions.
Namespace#
Each metric belongs to a certain Namespace. The namespace indicates the type of resource whose parameters are described by the relevant metrics. For example, metrics from the AWS/EC2 namespace allow you to track the values of instance parameters (CPU utilization, number of read/write operations for all volumes, etc.) and the average value of these parameters for all instances in an Auto Scaling group.
Metric names in the AWS/EC2 namespace#
CPUUtilization |
Processor load |
MemoryUtilization 1 |
RAM utilization |
DiskReadBytes |
Number of bytes read from all volumes attached to the instance |
DiskWriteBytes |
Number of bytes written to all volumes attached to the instance |
DiskReadOps |
Number of reading operations for all volumes attached to the instance |
DiskWriteOps |
Number of writing operations for all volumes attached to the instance |
NetworkOut |
Number of bytes sent across all network interfaces of the instance |
NetworkIn |
Number of bytes received across all network interfaces of the instance |
NetworkPacketsOut |
Number of packets sent across all network interfaces of the instance |
NetworkPacketsIn |
Number of packets received across all network interfaces of the instance |
- 1
To control RAM utilization, RAM monitoring should be enabled on the instance and CloudWatch agent should be installed (see for details).
Metric names in the AWS/EBS namespace#
VolumeReadBytes |
Number of bytes read from the given virtual volume |
VolumeWriteBytes |
Number of bytes written to the given virtual volume |
VolumeReadOps |
Number of completed read operations for the given virtual volume |
VolumeWriteOps |
Number of completed write operations for the given virtual volume |
Metric names in the AWS/S3 namespace#
BucketSizeBytes |
Amount of data stored in the bucket, bytes |
NumberOfObjects |
Total number of objects in the bucket |
Measurement#
Dimension is a key-value pair used for the identification of a specific metric. For example, the dimension could be the ID of a specific resource (instance, volume or Auto Scaling group ID, or bucket name, depending on the selected namespace). For example, for an instance metric from the AWS/EC2 namespace, the respective measurement is specified as a pair {"InstanceID": [<ID of an instance>]}
, where the value is a list of one element – the ID of an instance whose data is stored in the metric.
Monitored metrics#
The list of all monitored metrics can be found in the Metrics subsection of the Monitoring section.
Note
The resource statistics is displayed in the Metrics subsection if at least one measurement was performed for it during the previous week (i.e., there is at least one measurement point).
The following parameters are shown for each metric:
ID – the ID of the entity for which the metric is being measured.
Metric name – the parameter being measured.
Clicking on an entity ID opens the corresponding resource page, while clicking on a metric name opens the metrics page.
Information on a metrics#
There is an interactive graph on the metric page. You can change the period and statistics applied to this period. This allows you to evaluate the dynamics of metric change and adjust the alarm parameters accordingly.
Metric values can be viewed for both preset and custom time interval. In the latter case, select сustom
in the Period field and specify its boundaries in the form that opens. If you do not have the Auto-refresh flag set, then click Refresh to update the data.
The Create alarm for metric button allows you to create an alarm for a specific metric without switching to the Alarms subsection. How to create an alarm, see the alarm documentation.