trace

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcHeaderCarrier

type GrpcHeaderCarrier metadata.MD

GrpcHeaderCarrier ...

func (GrpcHeaderCarrier) Get

func (mc GrpcHeaderCarrier) Get(key string) string

Get returns the value associated with the passed key.

func (GrpcHeaderCarrier) Keys

func (mc GrpcHeaderCarrier) Keys() []string

Keys lists the keys stored in this carrier.

func (GrpcHeaderCarrier) Set

func (mc GrpcHeaderCarrier) Set(key string, value string)

Set stores the key-value pair.

type OTELInterceptorBuilder

type OTELInterceptorBuilder struct {
	interceptors.Builder
	// contains filtered or unexported fields
}

func NewOTELInterceptorBuilder

func NewOTELInterceptorBuilder(
	serviceName string, peerName string,
	tracer trace.Tracer, propagator propagation.TextMapPropagator) *OTELInterceptorBuilder

func (*OTELInterceptorBuilder) BuildUnaryClientInterceptor

func (b *OTELInterceptorBuilder) BuildUnaryClientInterceptor() grpc.UnaryClientInterceptor

func (*OTELInterceptorBuilder) BuildUnaryServerInterceptor

func (b *OTELInterceptorBuilder) BuildUnaryServerInterceptor() grpc.UnaryServerInterceptor

Jump to

Keyboard shortcuts

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