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 |
Metric names in the AWS/Backup namespace#
NumberOfBackupJobsCreated |
Number of backup jobs in the |
NumberOfBackupJobsRunning |
Number of backup jobs in the |
NumberOfBackupJobsAborted |
Number of backup jobs in the |
NumberOfBackupJobsCompleted |
Number of backup jobs in the |
NumberOfBackupJobsFailed |
Number of backup jobs in the |
NumberOfBackupJobsExpired |
Number of backup jobs in the |
NumberOfRecoveryPointsCompleted |
Number of recovery points in the |
NumberOfRecoveryPointsDeleting |
Number of recovery points in the |
Metric names in the AWS/DX namespace#
VirtualInterfaceBpsEgress |
Egress traffic rate, bits per second |
VirtualInterfaceBpsIngress |
Ingress traffic rate, bits per second |
VirtualInterfacePpsEgress |
Egress traffic rate, packets per second |
VirtualInterfacePpsIngress |
Ingress traffic rate, packets per second |
BGPSessionState 2 |
BGP session state |
BFDSessionState 2 |
BFD session state |
AcceptedRoutes 2 |
Number of accepted routes |
Dimension#
Dimension is a key-value pair used for the identification of a specific metric in API requests. For example, the dimension could be the ID of a specific resource (instance, volume, Auto Scaling group ID, bucket name, protected instance or volume, Direct Connect virtual interface or connection, depending on the selected namespace). For example, for an instance metric from the AWS/EC2 namespace, the respective dimension 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.
Namespace |
Supported dimensions |
---|---|
AWS/EC2 |
AutoScalingGroupName, InstanceId |
AWS/EBS |
VolumeId |
AWS/S3 |
BucketId |
AWS/Backup |
ResourceId 3 |
AWS/DX |
ConnectionId, VirtualInterfaceId |
- 3
For the project metrics in the AWS/Backup namespace, no dimension is specified.
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#
You can view an interactive graph on the metric page. You can set the period the metric graph coverrs, statistics, and metric calculation interval. This allows you to evaluate the metric change over time and fine-tune the alarm parameters.
The metric graph can be viewed for a preset or custom period. For the latter, select the custom
option in the Period selector and set the period in the date and time fields. You can also change the statistics calculation interval. To set a custom value, select the interval
value in the Statistics for selector, set the interval in the field, and click Apply. The minimum interval cannot be less than the preset value for the selected period, and the maximum one cannot be more than the selected period.
When Auto-refresh is enabled, the metric graph is refreshed automatically. Automatic refresh is not available, when a custom period and/or interval is selected. If Auto-refresh is disabled or hidden, click Refresh to refresh the graph.
For the AWS/EBS namespace metrics, you can plot a straight line with the maximum possible value of the metric. To do so, enable Show limit.
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.