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

Performance optimization for prometheus scrape #245

Open
f1shl3gs opened this issue Mar 19, 2022 · 2 comments
Open

Performance optimization for prometheus scrape #245

f1shl3gs opened this issue Mar 19, 2022 · 2 comments

Comments

@f1shl3gs
Copy link
Owner

f1shl3gs commented Mar 19, 2022

2000 fake node exporter cost ~57% cpu (prometheus_scrape -> blackhole) on my AMD 3950X desktop, it shold have be more efficent.
flamegraph

@f1shl3gs
Copy link
Owner Author

PR #248 will reduce polls of stream, now the cpu usage is only ~27%

@f1shl3gs
Copy link
Owner Author

PR #450 improve the parse performance(~50%)
image

a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant