Skip to content

[receiver/hostmetrics] Migrate from vendored code to pkg/winperfcounters #39916

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

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented May 6, 2025

Completes the migration to pkg/winperfcounters and removes the vendored third party package, see #38858 (comment) for details.. Previous related changes:

Fixes #38858

Memory and CPU usage by the collector went collect these metrics were not affected by this change, verified manually running the collector on Windows.

Copy link
Contributor

@braydonk braydonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for doing this! Really great to be unified with the rest of the receivers instead of relying on a separate third-party package.

@braydonk
Copy link
Contributor

braydonk commented May 9, 2025

Noticed this doesn't have a changelog. Conflicted on whether it needs one, but I'm inclined to say it might be a good idea. Shouldn't provide any user-visible changes, but might be good for tracking on the off-chance there's an adverse behaviour from this change that someone is trying to track down?

pjanotti added 3 commits May 9, 2025 10:18
…github.com:pjanotti/opentelemetry-service-contrib into migrate-hostmetricsreceiver-to-pkg-winperfcounters
@atoulme atoulme merged commit 533a1e0 into open-telemetry:main May 9, 2025
173 checks passed
@github-actions github-actions bot added this to the next release milestone May 9, 2025
@pjanotti pjanotti deleted the migrate-hostmetricsreceiver-to-pkg-winperfcounters branch May 9, 2025 18:12
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
…ers (open-telemetry#39916)

Completes the migration to `pkg/winperfcounters` and removes the
vendored third party package, see
open-telemetry#38858 (comment)
for details.. Previous related changes:

- open-telemetry#39690
- open-telemetry#39835

Fixes open-telemetry#38858

Memory and CPU usage by the collector went collect these metrics were
not affected by this change, verified manually running the collector on
Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[receiver/hostmetrics] No viable perflib package
5 participants