Open shacharSirotkin opened 1 month ago
Pinging code owners for receiver/vcenter: @djaglowski @schmikei @StefanKurek. See Adding Labels via Comments if you do not have permissions to add labels yourself.
Thanks for filing @shacharSirotkin, is that the full stack trace from the panic? It would be helpful to have more specific information about where the panic occurred in buildVMMetrics
.
@shacharSirotkin Hey! I'd love to take a look at this, if you could please supply the full stack trace from the panic you see.
Component(s)
vCenter receiver
What happened?
Description
I tried to config a vcenterreciver and got a stack trace of runtime error saying: panic: runtime error: invalid memory address or nil pointer dereference.
Steps to Reproduce
Install otel-collector-contrib on your PC and use a config.yaml to receive metrics from vCenter in version 7.0.3
Expected Result
normal metrics of vcenter
Actual Result
panic: runtime error: invalid memory address or nil pointer dereference.
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver.(*vcenterMetricScraper).buildVMMetrics() .....
Collector version
0.105.0
Environment information
Environment
Windows 10 Enterprise
OpenTelemetry Collector configuration
Log output
Additional context
No response