aws / aws/containers-roadmap

Discrepancy in CPU Utilization Metrics Between ECS Metrics Tab and CloudWatch Metrics for Deployed Microservices

Open
#2,104 1 comment 0 reactions 0 assignees View on GitHub
ECS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

Hi ,
I have deployed my microservices on ECS, and overall, they seem to be working fine. However, I've noticed a discrepancy in the reported metrics between the ECS Metrics tab and the CloudWatch Metrics for one of my services.
In the ECS Metrics tab under services, I am observing the following utilization:
![image](https://github.com/aws/containers-roadmap/assets/78138014/179aded8-06f9-4b9a-82f8-e8632475e150)

But when I try to check the same service's CPU utilization metrics in CloudWatch, the values appear different:
![image](https://github.com/aws/containers-roadmap/assets/78138014/60d06ca5-a3d1-4021-9d6c-e486dd26cb4b)

I'm reaching out for assistance in understanding the reason behind this discrepancy and to determine which set of metrics I should consider as accurate. For instance, I'm observing 96% CPU utilization in the ECS console, whereas CloudWatch is showing only 24%.

Could you please help me understand this difference and guide me on which metrics I should rely on for accurate monitoring of my service's CPU utilization?

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are mentioned. Start by reviewing the ECS Metrics and CloudWatch views described in the report, then compare their metric definitions and aggregation windows. Done means documenting the reason for the 96% versus 24% readings and which metric should be used.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.