value

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValueParser

type ValueParser struct {
	MetricName  string
	DataType    string
	DefaultTags map[string]string
}

func (*ValueParser) Parse

func (v *ValueParser) Parse(buf []byte) ([]telegraf.Metric, error)

func (*ValueParser) ParseLine

func (v *ValueParser) ParseLine(line string) (telegraf.Metric, error)

func (*ValueParser) SetDefaultTags

func (v *ValueParser) SetDefaultTags(tags map[string]string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL