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
posta 2 anni fa372 visualizzazioni
2 Risposte
0
Risposta accettata

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
con risposta 2 anni fa
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.

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande