Use of deprecated grpc-ecosystem/go-grpc-middleware v1 and grpc-ecosystem/go-grpc-prometheus
marefr opened this issue · comments
Marcus Efraimsson commented
What would you like to be added?
Upgrade grpc-ecosystem/go-grpc-middleware to v2 and migrate grpc-ecosystem/go-grpc-prometheus to grpc-ecosystem/go-grpc-middleware/providers/prometheus.
Why is this needed?
Trying to get rid of deprecated go-grpc-middleware in https://github.com/grafana/grafana and this is the first stop on the path:
go mod why github.com/grpc-ecosystem/go-grpc-middleware
# github.com/grpc-ecosystem/go-grpc-middleware
github.com/grafana/grafana/pkg/apiserver/storage/file
k8s.io/apiserver/pkg/storage/storagebackend
k8s.io/apiserver/pkg/storage/etcd3
k8s.io/apiserver/pkg/storage/etcd3.test
go.etcd.io/etcd/server/v3/embed
go.etcd.io/etcd/server/v3/etcdserver/api/v3rpc
github.com/grpc-ecosystem/go-grpc-middleware