Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + func IsStringInSlice(slice []string, str string) bool + func MakeHeader(tags []string) []string + func SampleToRow(sample *stats.Sample, resTags []string, ignoredTags []string, row []string) []string + type Collector struct + func New(fs afero.Fs, tags stats.TagSet, config Config) (*Collector, error) + func (c *Collector) Collect(scs []stats.SampleContainer) + func (c *Collector) GetRequiredSystemTags() stats.SystemTagSet + func (c *Collector) Init() error + func (c *Collector) Link() string + func (c *Collector) Run(ctx context.Context) + func (c *Collector) SetRunStatus(status lib.RunStatus) + func (c *Collector) WriteToFile() + type Config struct + FileName null.String + SaveInterval types.NullDuration + func NewConfig() Config + func ParseArg(arg string) (Config, error) + func (c Config) Apply(cfg Config) Config