tracer

package
v1.134.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Unlicense Imports: 20 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamClientInterceptor

func StreamClientInterceptor(tracer Tracer) grpc.StreamClientInterceptor

StreamClientInterceptor for tracer.

func StreamServerInterceptor

func StreamServerInterceptor(tracer Tracer) grpc.StreamServerInterceptor

StreamServerInterceptor for tracer.

func UnaryClientInterceptor

func UnaryClientInterceptor(tracer Tracer) grpc.UnaryClientInterceptor

UnaryClientInterceptor for tracer.

func UnaryServerInterceptor

func UnaryServerInterceptor(tracer Tracer) grpc.UnaryServerInterceptor

UnaryServerInterceptor for tracer.

Types

type Params

type Params struct {
	fx.In

	Lifecycle   fx.Lifecycle
	Config      *tracer.Config
	Environment env.Environment
	Version     version.Version
}

Params for tracer.

type Tracer

type Tracer trace.Tracer

Tracer for tracer.

func NewTracer

func NewTracer(params Params) (Tracer, error)

NewTracer for tracer.

Jump to

Keyboard shortcuts

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