You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using this receiver to build a custom collector, there are issues happened. The issue is as below:
go: downloading github.com/antonmedv/expr v1.15.0 go: downloading github.com/mostynb/go-grpc-compression v1.2.0 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.43.0 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc go: downloading github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage v0.85.0 go: finding module for package go.opentelemetry.io/collector/processor/batchprocessor go: finding module for package go.opentelemetry.io/collector/exporter/loggingexporter go: found go.opentelemetry.io/collector/exporter/loggingexporter in go.opentelemetry.io/collector/exporter/loggingexporter v0.88.0 go: found go.opentelemetry.io/collector/processor/batchprocessor in go.opentelemetry.io/collector/processor/batchprocessor v0.88.0 go: finding module for package go.opentelemetry.io/collector/otelcol go: found go.opentelemetry.io/collector/otelcol in go.opentelemetry.io/collector/otelcol v0.88.0 go.opentelemetry.io/collector/cmd/builder imports github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver imports go.opentelemetry.io/collector/confmap imports github.com/knadh/koanf/maps: ambiguous import: found package github.com/knadh/koanf/maps in multiple modules: github.com/knadh/koanf v1.5.0 (/Users/work_dir/go_workspace/src/prod/pkg/mod/github.com/knadh/koanf@v1.5.0/maps) github.com/knadh/koanf/maps v0.1.1 (/Users/work_dir/go_workspace/src/prod/pkg/mod/github.com/knadh/koanf/maps@v0.1.1) go.opentelemetry.io/collector/cmd/builder imports github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver imports go.opentelemetry.io/collector/confmap imports github.com/knadh/koanf/providers/confmap: ambiguous import: found package github.com/knadh/koanf/providers/confmap in multiple modules: github.com/knadh/koanf v1.5.0 (/Users/work_dir/go_workspace/src/pkg/mod/github.com/knadh/koanf@v1.5.0/providers/confmap) github.com/knadh/koanf/providers/confmap v0.1.0 (/Users//work_dir/go_workspace/src/prod/pkg/mod/github.com/knadh/koanf/providers/confmap@v0.1.0)
Steps to Reproduce
Use below configuration yaml to create a collector:
`dist:
name: test # the binary name. Optional.
output_path: ./otel-test # the path to write the output (sources and binary). Optional.
otelcol_version: 0.85.0
As @djaglowski commented, it has been fixed in the latest release, v0.88.0. I'm going to close as fixed, but please let us know if you still hit these errors on v0.88.0.
Component(s)
receiver/syslog
What happened?
Description
When using this receiver to build a custom collector, there are issues happened. The issue is as below:
go: downloading github.com/antonmedv/expr v1.15.0 go: downloading github.com/mostynb/go-grpc-compression v1.2.0 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.43.0 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc go: downloading github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage v0.85.0 go: finding module for package go.opentelemetry.io/collector/processor/batchprocessor go: finding module for package go.opentelemetry.io/collector/exporter/loggingexporter go: found go.opentelemetry.io/collector/exporter/loggingexporter in go.opentelemetry.io/collector/exporter/loggingexporter v0.88.0 go: found go.opentelemetry.io/collector/processor/batchprocessor in go.opentelemetry.io/collector/processor/batchprocessor v0.88.0 go: finding module for package go.opentelemetry.io/collector/otelcol go: found go.opentelemetry.io/collector/otelcol in go.opentelemetry.io/collector/otelcol v0.88.0 go.opentelemetry.io/collector/cmd/builder imports github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver imports go.opentelemetry.io/collector/confmap imports github.com/knadh/koanf/maps: ambiguous import: found package github.com/knadh/koanf/maps in multiple modules: github.com/knadh/koanf v1.5.0 (/Users/work_dir/go_workspace/src/prod/pkg/mod/github.com/knadh/koanf@v1.5.0/maps) github.com/knadh/koanf/maps v0.1.1 (/Users/work_dir/go_workspace/src/prod/pkg/mod/github.com/knadh/koanf/maps@v0.1.1) go.opentelemetry.io/collector/cmd/builder imports github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver imports go.opentelemetry.io/collector/confmap imports github.com/knadh/koanf/providers/confmap: ambiguous import: found package github.com/knadh/koanf/providers/confmap in multiple modules: github.com/knadh/koanf v1.5.0 (/Users/work_dir/go_workspace/src/pkg/mod/github.com/knadh/koanf@v1.5.0/providers/confmap) github.com/knadh/koanf/providers/confmap v0.1.0 (/Users//work_dir/go_workspace/src/prod/pkg/mod/github.com/knadh/koanf/providers/confmap@v0.1.0)
Steps to Reproduce
Use below configuration yaml to create a collector:
`dist:
name: test # the binary name. Optional.
output_path: ./otel-test # the path to write the output (sources and binary). Optional.
otelcol_version: 0.85.0
exporters:
gomod: go.opentelemetry.io/collector v0.85.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter v0.85.0
processors:
gomod: go.opentelemetry.io/collector v0.85.0
receivers:
path: ./cfreceiver
`
Expected Result
The OTEL package should be built.
Actual Result
Error happened.
Collector version
v0.79.0~v0.87.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: