mete v0.1.0 Mete.Protocol View Source

Link to this section Summary

Link to this section Types

Link to this type

field_set()

View Source
field_set() :: [field(), ...]
Link to this type

measurement()

View Source
measurement() :: String.t() | atom()
Link to this type

timestamp()

View Source
timestamp() :: -9_223_372_036_854_775_806..9_223_372_036_854_775_806

Link to this section Functions

Link to this function

encode(measurement, tags, fields)

View Source
encode(measurement(), tag_set(), field_set()) :: iodata()
Link to this function

encode(measurement, tags, fields, timestamp)

View Source
encode(measurement(), tag_set(), field_set(), timestamp() | nil) :: iodata()
Link to this function

encode_field(arg)

View Source
encode_field(field()) :: iodata()
Link to this function

encode_fields(list)

View Source
encode_fields(field_set()) :: iodata()
Link to this function

encode_tags(list)

View Source
encode_tags(tags :: tag_set()) :: iodata()
Link to this function

encode_tailing_fields(list)

View Source
encode_tailing_fields([field()]) :: iodata()
Link to this function

escape_string(arg, acc, original, skip, length, escape)

View Source
escape_string(String.t(), list(), String.t(), integer(), integer(), list()) ::
  iodata()