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
preguntada hace 2 años372 visualizaciones
2 Respuestas
0
Respuesta aceptada

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
respondido hace 2 años
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.

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas