open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
274 stars 175 forks source link

Add system.device attribute to system paging metrics #1407

Closed rogercoll closed 1 month ago

rogercoll commented 2 months ago

Area(s)

area:system

Is your change request related to a problem? Please describe.

Usage paging system metrics refer to the system.paging.state attribute but not the actual paging device. On the other hand, the hostmetrics receiver is currently adding the device attribute to system.paging.usage and system.paging.utilization metrics: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml#L8

Describe the solution you'd like

Link usage paging metrics to the system.device attribute.

Describe alternatives you've considered

No response

Additional context

No response