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
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes version v0.25.0 broke compatibility with its previous version v0.24.0 and datadog-agent depends on it. After upgrading dependencies by go get -u ./... command in my project that uses datadog-agent it can't be built.
# github.com/DataDog/datadog-agent/pkg/trace/traceutil
../../../go/pkg/mod/github.com/!data!dog/datadog-agent/pkg/[email protected]/traceutil/otel_util.go:413:46: not enough arguments in call to tr.ResourceToSource
have (context.Context, pcommon.Resource, "go.opentelemetry.io/otel/attribute".Set)
want (context.Context, pcommon.Resource, "go.opentelemetry.io/otel/attribute".Set, "github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes".HostFromAttributesHandler)
Collapse
both the opentelemetry-mapping-go and datadog-agent are projects of DataDog.
Please do:
Fix the datadog-agent.
Don't release incompatible versions of dependencies without switching to a newer major release number (for example v0.24.0 ==> v1.0.0 instead v0.24.0 ==> v0.25.0), so go get -u ./... will not bring them.
Temporary workaround is downgrading opentelemetry-mapping-go by running: go get github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/[email protected]
The text was updated successfully, but these errors were encountered:
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes
version v0.25.0 broke compatibility with its previous version v0.24.0 anddatadog-agent
depends on it. After upgrading dependencies bygo get -u ./...
command in my project that usesdatadog-agent
it can't be built.both the
opentelemetry-mapping-go
anddatadog-agent
are projects of DataDog.Please do:
datadog-agent
.go get -u ./...
will not bring them.Temporary workaround is downgrading opentelemetry-mapping-go by running:
go get github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/[email protected]
The text was updated successfully, but these errors were encountered: