Skip to content

fix: very high CPU issue with openmetrics exposition #1162

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

Merged
merged 1 commit into from
May 28, 2025

Conversation

gracewehner
Copy link
Contributor

Change the EnableCreatedTimestampZeroIngestion setting in the prometheus scrape manager to use the otelcollector feature flag that has the same name and is disabled by default.

This had introduced new parsing during a scrape loop that resulted in very high CPU at higher metric volumes.

Reverts this PR: open-telemetry/opentelemetry-collector-contrib#36660 so that the functionality for this is the same as before v0.121.0``

@gracewehner gracewehner requested a review from a team as a code owner May 27, 2025 22:48
@gracewehner
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@gracewehner gracewehner merged commit 6fbc0a6 into main May 28, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants