-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add device label to paging scraper. #4854
Conversation
ccf91ad
to
1d3a09d
Compare
1d3a09d
to
6434486
Compare
ad367a9
to
67a5ffa
Compare
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
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.
LGTM after comments are addressed.
receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_openbsd.go
Outdated
Show resolved
Hide resolved
receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_freebsd.go
Outdated
Show resolved
Hide resolved
Looks like this might need a merge / rebase. @tbarker25 - Could you help with that? |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Please resolve the conflicts and address/resolve the open comments. |
Support BSDs and Solaris can be a future enhancement
@tigrannajaryan this is ready for review. |
receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_linux.go
Outdated
Show resolved
Hide resolved
receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_linux.go
Outdated
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.
LGTM
Description:
Extend paging scraper to collect per-device paging stats on Linux -- this will match the behavior for Windows. See tracking issue for more details.
Link to tracking Issue: https://github.com/open-telemetry/opentelemetry-collector/issues/3447
Testing: Unit tests extended for this case.
Note this PR is moved from opentelemetry-collector: open-telemetry/opentelemetry-collector#3771