Skip to content

k8s: new attributes: CSI driver and volume handle #1119

@gdvalle

Description

@gdvalle

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

Metadata

Metadata

Assignees

Labels

area:k8senhancementNew feature or requestexperts neededThis issue or pull request is outside an area where general approvers feel they can approve

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions