Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions otlpserver/grpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (

"google.golang.org/grpc"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/reflection"
)

// GrpcServer is a gRPC/OTLP server handle.
Expand All @@ -37,6 +38,8 @@ func NewGrpcServer(cb Callback, stop Stopper) *GrpcServer {

coltracepb.RegisterTraceServiceServer(s.server, &s)

reflection.Register(s.server)

// single place to stop the server, used by timeout and max-spans
go func() {
<-s.stopper
Expand Down