View Source Mete.Protocol (mete v2.1.0)

Implementation of the InfluxDB line protocol.

Link to this section Summary

Link to this section Types

@type field() :: {field_key(), value()}
@type field_key() :: String.t() | atom()
@type field_set() :: [field(), ...]
@type measurement() :: String.t() | atom()
@type tag_set() :: keyword(type_value())
@type timestamp() :: -9_223_372_036_854_775_806..9_223_372_036_854_775_806
@type type_value() :: String.t() | atom()
@type value() :: float() | integer() | boolean() | String.t() | atom()

Link to this section Functions

@spec encode_field(field()) :: iodata()
@spec encode_fields(field_set()) :: iodata()
Link to this function

encode_tailing_fields(list)

View Source
@spec encode_tailing_fields([field()]) :: iodata()