Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶ added in v1.24.0
type Parser struct { DataType string `toml:"data_type"` FieldName string `toml:"value_field_name"` MetricName string `toml:"-"` DefaultTags map[string]string `toml:"-"` }
func (*Parser) InitFromConfig ¶ added in v1.24.0
InitFromConfig is a compatibility function to construct the parser the old way
func (*Parser) SetDefaultTags ¶ added in v1.24.0
Click to show internal directories.
Click to hide internal directories.