telegraf/plugins/serializers/influx/influx.go

13 lines
199 B
Go
Raw Permalink Normal View History

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