Instream v0.20.0 Instream.Encoder.Line View Source

Encoder module for the line protocol.

Takes a list of points and returns the data string to be passed to the write endpoint of influxdb.

Link to this section Summary

Functions

Creates the write string for a list of data points.

Link to this section Types

Link to this type

point_map() View Source
point_map() :: %{
  :fields => [{term(), term()}],
  :measurement => term(),
  optional(:tags) => [{term(), term()}],
  optional(:timestamp) => term()
}

Link to this section Functions

Creates the write string for a list of data points.