trace

package
v1.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GRPCTracingUnaryServerInterceptor

func GRPCTracingUnaryServerInterceptor(deps tracingDeps) grpc.UnaryServerInterceptor

GRPCTracingUnaryServerInterceptor is a grpc unary server interceptor that adds trace information of the invoked grpc method and starts a new span

func TracerGRPCClientInterceptor

func TracerGRPCClientInterceptor(deps tracingDeps) grpc.UnaryClientInterceptor

TracerGRPCClientInterceptor is a grpc tracing client interceptor, it can log req/resp if needed

func TracerRESTClientInterceptor

func TracerRESTClientInterceptor(deps tracingDeps) client.HTTPClientInterceptor

TracerRESTClientInterceptor is a REST tracing client interceptor, it can log req/resp if needed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL