telegraf/plugins/serializers/influx/influx.go

13 lines
206 B
Go

package influx
import (
"github.com/influxdata/telegraf/plugins"
)
type InfluxSerializer struct {
}
func (s *InfluxSerializer) Serialize(m plugins.Metric) ([]byte, error) {
return m.Serialize(), nil
}