Open agardnerIT opened 3 months ago
thanks for the report @agardnerIT, the policy of go support for the collector is to support N-1 where N is the latest version of go. See https://github.com/open-telemetry/opentelemetry-collector/blob/main/CONTRIBUTING.md#required-tools for more details. As of v0.107.0, the supported versions were go 1.21 and go 1.22
hey @agardnerIT , do you know how come the output shows (devel)
:
2024-08-16T15:50:36.299+1000 INFO internal/command.go:125 OpenTelemetry Collector Builder {"version": "(devel)"}
? shouldn't it be 0.107.0?
@codeboten do you have an idea why this might be also?
I was trying to build a collector with ocb
version 0.96.0 and got this error too. Is there a way to stick with the specific Go version?
I'm following the OCB instructions and getting
invalid value "1.21" for flag -compat
I found this issue so I specified
go:
(whereis go
) but that didn't seem to do anything.`go version
Extended Manifest
I thought it may have been to do with only having a receiver, so I added processors and exporters. Still the same.
Generate default collector
Reading the
man
it suggests that running without--config
will generate a default collector. This also fails, so this bug has nothing to do with the config YAML file: