AWS Fargate usage metrics - Amazon Elastic Container Service

AWS Fargate usage metrics

You can use CloudWatch usage metrics to provide visibility into your accounts usage of resources. Use these metrics to visualize your current service usage on CloudWatch graphs and dashboards.

AWS Fargate usage metrics correspond to AWS service quotas. You can configure alarms that alert you when your usage approaches a service quota. For more information about Fargate service quotas, see AWS Fargate service quotas.

AWS Fargate publishes the following metrics in the AWS/Usage namespace.

Metric Description

ResourceCount

The total number of the specified resource running on your account. The resource is defined by the dimensions associated with the metric.

The following dimensions are used to refine the usage metrics that are published by AWS Fargate.

Dimension Description

Service

The name of the AWS service containing the resource. For AWS Fargate usage metrics, the value for this dimension is Fargate.

Type

The type of entity that is being reported. Currently, the only valid value for AWS Fargate usage metrics is Resource.

Resource

The type of resource that is running. The type of resource that is running. Currently, the only valid value for AWS Fargate usage metrics is vCPU which returns information about the running instances.

Class

The class of resource being tracked. The class of resource being tracked. For AWS Fargate usage metrics with vCPU as the value of the Resource dimension, the valid values are Standard/OnDemand and Standard/Spot.

You can use the Service Quotas console to visualize your usage on a graph and configure alarms that alert you when your AWS Fargate usage approaches a service quota. For information about how to create a CloudWatch alarm to notify you when you're close to a quota value threshold, see Service Quotas and Amazon CloudWatch alarms in the Service Quotas User Guide

.