otelutil

package
v27.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.

Jump to

Keyboard shortcuts

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