k8s: new attributes: CSI driver and volume handle #1119
Labels
area:k8s
enhancement
New feature or request
experts needed
This issue or pull request is outside an area where general approvers feel they can approve
Area(s)
Semantic convention for otelcol's kubeletstatsreceiver,
area:k8s
.Is your change request related to a problem? Please describe.
In k8s, I would like to record CSI driver and volume handle information for relevant Persistent Volume Claims (PVCs) to be able to associate metrics to underlying disks.
Describe the solution you'd like
Two new attributes, with each mapping 1:1 to the respective driver/volumeHandle fields in CSIPersistentVolumeSource:
csi.driver
csi.volume.handle
And a new value for the
k8s.volume.type
attribute,csiPersistentVolume
.Describe alternatives you've considered
None
Additional context
This grew from open-telemetry/opentelemetry-collector-contrib#32055
The text was updated successfully, but these errors were encountered: