Skip to content

Commit

Permalink
context -> span context
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed Mar 25, 2021
1 parent 6be2edb commit ad1d15f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/apmgrpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewUnaryServerInterceptor(o ...ServerOption) grpc.UnaryServerInterceptor {
tx, ctx := startTransaction(ctx, opts.tracer, info.FullMethod)
defer tx.End()

// TODO(axw) define context schema for RPC,
// TODO(axw) define span context schema for RPC,
// including at least the peer address.

defer func() {
Expand Down Expand Up @@ -128,7 +128,7 @@ func NewStreamServerInterceptor(o ...ServerOption) grpc.StreamServerInterceptor
tx, ctx := startTransaction(ctx, opts.tracer, info.FullMethod)
defer tx.End()

// TODO(axw) define context schema for RPC,
// TODO(axw) define span context schema for RPC,
// including at least the peer address.

defer func() {
Expand Down

0 comments on commit ad1d15f

Please sign in to comment.