package otelutil
import "github.com/dotcloud/docker/internal/otelutil"
Index ¶
- func NewTracerProvider(ctx context.Context, allowNoop bool) (trace.TracerProvider, func(context.Context) error)
- type EnvironCarrier
Functions ¶
func NewTracerProvider ¶
func NewTracerProvider(ctx context.Context, allowNoop bool) (trace.TracerProvider, func(context.Context) error)
Types ¶
type EnvironCarrier ¶
type EnvironCarrier struct { TraceParent, TraceState string }
func PropagateFromEnvironment ¶
func PropagateFromEnvironment() *EnvironCarrier
func (*EnvironCarrier) Environ ¶
func (c *EnvironCarrier) Environ() []string
func (*EnvironCarrier) Get ¶
func (c *EnvironCarrier) Get(key string) string
Get returns the value associated with the passed key.
func (*EnvironCarrier) Keys ¶
func (c *EnvironCarrier) Keys() []string
Keys lists the keys stored in this carrier.
func (*EnvironCarrier) Set ¶
func (c *EnvironCarrier) Set(key, value string)
Set stores the key-value pair.
Source Files ¶
environ_carrier.go provider.go
- Version
- v28.0.1+incompatible
- Published
- Feb 26, 2025
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 11 minutes ago –
Tools for package owners.