-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[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
[receiver/hostmetrics] Migrate from vendored code to pkg/winperfcounters #39916
Conversation
receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_windows.go
Show resolved
Hide resolved
There was a problem hiding this 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.
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? |
…github.com:pjanotti/opentelemetry-service-contrib into migrate-hostmetricsreceiver-to-pkg-winperfcounters
…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.
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.