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
Are you not using Go modules? go-redis should be using the v0.11.0 SDK according to its go.mod. Building it against HEAD is not guaranteed to work and is likely to break intermittently as we work toward 1.0, thus we cannot support it.
Hi @MrAlias If I understand correctly, go-redis should be using the version of go 1.13 and not go 1.11 to run opentelemetry-go ?
If you are using Go <1.14 you need to ensure you are using Go in module mode. From 1.14 module mode is the default. Prior to that you can specify GO111MODULE=on as an environment variable to ensure Go operates in module mode.
I use go-redis, which fails,with the error,
cannot find package "go.opentelemetry.io/otel/api/trace" in any of:
/usr/local/go/src/go.opentelemetry.io/otel/api/trace (from $GOROOT)
/go/src/go.opentelemetry.io/otel/api/trace (from $GOPATH)
The text was updated successfully, but these errors were encountered: