Scale errors on simple CloudWatch Dashboard

0

I have a very simple CloudWatch Dashboard Just show CPU and Memory usage of my ECS service.

CloudWatch Dashboard

The CPU value in the tooltip is ok, but the scale is wrong The scale must be between 0 an 100, but is showing a weird 129 for a CPU value of 99,3

Any idea about how solve this issue? looks like a AWS error.

CGarces
질문됨 2년 전373회 조회
2개 답변
0
수락된 답변

Looks like you've used the "stacked=true" setting for a Metric Widget, hence you are plotting all metrics on the graph in a "stacked area" visualization. Only use this for metrics that add up logically.

In your case CPU is being added to the Memory below it, giving the 120 value. Remove the stacked setting, or set it to false (default). Also consider moving the Memory metric to the right Y-axis so the scale of each metric does not "drown out" the detail of the other.

AWS
답변함 2년 전
0

Actually, CPUUtilization of ECS service can go over 100%. It's because this metric is not for CPU utilization of host machine, but rather for CPU utilization of CPU units allocated to your tasks. There are more details in AWS doc. Though for the chart itself - indeed there seems to be an issue somewhere as those figures do not match, but it's not that obvious which one is wrong.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인