otel: go.opentelemetry.io/otel/example/grpc/middleware/tracing Index | Files

package tracing

import "go.opentelemetry.io/otel/example/grpc/middleware/tracing"


Package Files


func UnaryClientInterceptor Uses

func UnaryClientInterceptor(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error

UnaryClientInterceptor intercepts and injects outgoing trace

func UnaryServerInterceptor Uses

func UnaryServerInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)

UnaryServerInterceptor intercepts and extracts incoming trace data

Package tracing imports 11 packages (graph) and is imported by 2 packages. Updated 2020-02-05. Refresh now. Tools for package owners.