Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeSink ¶
type CompositeSink struct {
// contains filtered or unexported fields
}
CompositeSink is an implementation of Sink that sends spans to each provided individual sink.
func (*CompositeSink) Add ¶
func (cs *CompositeSink) Add(s Sink)
func (*CompositeSink) Start ¶
func (cs *CompositeSink) Start() error
func (*CompositeSink) Stop ¶
func (cs *CompositeSink) Stop() error
type HoneycombSink ¶
type HoneycombSink struct { Writekey string Dataset string APIHost string SampleRate uint DropFields []string // contains filtered or unexported fields }
HoneycombSink implements the Sink interface. It sends spans to the Honeycomb API.
func (*HoneycombSink) Start ¶
func (hs *HoneycombSink) Start() error
func (*HoneycombSink) Stop ¶
func (hs *HoneycombSink) Stop() error
type Sink ¶
Sink is the interface for doing something with Spans, e.g. sending them to Honeycomb or writing them to stdout.
type StdoutSink ¶
type StdoutSink struct{}
StdoutSink implements the Sink interface. It writes span data to stdout.
func (*StdoutSink) Start ¶
func (s *StdoutSink) Start() error
func (*StdoutSink) Stop ¶
func (s *StdoutSink) Stop() error
Click to show internal directories.
Click to hide internal directories.