From 413b13dd8dcd853aba1523c30db48f3b6c806cc8 Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Thu, 30 May 2024 23:30:23 +0000 Subject: [PATCH] Revert "vendor: golang.org/x/net@v0.19.0" This reverts commit 4e6335ebdf3ba54bf89d652c326b2127dd88639f. --- services/server/server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/server/server.go b/services/server/server.go index 038389514cb7..b4eb6d4eee49 100644 --- a/services/server/server.go +++ b/services/server/server.go @@ -126,12 +126,13 @@ func New(ctx context.Context, config *srvconfig.Config) (*Server, error) { } serverOpts := []grpc.ServerOption{ - grpc.StatsHandler(otelgrpc.NewServerHandler()), grpc.StreamInterceptor(grpc_middleware.ChainStreamServer( + otelgrpc.StreamServerInterceptor(), grpc_prometheus.StreamServerInterceptor, streamNamespaceInterceptor, )), grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer( + otelgrpc.UnaryServerInterceptor(), grpc_prometheus.UnaryServerInterceptor, unaryNamespaceInterceptor, )),