gopsutil use for Fargate managed ECS tasks in AWS #1665
Unanswered
anandkumar-blr
asked this question in
Q&A
Replies: 1 comment
-
We don't know the details of AWS CloudWatch, so we can't say for sure. However, especially regarding memory usage on Linux, the calculation logic is complex. gopsutil calculates memory usage as:
If this formula is different, then different values will likely be output. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys,
I am working on getting the current CPU and memory usage percentage in the AWS ECS task, specifically looking for task-level usage.
I have used this API and see many differences in values compared to the values we got from container insights at the task level.
When actual Memory (we can see in the Service dashboard ), is 90%, we can see gopsutil API returning around 60%.
Any help here?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions