Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init Pod - Intrumentation Crashed #1079

Closed
baole229801 opened this issue Sep 10, 2024 · 2 comments
Closed

Init Pod - Intrumentation Crashed #1079

baole229801 opened this issue Sep 10, 2024 · 2 comments

Comments

@baole229801
Copy link

I have followed all the instructions, but when running the pod, it crashed. This is the error.

{"level":"error","ts":1725947775.8350706,"logger":"Instrumentation.Manager","caller":"instrumentation/manager.go:200","msg":"error while loading probes, cleaning up","name":"net/http/client","error":"invalid offset for the field in version: net/url.URL:OmitHost (1.18.0)","stacktrace":"go.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).load\n\t/app/internal/pkg/instrumentation/manager.go:200\ngo.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).Run\n\t/app/internal/pkg/instrumentation/manager.go:143\ngo.opentelemetry.io/auto.(*Instrumentation).Run\n\t/app/instrumentation.go:162\nmain.main\n\t/app/cli/main.go:120\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271"}
{"level":"error","ts":1725947776.1756518,"logger":"go.opentelemetry.io/auto","caller":"cli/main.go:121","msg":"instrumentation crashed","error":"invalid offset for the field in version: net/url.URL:OmitHost (1.18.0)","stacktrace":"main.main\n\t/app/cli/main.go:121\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271"}

Anyone know which step I am missing. Thank you.

@lmhinnel
Copy link

Change to go 1.22.1 and otel/autoinstrumentation-go:v0.13.0-alpha. Idk why, but it works.

@MrAlias
Copy link
Contributor

MrAlias commented Nov 21, 2024

Resolved by offsets update as pointed out in #1079 (comment)

@MrAlias MrAlias closed this as completed Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants