View a markdown version of this page

CloudWatch metrics for Amazon VPC Lattice - Amazon VPC Lattice

CloudWatch metrics for Amazon VPC Lattice

Amazon VPC Lattice sends data related to your target groups and services to Amazon CloudWatch, and processes it into readable, near real-time metrics. These metrics are kept for 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. You can also set alarms that watch for certain thresholds and send notifications or take actions when those thresholds are met. For more information, see the Amazon CloudWatch User Guide.

Amazon VPC Lattice uses a service-linked role in your AWS account to send metrics to Amazon CloudWatch. For more information, see Using service-linked roles for Amazon VPC Lattice.

View Amazon CloudWatch metrics

You can view the Amazon CloudWatch metrics for your target groups and services using the CloudWatch console or AWS CLI.

To view metrics using the CloudWatch console
  1. Open the Amazon CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the navigation pane, choose Metrics.

  3. Select the AWS/VpcLattice namespace.

  4. (Optional) To view a metric across all dimensions, enter its name in the search field.

  5. (Optional) To filter by dimension, select one of the following:

    • To display only the metrics reported for your target groups, choose Target groups. To view the metrics for a single target group, enter its name in the search field.

    • To display only the metrics reported for your services, choose Services. To view the metrics for a single service, enter its name in the search field.

To view metrics using the AWS CLI

Use the following CloudWatch list-metrics AWS CLI command to list the available metrics:

aws cloudwatch list-metrics --namespace AWS/VpcLattice

For information about each of the metrics and their dimensions, see Target group metrics and Service metrics.

Target group metrics

VPC Lattice automatically stores metrics related to target groups in the AWS/VpcLattice Amazon CloudWatch namespace. For more information about target groups, see Target groups in VPC Lattice.

Dimensions

To filter the metrics for target groups, use the following dimensions:

  • AvailabilityZone

  • TargetGroup

Metric Description TargetGroup Protocol
TotalConnectionCount

This metric reports the total number of connections.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS, TCP
ActiveConnectionCount

This metric reports the number of active connections.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS, TCP
ConnectionErrorCount

This metric reports the total number of connection failures.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS, TCP
HTTP1_ConnectionCount

This metric reports the total number of HTTP/1.1 connections.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS
HTTP2_ConnectionCount

This metric reports the total number of HTTP/2 connections.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS
ConnectionTimeoutCount

This metric reports the total number of connection connect timeouts.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS, TCP
TotalReceivedConnectionBytes

This metric reports the total number of received connection bytes.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS, TCP
TotalSentConnectionBytes

This metric reports the total number of sent connection bytes.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS, TCP
TotalRequestCount

This metric reports the total number of requests.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS
ActiveRequestCount

This metric reports the total number of active requests.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS
RequestTime

This metric reports the request time to the last byte, in milliseconds.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistics are Average and pNN.NN (percentiles).

HTTP, HTTPS
HTTPCode_2XX_Count, HTTPCode_3XX_Count, HTTPCode_4XX_Count, HTTPCode_5XX_Count

This metric reports aggregate HTTP response codes.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS
TLSConnectionErrorCount

This metric reports the total number of TLS connection errors, not including failed certificate verifications.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS, TCP
TotalTLSConnectionHandshakeCount

This metric reports the total number of successful TLS connection handshakes.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTP, HTTPS, TCP

Service metrics

VPC Lattice automatically stores metrics related to services in the AWS/VpcLattice Amazon CloudWatch namespace. For more information about services, see Services in VPC Lattice.

Dimensions

To filter the metrics for services, use the following dimensions:

  • AvailabilityZone

  • Service

Metric Description
RequestTimeoutCount

This metric reports the total number of requests that timed out waiting for a response.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

TotalRequestCount

This metric reports the total number of requests.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

RequestTime

This metric reports the request time, in milliseconds.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistics are Average and pNN.NN (percentiles).

HTTPCode_2XX_Count, HTTPCode_3XX_Count, HTTPCode_4XX_Count, HTTPCode_5XX_Count

This metric reports aggregate HTTP response codes.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.

HTTPCode_VpcLattice_400_Count, HTTPCode_VpcLattice_403_Count, HTTPCode_VpcLattice_404_Count, HTTPCode_VpcLattice_429_Count, HTTPCode_VpcLattice_500_Count, HTTPCode_VpcLattice_502_Count, HTTPCode_VpcLattice_504_Count

This metric reports granular HTTP response codes.

This metric has the following reporting criteria:

Reporting criteria
  • VPC Lattice reports this metric from the time the resource receives traffic, whether the value is zero or non-zero.

This metric has the following reporting frequency:

Reporting frequency
  • VPC Lattice reports this metric once a minute.

The following statistics are available for this metric:

Statistics
  • The most useful statistic is Sum.