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.
Click to show internal directories.
Click to hide internal directories.