otel

package
v1.86.30 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamClientInterceptor

func StreamClientInterceptor(tracer Tracer) grpc.StreamClientInterceptor

StreamClientInterceptor for otel.

func StreamServerInterceptor

func StreamServerInterceptor(tracer Tracer) grpc.StreamServerInterceptor

StreamServerInterceptor for otel.

func UnaryClientInterceptor

func UnaryClientInterceptor(tracer Tracer) grpc.UnaryClientInterceptor

UnaryClientInterceptor for otel.

func UnaryServerInterceptor

func UnaryServerInterceptor(tracer Tracer) grpc.UnaryServerInterceptor

UnaryServerInterceptor for otel.

Types

type Tracer

type Tracer trace.Tracer

Tracer for otel.

func NewTracer

func NewTracer(params TracerParams) (Tracer, error)

NewTracer for otel.

type TracerParams

type TracerParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *otel.Config
	Version   version.Version
}

TracerParams for otel.

Jump to

Keyboard shortcuts

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