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

opentelemetry-collector.convertMemToMib produces 0 if using a decimal point #1006

Open
snuggie12 opened this issue Jan 17, 2024 · 1 comment
Labels
bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart

Comments

@snuggie12
Copy link

This is fairly easily worked around, but it did cause our HPAs to max out so figured I'd make the ticket in case anyone else runs into it.

We had a memory limit of 1.5Gi in place and the atoi function will convert that to 0. This is especially bad with GOMEMLIMIT since it out of nowhere started using 100% of the CPU.

@TylerHelmuth TylerHelmuth added bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart labels Jan 17, 2024
@TylerHelmuth
Copy link
Member

You're not wrong, but also I don't have a great solution in mind for this other than don't use decimals. Maybe open-telemetry/opentelemetry-collector-contrib#30289 can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart
Projects
None yet
Development

No branches or pull requests

2 participants