open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
3.1k stars 2.39k forks source link

Add Custom Attributes to vsphere otel receiver #36478

Open bmhkb4 opened 1 day ago

bmhkb4 commented 1 day ago

Component(s)

receiver/vcenter

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

When ingesting metrics from vsphere using the vcenter receiver, I would like to be able to access the "custom attributes" (vmware term for arbitrary key:value labels) on my vcenter objects:

image

Describe the solution you'd like

VMware object custom attributes to come through as prometheus labels.

Describe alternatives you've considered

n/a

Additional context

No response

github-actions[bot] commented 1 day ago

Pinging code owners:

StefanKurek commented 1 day ago

This seems like it would be a good add and likely not overly difficult