Skip to main content

Amazon ECS metric

Note

The notation of the WhaTap ECS metric's category uses the prefix (ecs_).

ecs_service

Tags

Tag nameDescription
ClusterArnThe ECS cluster is identified by the Amazon Resource Name (ARN). Each cluster has a unique ARN and specifies the cluster on which the service is deployed.
LaunchTypeIt indicates the startup type of the ECS service. It has the value: EC2 or FARGATE. It displays whether the service runs on the EC2 instance or serverless Fargate.
PlatformVersionIt indicates the platform version used by Fargate tasks. It displays a specific version of the Fargate infrastructure and determines compatibility and feature support.
PropagateTagsIt indicates the method how the service passes tags to a task. It can have the value: TASK_DEFINITION or SERVICE. It inherits tags from the service or task definition.
RoleArnIt is the ARN with the IAM role used by the service. This role defines the tasks that ECS can run on the service.
CreatedByIt indicates the user who created the service. This can be the user's ID or name.
SchedulingStrategyThe service's scheduling strategy can have the value: REPLICA or DAEMON. It determines how to distribute tasks.
ServiceArnIt indicates the ARN of the ECS service. This is a unique ID of the service.
ServiceNameIt indicates the name of the ECS service specified by the user.
TaskDefinitionIt indicates the name and revision number of the task that runs in the service.
e.g. my-task:1
DeploymentControllerTypeIt indicates the type of the deployment controller. It has the value: ECS or CODE_DEPLOY. It determines the distribution method.
HealthCheckGracePeriodSecondsIt indicates the health check grace period (seconds) after starting the service. During this period, the service ignores health check failures.
TagsIt is a list of key-value pairs for the tags associated with the service. Each tag provides additional metadata to the service.

Fields

Field nameDescription
StatusIt indicates the current status of the service.
e.g. ACTIVE, DRAINING, INACTIVE
CreatedAtIt indicates the time when the service was created. It is saved as a timestamp.
DesiredCountIt indicates the number of tasks desired in the service. It is the number of tasks to be maintained always by the service.
PendingCountIt indicates the number of tasks in pending status. This is the number of tasks that have not been started.
RunningCountIt indicates the number of tasks running.

ecs_deployment

Tags

Tag nameDescription
IdA unique ID for ECS deployment. Each deployment has a unique ID, which identifies the deployment.
LaunchTypeIt indicates the start type of the ECS deployment. It has the value: EC2 or FARGATE. It displays whether the service runs on the EC2 instance or serverless Fargate.
PlatformVersionIt indicates the platform version used by Fargate tasks. It displays a specific version of the Fargate infrastructure and determines compatibility and feature support.
TaskDefinitionIt indicates the name and revision number of the task that runs during deployment.
e.g. my-task:1

Fields

Field nameDescription
StatusIt indicates the current status of deployment. It displays the progress and result of the deployment.
e.g. PRIMARY, ACTIVE, FAILED
CreatedAtIt indicates the time when the deployment was created. It is saved as a timestamp.
DesiredCountIt indicates the number of tasks desired in the deployment. It is the number of tasks to be maintained always by the deployment.
PendingCountIt indicates the number of tasks in pending status. This is the number of tasks that have not been started.
RunningCountIt indicates the number of tasks running.
UpdatedAtIt indicates the time when the deployment was last updated. It is saved as a timestamp.

ecs_node

Tags

Tag nameDescription
Ec2InstanceIdA unique ID of the EC2 instance used in the ECS cluster. Each instance has a unique ID. This allows you to identify instances.
ContainerInstanceArnThe Amazon Resource Name (ARN) of the container instance. This is a unique ID of the container instance.
DockerVersionVersion of the Docker running on the container instance. It identifies the specific version of Docker and determines compatibility and feature support.
AgentVersionVersion of the ECS agent. The ECS agent communicates with the ECS cluster. Compatibility and feature support are determined based on the version.
PendingTasksCountIt indicates the number of tasks in pending status. This is the number of tasks that have not been started.
RunningTasksCountNumber of tasks running on the container instance.
TagsIt is a list of key-value pairs for the tags associated with the container instance. Each tag provides additional metadata to the instance.
VersionInternal version of the container instance. This may be the configuration version of the instance.

Fields

Field nameDescription
StatusIt indicates the internal version of the container instance.
e.g. ACTIVE, DRAINING, INACTIVE
StatusReasonDescription of the current state of the container instance and the reason for the change.
RegisteredAtIt indicates the time when the container instance was registered with the ECS cluster. It is saved as a timestamp.

ecs_task

Tags

Tag nameDescription
containerIdA unique ID of the container. Each container has a unique ID that identifies the container.
containerNameContainer name specified by the user.
agentOidOID (Object Identifier) of the agent. This is a unique ID of the agent.
agentPcodeCode of the agent. This is a code value that helps identify the agent.
commandThe command executed when the container starts up.
containerKeyA unique key generated by hashing the container ID with the container's hashed key value.
createdThe time when the container was created. It is saved as a timestamp.
imageName of the image on which the container is running.
imageHashHash value of the container image. This is a unique value generated by hashing the image name.
imageIdID of the container image. This is a unique ID of the image.
onodeA unique ID for the node on which the container is running.
onodeNameName of the node on which the container is running.
dimensionA string combining the task ARN and container ID. This information helps monitoring and identification.

Fields

Field nameDescription
cpu_userCPU time used by the container in user mode.
cpu_user_millisCPU time used in user mode, in milliseconds.
cpu_sysCPU time used by the container in system mode.
cpu_sys_millisCPU time used in system mode, in milliseconds.
cpu_totalTotal CPU time used by the container.
cpu_total_millisTotal CPU time (millisedonds).
mem_usageContainer's CPU usage.
mem_totalrssTotal Resident Set Size (RSS) memory usage of the container.
blkio_rbpsBlock I/O read rate in bytes/sec.
blkio_riopsNumber of block I/O read operations (I/O operations/sec).
blkio_wbpsBlock I/O write rate in bytes/sec.
blkio_wiopsNumber of block I/O write operations (I/O operations/sec).
mem_percentContainer's CPU usage percentage.
cpu_quotaCPU quota allocated to the container.
cpu_quota_percentPercentage of the allocated CPU.
mem_limitMemory limit allocated to the container.
cpu_requestCPU resource requested to the container.
mem_requestMemory resource requested to the container.
cpu_throttledperiodsNumber of CPU-throttled periods.
cpu_throttledtimeCPU-throttled time.
mem_failcntNumber of memory allocation failures.
mem_maxusageMaximum usage of memory.
mem_per_requestPercentage of the requested memory.
mem_totalcacheTotal amount of cached memory.
mem_totalpgfaultTotal number of page faults.
mem_totalrss_percentPercentage of the total RSS memory usage.
mem_totalunevictableTotal amount of non-evictable memory.
mem_workingsetMemory usage of the work set.
mem_inactivefileInactive file memory's usage.
network_rbpsNetwork read rate in bytes/sec.
network_rdroppedNumber of network read drops.
network_rerrorNumber of network read errors.
network_riopsNumber of network read operations (I/O operations/sec).
network_wbpsNetwork write rate in bytes/sec.
network_wdroppedNumber of network write drops.
network_werrorNumber of network write errors.
network_wiopsNumber of network write operations (I/O operations/sec).
node_cpuIt is the node's CPU usage.
node_memIt is the node's memory usage.
restart_countNumber of container restarts.
stateContainer state. The state is divided into multiple levels.
e.g. Running, Stopped
statusContainer state. A text value describes the status.