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

High cpu usage on zlinux nodes when collecting data using prometheus receiver #37205

Open
phantonrider opened this issue Jan 14, 2025 · 2 comments
Labels
bug Something isn't working receiver/prometheus Prometheus receiver waiting for author

Comments

@phantonrider
Copy link

Component(s)

receiver/prometheus

What happened?

Description

When we are using prometheus receiver to collect metrics and the endpoint is down, the endpoints are local but the servers run active/passive, the opentelemetry collector will start to use more and more cpu until the it reaches 100%. When we disable the pipeline for this and leave the others running its fine and if the endpoint is available then its fine.

Only on zlinux and the server is a single core.

Steps to Reproduce

Setup the collector to collect from a endpoint that is not available on a single core machine.

Expected Result

Error message generated that the endpoint isnt available
CPU usage to remain low

Actual Result

Error message generated that the endpoint isnt available
CPU usage increases over time, within 24 hours

Collector version

0.116.0

Environment information

Environment

OS: zlinux

OpenTelemetry Collector configuration

unable to provide

Log output

No response

Additional context

No response

@phantonrider phantonrider added bug Something isn't working needs triage New item requiring triage labels Jan 14, 2025
@github-actions github-actions bot added the receiver/prometheus Prometheus receiver label Jan 14, 2025
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@dashpole
Copy link
Contributor

We are going to need the collector configuration to be able to help.

@dashpole dashpole added waiting for author and removed needs triage New item requiring triage labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working receiver/prometheus Prometheus receiver waiting for author
Projects
None yet
Development

No branches or pull requests

2 participants