Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + type Collector struct + func New(fs afero.Fs, fname string) (*Collector, error) + func (c *Collector) Collect(scs []stats.SampleContainer) + func (c *Collector) GetRequiredSystemTags() stats.SystemTagSet + func (c *Collector) HandleMetric(m *stats.Metric) + func (c *Collector) HasSeenMetric(str string) bool + func (c *Collector) Init() error + func (c *Collector) Link() string + func (c *Collector) Run(ctx context.Context) + func (c *Collector) SetRunStatus(status lib.RunStatus) + type Envelope struct + Data interface{} + Metric string + Type string + func WrapMetric(metric *stats.Metric) *Envelope + func WrapSample(sample *stats.Sample) *Envelope + type JSONSample struct + Tags *stats.SampleTags + Time time.Time + Value float64 + func NewJSONSample(sample *stats.Sample) *JSONSample