lightstep

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LightStepSpanSink

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

LightStepSpanSink is a sink for spans to be sent to the LightStep client.

func NewLightStepSpanSink

func NewLightStepSpanSink(collector string, reconnectPeriod string, maximumSpans int, numClients int, accessToken string, stats *statsd.Client, commonTags map[string]string, log *logrus.Logger) (*LightStepSpanSink, error)

NewLightStepSpanSink creates a new instance of a LightStepSpanSink.

func (*LightStepSpanSink) Flush

func (ls *LightStepSpanSink) Flush()

Flush doesn't need to do anything to the LS tracer, so we emit metrics instead.

func (*LightStepSpanSink) Ingest

func (ls *LightStepSpanSink) Ingest(ssfSpan *ssf.SSFSpan) error

Ingest takes in a span and passed it along to the LS client after some sanity checks and improvements are made.

func (*LightStepSpanSink) Name

func (ls *LightStepSpanSink) Name() string

Name returns this sink's name.

func (*LightStepSpanSink) Start

func (ls *LightStepSpanSink) Start(cl *trace.Client) error

Jump to

Keyboard shortcuts

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