trace

package
v1.0.33 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 14 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