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

bug: host_metrics host_physical_cpus is capped at 10 cpus #16664

Open
kaspar030 opened this issue Mar 2, 2023 · 5 comments · Fixed by vectordotdev/heim#1
Open

bug: host_metrics host_physical_cpus is capped at 10 cpus #16664

kaspar030 opened this issue Mar 2, 2023 · 5 comments · Fixed by vectordotdev/heim#1
Labels
source: host_metrics Anything `host_metrics` source related type: bug A code related bug.

Comments

@kaspar030
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

The host_metrics host_physical_cpus never shows more than 10 cpus.
I tracked that down to a bug in the used heim crate, and opened a fix there.

Configuration

[sources.host-metrics]
type = "host_metrics"

Version

timberio/vector:0.28.0-alpine

Debug Output

No response

Example Data

No response

Additional Context

No response

References

Upstream bug fix: heim-rs/heim#366

@kaspar030 kaspar030 added the type: bug A code related bug. label Mar 2, 2023
@jszwedko
Copy link
Member

jszwedko commented Mar 2, 2023

Thanks for tracking that down and opening the fix upstream! Unfortunately that crate hasn't seemed to be maintained since 2021. I think we'll need to pull the fix into the fork that we have: https://github.com/vectordotdev/heim

@jszwedko jszwedko added the source: host_metrics Anything `host_metrics` source related label Mar 2, 2023
@kaspar030
Copy link
Author

Let me know if you'd like me to open the PR in https://github.com/vectordotdev/heim!

@jszwedko
Copy link
Member

jszwedko commented Mar 7, 2023

Let me know if you'd like me to open the PR in https://github.com/vectordotdev/heim!

That'd be great if you feel motivated!

@kaspar030
Copy link
Author

Here you are: vectordotdev/heim#1

@jszwedko
Copy link
Member

Reopening since we need to pull the change into Vector to resolve.

@jszwedko jszwedko reopened this Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: host_metrics Anything `host_metrics` source related type: bug A code related bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants