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 FieldName string }
func NewValueParser ¶ added in v1.18.3
func NewValueParser(metricName, dataType, fieldName string, defaultTags map[string]string) *ValueParser
func (*ValueParser) ParseLine ¶
func (v *ValueParser) ParseLine(line string) (telegraf.Metric, error)
func (*ValueParser) SetDefaultTags ¶
func (v *ValueParser) SetDefaultTags(tags map[string]string)
Click to show internal directories.
Click to hide internal directories.