Documentation
¶
Overview ¶
Package rpctracer implements a gRPC tracing middleware.
Index ¶
Constants ¶
View Source
const TracerHook = "tracer"
TracerHook is the name of the namespace hook.
Variables ¶
This section is empty.
Functions ¶
func StreamTracerHook ¶
func StreamTracerHook(name string, opts ...trace.TracerOption) hooks.StreamHandlerMiddleware
StreamTracerHook adds the tracer to the context of the stream.
func UnaryTracerHook ¶
func UnaryTracerHook(name string, opts ...trace.TracerOption) hooks.UnaryHandlerMiddleware
UnaryTracerHook adds the tracer to the context of the unary call.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.