Documentation ¶
Index ¶
- type Config
- type Forwarder
- func (f *Forwarder) AddDatapoints(ctx context.Context, points []*datapoint.Datapoint) error
- func (f *Forwarder) AddEvents(ctx context.Context, events []*event.Event) error
- func (f *Forwarder) AddSpans(ctx context.Context, spans []*trace.Span) error
- func (f *Forwarder) Close() error
- func (f *Forwarder) Datapoints() []*datapoint.Datapoint
- func (f *Forwarder) DebugDatapoints() []*datapoint.Datapoint
- func (f *Forwarder) DebugEndpoints() map[string]http.Handler
- func (f *Forwarder) DefaultDatapoints() []*datapoint.Datapoint
- func (f *Forwarder) Pipeline() int64
- func (f *Forwarder) StartupFinished() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Filters *filtering.FilterObj Filename *string WriteString func(f *os.File, s string) (ret int, err error) }
Config controls the optional configuration of the csv forwarder
type Forwarder ¶
type Forwarder struct { filtering.FilteredForwarder // contains filtered or unexported fields }
Forwarder prints datapoints to a file
func NewForwarder ¶
NewForwarder creates a new filename forwarder
func (*Forwarder) AddDatapoints ¶
AddDatapoints writes the points to a file
func (*Forwarder) Datapoints ¶
Datapoints implements the sfxclient.Collector interface and returns all datapoints
func (*Forwarder) DebugDatapoints ¶
DebugDatapoints returns datapoints that are used for debugging
func (*Forwarder) DebugEndpoints ¶
DebugEndpoints returns no http handlers
func (*Forwarder) DefaultDatapoints ¶
DefaultDatapoints returns a set of default datapoints about the forwarder
func (*Forwarder) StartupFinished ¶
StartupFinished can be called if you want to do something after startup is complete
Click to show internal directories.
Click to hide internal directories.