import "github.com/signalfx/gateway/protocol/csv"
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 struct { filtering.FilteredForwarder // contains filtered or unexported fields }
Forwarder prints datapoints to a file
NewForwarder creates a new filename forwarder
AddDatapoints writes the points to a file
AddEvents writes the events to a file
AddSpans writes the spans to a file
Close the file we write to
Datapoints implements the sfxclient.Collector interface and returns all datapoints
DebugDatapoints returns datapoints that are used for debugging
DebugEndpoints returns no http handlers
DefaultDatapoints returns a set of default datapoints about the forwarder
Pipeline returns 0 because csvforwarder doesn't buffer
StartupFinished can be called if you want to do something after startup is complete
Package csv imports 13 packages (graph) and is imported by 2 packages. Updated 2019-10-18. Refresh now. Tools for package owners.