trace

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 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