Skip to content
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

Publishing 0 for cpu/memory over metrics when limit/resource not set #95

Merged
merged 6 commits into from
Sep 20, 2023

Conversation

mitali-salvi
Copy link

Description:
Bug fix - emit a value of 0 for the following metrics when the pod cpu/memory limits are not set
cpu_utilization_over_pod_limit
cpu_utilization_over_container_limit
memory_utilization_over_pod_limit
memory_utilization_over_container_limit

Testing:
Tested on my testing cluster
cpu1

memory1

memory2

cpu2

@mitali-salvi mitali-salvi requested review from chadpatel and a team September 19, 2023 20:10
@mitali-salvi mitali-salvi changed the base branch from main to aws-cwa-dev September 19, 2023 20:10
@mitali-salvi mitali-salvi self-assigned this Sep 19, 2023
@mitali-salvi mitali-salvi merged commit 4452da3 into amazon-contributing:aws-cwa-dev Sep 20, 2023
3 checks passed
@mitali-salvi mitali-salvi deleted the over-limit branch September 20, 2023 21:04
lisguo pushed a commit to lisguo/opentelemetry-collector-contrib that referenced this pull request Oct 20, 2023
mitali-salvi added a commit to mitali-salvi/opentelemetry-collector-contrib that referenced this pull request Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants