tracing

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(opts ...Option) middleware.Middleware

Client returns a new client middleware for OpenTelemetry.

func Server

func Server(opts ...Option) middleware.Middleware

Server returns a new server middleware for OpenTelemetry.

Types

type MetadataCarrier

type MetadataCarrier struct {
	// contains filtered or unexported fields
}

func (MetadataCarrier) Get

func (mc MetadataCarrier) Get(key string) string

func (MetadataCarrier) Keys

func (mc MetadataCarrier) Keys() []string

func (MetadataCarrier) Set

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

type Option

type Option func(*options)

Option is tracing option.

func WithPropagators

func WithPropagators(propagators propagation.TextMapPropagator) Option

func WithTracerProvider

func WithTracerProvider(provider trace.TracerProvider) Option

Jump to

Keyboard shortcuts

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