Closed punya closed 1 year ago
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
This issue has been closed as inactive because it has been stale for 120 days with no activity.
Describe the bug When the host metrics receiver is enabled with the paging scraper, it produces metric data points describing paging usage. According to the metadata
it's supposed to have a label for the paging device. In reality, that label exists on Windows but not on any other platform.
Possible fixes
Steps to reproduce On {Windows, Linux}:
What did you expect to see? Labels for paging device and paging state.
What did you see instead? On Linux: only paging device. For example,
What version did you use? Version: v0.28.0 (contrib collector installed from .deb on the releases page)
What config did you use?
Environment OS: Debian 10 on GCE
Additional context Based on looking at the source code, the Windows-specific scraper impl populates the label and other others don't. The other ones delegate to shirou/gopsutil, which (at least on Linux) uses underlying mechanisms that don't provide a breakdown by device.