-
I'm trying to build a custom otel-collector to include the loadbalancerexporter (among other things; see config below), and am running into errors such as "ambiguous import: found package cloud.google.com/go/compute/metadata in multiple modules". Can someone help with a builder config.yaml that successfully includes the load-balancer exporter? Using the 0.50.0 builder (commented out all the other ones for troubleshooting; some others, like jaegerexporter also throw similar errors):
Results in
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It seems that this replace directive is needed: https://github.com/open-telemetry/opentelemetry-collector-releases/blob/main/distributions/otelcol-contrib/manifest.yaml#L151-L153 |
Beta Was this translation helpful? Give feedback.
It seems that this replace directive is needed: https://github.com/open-telemetry/opentelemetry-collector-releases/blob/main/distributions/otelcol-contrib/manifest.yaml#L151-L153