Skip to content

[Go] Genkit SDK v0.5.1 will not build against dependant otel SDK v1.35.0 #2771

Closed
@ZanzyTHEbar

Description

@ZanzyTHEbar

Describe the bug
Incompatible type for otel sdk in core>tracing>trace_server_exporer.go. This is caused by otel sdk v1.35.0+ deprecating instrumentation.Library in favour of instrumentation.Scope.

This causes builds to fail.

~/go/pkg/mod/github.com/firebase/genkit/[email protected]/core/tracing/trace_server_exporter.go:105:51: cannot convert span.InstrumentationLibrary() (value of struct type instrumentation.Library) to type InstrumentationLibrary

To Reproduce

Deps:

Expected behavior

I expect the code to compile.

Screenshots
If applicable, add screenshots to help explain your problem.

Runtime (please complete the following information):

  • OS: Linux
  • Version: Ubuntu 24.10

** Go version

  • go version go1.24.1 linux/amd64

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggo

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions