-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container Insights unit mismatch #6973
Comments
@anuraaga, could you take a look as the code owner? |
@alolita can I take up this issue? |
I have tested using the steps above and confirmed the bug will follow up with ecs team. |
I believe there is slight difference between In the Container Insights dashboard, I believe we only show reservede and utilized metrics, and the unit should be Percentage and vCpu. Can you pull the reference with which you are matching? |
When using ECS container insights, I checked |
Talked with Seth, are trying to reproduce the sidecar solution. |
Reproduced the issue. This is a bug. The CPU utilized metric is different (around 100 times) when using ECS container insights and Sidecar solution. I spoke with Rayhan and we agreed to change on our side (ADOT) rather than on the CW console side. I will investigate further to see how can we fix that. |
@corey-cole can you please post your config. I'm using the task cpu reserved and utilization as per the sample config in the aws otel collector. I want to know if you are using the same. |
Closing as this has been waiting for author since Jul 5 |
… map (open-telemetry#6973) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
can we reopen this? I still see some differences between the metrics coming from |
Describe the bug
The CPU utilization and reservation metrics units don't match the official Container Insights units.
Steps to reproduce
What did you expect to see?
I expected to see that the units would be the same for official ECS Container Insights and the sidecar version.
What did you see instead?
CPU reservation was given as percentage of a vCPU (e.g. 0.256) instead of CPU shares (256)
What version did you use?
Version: v0.15.1
What config did you use?
Config: The config file given on this page (https://aws-otel.github.io/docs/components/ecs-metrics-receiver) in the subsection "Full configuration for task level metrics"
Environment
OS: Whatever the OS is for amazon/aws-otel-collector:latest with sha256:713953f93619702dee9000465f430d8179a6b9356011559159312979f18c513f
Compiler(if manually compiled): N/A
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: