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

undefined: otel.Meter #1660

Closed
antichown opened this issue Feb 13, 2021 · 2 comments
Closed

undefined: otel.Meter #1660

antichown opened this issue Feb 13, 2021 · 2 comments

Comments

@antichown
Copy link

antichown commented Feb 13, 2021

go get github.com/go-redis/redis

github.com/go-redis/redis/internal
/home/linux/go/src/github.com/go-redis/redis/internal/instruments.go:24:23: undefined: otel.Meter

go version
go version go1.15.8 linux/amd64

@staropram
Copy link

seems like otel.Meter has moved to "go.opentelemetry.io/otel/metric/global" and then has to be called as global.Meter

@vmihailenco
Copy link
Collaborator

@staropram no, it is not - https://pkg.go.dev/go.opentelemetry.io/otel/

This is a varation of #1534

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