gtrace

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientHandler added in v0.8.1

func ClientHandler(opts ...grpctrace.Option) stats.Handler

ClientHandler instead of {Stream,Unary}ClientInterceptor - use with grpc.WithStatsHandler

func Extract

func Extract(ctx context.Context, metadata *metadata.MD, opts ...grpctrace.Option) (baggage.Baggage, trace.SpanContext)

func Inject

func Inject(ctx context.Context, metadata *metadata.MD, opts ...grpctrace.Option)

func ServerHandler added in v0.8.1

func ServerHandler(opts ...grpctrace.Option) stats.Handler

ServerHandler instead of {Stream,Unary}ServerInterceptor - use with grpc.StatsHandler

func WithPropagators added in v0.0.10

func WithPropagators(p propagation.TextMapPropagator) grpctrace.Option

func WithTracerProvider added in v0.0.10

func WithTracerProvider(tp trace.TracerProvider) grpctrace.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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