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 types of resources whose parameters are described by the relevant metrics. Some namespaces contain different sets of metrics for different types of resources. 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. Moreover, these metrics help control the amount of traffic at an Internet gateway or Elastic IP address.

Metric names#

Metric names in the AWS/EC2 namespace#

Metrics

Description

Resource type

CPUUtilization

Processor load

Instance, Auto Scaling group

MemoryUtilization 1

RAM utilization

Instance, Auto Scaling group

DiskReadBytes

Number of bytes read from all volumes attached to the instance

Instance, Auto Scaling group

DiskWriteBytes

Number of bytes written to all volumes attached to the instance

Instance, Auto Scaling group

DiskReadOps

Number of reading operations for all volumes attached to the instance

Instance, Auto Scaling group

DiskWriteOps

Number of writing operations for all volumes attached to the instance

Instance, Auto Scaling group

NetworkOut

Number of bytes sent across all network interfaces of the instance

Instance, Auto Scaling group

NetworkIn

Number of bytes received across all network interfaces of the instance

Instance, Auto Scaling group

NetworkPacketsOut

Number of packets sent across all network interfaces of the instance

Instance, Auto Scaling group

NetworkPacketsIn

Number of packets received across all network interfaces of the instance

Instance, Auto Scaling group

InternetTrafficOut 2 3

Number of bytes transferred through the cloud’s public interfaces

Internet gateway, Elastic IP

InternetTrafficIn 2

Number of bytes recieved through the cloud’s public interfaces

Internet gateway, Elastic IP

BilledInternetTrafficOut 2 3

The billable number of bytes transferred through the cloud’s public interfaces

Internet gateway, Elastic IP

BilledInternetTrafficIn 2

The billable number of bytes received through the cloud’s public interfaces

Internet gateway, Elastic IP

1

To control RAM utilization, RAM monitoring should be enabled on the instance and CloudWatch agent should be installed (see for details).

2(1,2,3,4)

These metrics are generated based on sampled data and may differ from actual traffic values.

3(1,2)

In some situations, traffic may not leave the cloud’s perimeter, so it will not be displayed in statistics.

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 created state

NumberOfBackupJobsRunning

Number of backup jobs in the running state

NumberOfBackupJobsAborted

Number of backup jobs in the aborted state

NumberOfBackupJobsCompleted

Number of backup jobs in the completed state

NumberOfBackupJobsFailed

Number of backup jobs in the failed state

NumberOfBackupJobsExpired

Number of backup jobs in the expired state

NumberOfRecoveryPointsCompleted

Number of recovery points in the completed status

NumberOfRecoveryPointsDeleting

Number of recovery points in the deleting status

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 4

BGP session state

BFDSessionState 4

BFD session state

AcceptedRoutes 4

Number of accepted routes

4(1,2,3)

These metrics are supported for virtual interfaces only.

Metric names in the AWS/VPN namespace#

VPN metrics are collected at the tunnel level every minute. A connection has one tunnel in a standard configuration and two independent ones in case of high availability. All metrics below apply to each tunnel separately. A VPN connection is considered available if at least one tunnel is in the connected state.

TunnelState

VPN tunnel state

TunnelDataIn

Amount of data received, bytes

TunnelDataOut

Amount of data sent, bytes

TunnelBGPRoutes

Number of active BGP routes

TunnelPacketsIn

Number of packets received

TunnelPacketsOut

Number of packets sent

Metric names in the AWS/ApplicationELB namespace#

Metrics

Description

Resource type

HTTPCode_ELB_3xx_Count

Number of 3xx HTTP response codes

Application load balancer

HTTPCode_ELB_4xx_Count

Number of 4xx HTTP response codes

Application load balancer

HTTPCode_ELB_5xx_Count

Number of 5xx HTTP response codes

Application load balancer

ProcessedBytes

The amount of processed traffic in bytes

Application load balancer

RequestCount

Number of requests

Application load balancer

RequestCountPerTarget

The average number of requests per healthy target

Target group

HealthyHostCount

Number of healthy targets

Target group

UnhealthyHostCount

Number of unhealthy targets

Target group

TargetConnectionErrorCount

The number of unsuccessful attempts to establish connection between the target and load balancer

Target group

HTTPCode_Target_2xx_Count

Number of 2xx HTTP response codes

Target group

HTTPCode_Target_3xx_Count

Number of 3xx HTTP response codes

Target group

HTTPCode_Target_4xx_Count

Number of 4xx HTTP response codes

Target group

HTTPCode_Target_5xx_Count

Number of 5xx HTTP response codes

Target group

TargetResponseTime

The target response time

Target group

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, protected instance or volume, VPN tunnel or connection, Internet gateway or Elastic IP address, Direct Connect virtual interface or connection, application load balancer or target group) or its name (Auto Scaling group, bucket), 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, ElasticIp, InstanceId, VpcIdNat

AWS/EBS

VolumeId

AWS/S3

BucketId

AWS/Backup

ResourceId 5

AWS/DX

ConnectionId, VirtualInterfaceId

AWS/VPN

VpnId, VpnId/TunnelId 6

AWS/ApplicationELB

LoadBalancer, TargetGroup 7

5

For the project metrics in the AWS/Backup namespace, no dimension is specified.

6

For the project metrics in the AWS/VPN namespace, no dimension is specified.

7

The dimension value is specified as app/lb-name/lb-xxxxxxxx for LoadBalancer and as targetgroup/tg-name/tg-xxxxxxxx for TargetGroup.

The detailed description of metrics structure.

Monitored metrics#

The list of all monitored cloud 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 a resource for which the metric is collected.

  • Metric name – the parameter being measured.

Clicking on a resource 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.