veneur: github.com/stripe/veneur/plugins/localfile Index | Files

package localfile

import "github.com/stripe/veneur/plugins/localfile"

Index

Package Files

localfile.go

Constants

const Delimiter = '\t'

Delimiter defines what kind of delimiter we'll use in the CSV format -- in this case, we want TSV

type Plugin Uses

type Plugin struct {
    FilePath string
    Logger   *logrus.Logger
    // contains filtered or unexported fields
}

Plugin is the LocalFile plugin that we'll use in Veneur

func (*Plugin) Flush Uses

func (p *Plugin) Flush(ctx context.Context, metrics []samplers.InterMetric) error

Flush the metrics from the LocalFilePlugin

func (*Plugin) Name Uses

func (p *Plugin) Name() string

Name is the name of the LocalFilePlugin, i.e., "localfile"

Package localfile imports 11 packages (graph) and is imported by 4 packages. Updated 2018-04-02. Refresh now. Tools for package owners.