Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfoParser ¶
type FileInfoParser struct { DefaultTags map[string]string // contains filtered or unexported fields }
func NewFileInfoParser ¶
func (*FileInfoParser) Parse ¶
func (p *FileInfoParser) Parse(buf []byte) ([]telegraf.Metric, error)
func (*FileInfoParser) ParseLine ¶
func (p *FileInfoParser) ParseLine(line string) (telegraf.Metric, error)
func (*FileInfoParser) SetDefaultTags ¶
func (p *FileInfoParser) SetDefaultTags(tags map[string]string)
func (*FileInfoParser) SetRelativeDir ¶
func (p *FileInfoParser) SetRelativeDir(dir string)
Provided so that you can accurately calcuate the relative path against A specific source directory
Click to show internal directories.
Click to hide internal directories.