Amazon Fargate usage metrics - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon 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.

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

Amazon 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 Amazon Fargate.

Dimension

Description

Service

The name of the Amazon service containing the resource. For Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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

.