Add parser processor (#4551)

This commit is contained in:
Ayrdrie
2018-08-22 16:28:50 -07:00
committed by Daniel Nelson
parent e893dc38a2
commit 9f8de25e0e
5 changed files with 841 additions and 1 deletions

View File

@@ -41,7 +41,9 @@ func (b *Builder) SetTime(tm time.Time) {
}
func (b *Builder) Reset() {
b.metric = &metric{}
b.metric = &metric{
tp: telegraf.Untyped,
}
}
func (b *Builder) Metric() (telegraf.Metric, error) {