spanprocessor

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sampled

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

func NewSampled

func NewSampled(
	processor tracesdk.SpanProcessor,
	sampler tracesdk.Sampler,
) *Sampled

func (*Sampled) ForceFlush

func (p *Sampled) ForceFlush(ctx context.Context) error

func (*Sampled) OnEnd

func (p *Sampled) OnEnd(span tracesdk.ReadOnlySpan)

func (*Sampled) OnStart

func (p *Sampled) OnStart(parent context.Context, span tracesdk.ReadWriteSpan)

func (*Sampled) Shutdown

func (p *Sampled) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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