processdebug

package
v1.2.23 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessDebug

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

ProcessDebug checks if a span has debug values set

func New

func New(next sink) *ProcessDebug

New returns a new ProcessDebug object

func (*ProcessDebug) AddDatapoints

func (p *ProcessDebug) AddDatapoints(ctx context.Context, points []*datapoint.Datapoint) error

AddDatapoints is a passthrough

func (*ProcessDebug) AddEvents

func (p *ProcessDebug) AddEvents(ctx context.Context, events []*event.Event) error

AddEvents is a passthrough

func (*ProcessDebug) AddSpans

func (p *ProcessDebug) AddSpans(ctx context.Context, spans []*trace.Span) error

AddSpans updates the "sampling.priority" span tag and Debug field if either value is set

Jump to

Keyboard shortcuts

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