Versions in this module Expand all Collapse all v1 v1.2.0 Mar 24, 2017 Changes in this version + const DefaultSeparator + var MaxDate = time.Date(2038, 1, 19, 0, 0, 0, 0, time.UTC) + var MinDate = time.Date(1901, 12, 13, 0, 0, 0, 0, time.UTC) + func NewTemplate(pattern string, defaultTags map[string]string, separator string) (*template, error) + type Config struct + Separator string + Templates []string + func (c *Config) Validate() error + type GraphiteParser struct + DefaultTags map[string]string + Separator string + Templates []string + func NewGraphiteParser(separator string, templates []string, defaultTags map[string]string) (*GraphiteParser, error) + func (p *GraphiteParser) ApplyTemplate(line string) (string, map[string]string, string, error) + func (p *GraphiteParser) Parse(buf []byte) ([]telegraf.Metric, error) + func (p *GraphiteParser) ParseLine(line string) (telegraf.Metric, error) + func (p *GraphiteParser) SetDefaultTags(tags map[string]string) + type UnsupposedValueError struct + Field string + Value float64 + func (err *UnsupposedValueError) Error() string