Documentation ¶
Index ¶
- func WrapStatsHandler(delegate stats.Handler, spanFromContext sdk.SpanFromContext) stats.Handler
- func WrapUnaryClientInterceptor(delegateInterceptor grpc.UnaryClientInterceptor, ...) grpc.UnaryClientInterceptor
- func WrapUnaryServerInterceptor(delegateInterceptor grpc.UnaryServerInterceptor, ...) grpc.UnaryServerInterceptor
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapStatsHandler ¶
WrapStatsHandler wraps an instrumented StatsHandler and returns a new one that records the request/response body and metadata.
func WrapUnaryClientInterceptor ¶
func WrapUnaryClientInterceptor(delegateInterceptor grpc.UnaryClientInterceptor, spanFromContext sdk.SpanFromContext, spanAttributes map[string]string) grpc.UnaryClientInterceptor
WrapUnaryClientInterceptor returns an interceptor that records the request and response message's body and serialize it as JSON.
func WrapUnaryServerInterceptor ¶
func WrapUnaryServerInterceptor( delegateInterceptor grpc.UnaryServerInterceptor, spanFromContext sdk.SpanFromContext, options *Options, spanAttributes map[string]string, ) grpc.UnaryServerInterceptor
WrapUnaryServerInterceptor returns an interceptor that records the request and response message's body and serialize it as JSON
Types ¶
Click to show internal directories.
Click to hide internal directories.