Telegraf.Serializer behaviour (Telegraf v0.1.0) View Source

Defines a serializer.

The telegraf daemon supports a variety of input data formats. A serializer is responsible to serialize the metrics into a input data format.

Link to this section Summary

Callbacks

Serialize a list of metrics into the input data format expected by the transport.

Link to this section Callbacks

Specs

serialize(metrics :: [Telegraf.Metric.t()]) :: binary()

Serialize a list of metrics into the input data format expected by the transport.