Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoMetric = fmt.Errorf("no metric in line")
)
Functions ¶
This section is empty.
Types ¶
type Parser ¶
Parser decodes logfmt formatted messages into metrics.
func (*Parser) SetDefaultTags ¶
SetDefaultTags adds tags to the metrics outputs of Parse and ParseLine.
Click to show internal directories.
Click to hide internal directories.