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
I'm trying to setup golang microservice container + sidecar container in a way it is implemented in e2e tests in this repo. The goal is to try to use feature implemented in PR #523 - try to combine automatic instrumentation with some manually created spans. The sidecar container is not able to start due to the following error:
{"level":"info","ts":1717094019.600399,"logger":"go.opentelemetry.io/auto","caller":"cli/main.go:107","msg":"starting instrumentation..."}
{"level":"info","ts":1717094019.6026487,"logger":"Instrumentation.Manager","caller":"instrumentation/manager.go:191","msg":"Mounting bpffs","allocations_details":{"StartAddr":140693078781952,"EndAddr":140693079306240,"NumCPU":16}}
{"level":"info","ts":1717094019.6041243,"logger":"Instrumentation.Manager","caller":"instrumentation/manager.go:177","msg":"loading probe","name":"go.opentelemetry.io/otel/internal/global/client"}
{"level":"error","ts":1717094019.6054547,"logger":"Instrumentation.Manager","caller":"instrumentation/manager.go:180","msg":"error while loading probes, cleaning up","name":"go.opentelemetry.io/otel/internal/global/client","error":"offset not found: go.opentelemetry.io/otel/internal/global.tracer:delegate (1.27.0)","stacktrace":"go.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).load\n\t/app/internal/pkg/instrumentation/manager.go:180\ngo.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).Run\n\t/app/internal/pkg/instrumentation/manager.go:127\ngo.opentelemetry.io/auto.(*Instrumentation).Run\n\t/app/instrumentation.go:151\nmain.main\n\t/app/cli/main.go:108\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271"}
{"level":"info","ts":1717094019.605531,"logger":"Instrumentation.Manager.go.opentelemetry.io/otel/internal/global/client","caller":"probe/probe.go:213","msg":"Closed","Probe":"go.opentelemetry.io/otel/internal/global/client"}
{"level":"info","ts":1717094019.6055605,"logger":"Instrumentation.Manager.net/http/server","caller":"probe/probe.go:213","msg":"Closed","Probe":"net/http/server"}
{"level":"info","ts":1717094019.6055734,"logger":"Instrumentation.Manager.net/http/client","caller":"probe/probe.go:213","msg":"Closed","Probe":"net/http/client"}
{"level":"info","ts":1717094019.6055799,"logger":"Instrumentation.Manager","caller":"instrumentation/manager.go:205","msg":"Cleaning bpffs"}
{"level":"error","ts":1717094019.605618,"logger":"go.opentelemetry.io/auto","caller":"cli/main.go:109","msg":"instrumentation crashed","error":"offset not found: go.opentelemetry.io/otel/internal/global.tracer:delegate (1.27.0)","stacktrace":"main.main\n\t/app/cli/main.go:109\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271"}
Environment
OS: MacOSX Sonoma 14.5, Docker v26.1.1 (4cf5afa)
Go Version: 1.22.3 (using golang:1.22.3 base image)
Version: Official docker image autoinstrumentation-go:v0.12.0-alpha
The latest released image is not supporting the latest SDK package and latest Go version. (We should release a newer version soon). In addition, the env var used to configure this option was added recently (#849) and will be included in the next release.
cc @MrAlias
@RonFed thank you!
Somehow I thought e2e tests are green here, and the entire #523 is included into 0.12.0-alpha release. This was the primary reason why I decided to use exactly the same versions as in e2e tests in this repo.
PS: just tried to build sidecar image from sources - works like a charm. looking forward to see new release published
Describe the bug
I'm trying to setup golang microservice container + sidecar container in a way it is implemented in e2e tests in this repo. The goal is to try to use feature implemented in PR #523 - try to combine automatic instrumentation with some manually created spans. The sidecar container is not able to start due to the following error:
Environment
golang:1.22.3
base image)autoinstrumentation-go:v0.12.0-alpha
To Reproduce
Expected behavior
sidecar instrument successfully starts
Additional context
Everything worked kinda ok before I tried to add
otel.Tracer()
to my microservice.The text was updated successfully, but these errors were encountered: