Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrKeyAlreadyExists = errors.New("key already exists") ErrKeyNotFound = errors.New("key not found") )
View Source
var (
Enabled = false
)
Functions ¶
func TraceProvider ¶
func TraceProvider(perspective string) (trace.TracerProvider, error)
Types ¶
type KeyValueSpansPropagator ¶
type KeyValueSpansPropagator struct {
// contains filtered or unexported fields
}
func NewKeyValueSpansPropagator ¶
func NewKeyValueSpansPropagator(serializedMap string) *KeyValueSpansPropagator
func (*KeyValueSpansPropagator) Inject ¶
func (p *KeyValueSpansPropagator) Inject(ctx context.Context, key string) error
func (*KeyValueSpansPropagator) Serialize ¶
func (p *KeyValueSpansPropagator) Serialize() string
Click to show internal directories.
Click to hide internal directories.