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
This is generating so many events in cacher it's destroying our tracing budget.
The data generated didn't seem very useful either so let's disable by
default and turn it on on a case-by-case basis.
Signed-off-by: Amy Tobey <atobey@equinix.com>
Copy file name to clipboardExpand all lines: grpc/grpc.go
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ type Option func(*Server)
50
50
// A tls server is setup if keys are provided in either the environment variables GRPC_CERT/GRPC_KEY, or using the X509KeyPair or LoadX509KeyPair helper funcs.
51
51
// Logging is always setup using the provided log.Logger.
52
52
// Prometheus is always setup using the default prom interceptors and Register func.
53
+
// OpenTelemetry is setup for unary servers, but NOT streaming servers. Use StreamingInterceptor to add it if you really want/need it.
53
54
//
54
55
// req is called after the server has been setup.
55
56
// This is where your service is gets registered with grpc, equivalent to pb.RegisterMyServiceServer(s, &myServiceImpl{}).
0 commit comments