-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ambiguous import error with opentelemetry collector builder #10476
Labels
Comments
I am unable to reproduce with OCB v0.106.0 and the following manifest: name: otelcol-deb
description: otel collector distribution for tenable
output_path: ./otelcol-dev
otelcol_version: 0.106.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.106.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.106.0
processors:
- gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.106.0
receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.106.0 I get the following logs:
|
You got same module but different versions, try force the version in go.mod. Something like:
If you want to avoid // This is necessary to avoid ambiguous import error
// see https://github.com/open-telemetry/opentelemetry-collector/issues/10476
import _ "google.golang.org/genproto/googleapis/type/date" |
I encountered the same issue, and found that the following fixed it:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
cross posting from here: open-telemetry/opentelemetry.io#4738
After following the instructions up to Running and debugging the receiver
I get unexpected output
Steps to reproduce
Builder conf:
The text was updated successfully, but these errors were encountered: