InflexDB v0.1.2 InflexDB.Point View Source

Struct represeting a point in InfluxDB. Checkout the line protocol tutorial and reference for more details.

Example

The following point:

%InflexDB.Point{
  measurement: "weather",
  tag_set: %{location: "us-midwest", season: "summer"},
  field_set: %{temperature: 82},
  timestamp: 1465839830100400200
}

Will produce the following InfluxDB point:

weather,location=us-midwest,season=summer temperature=82 1465839830100400200

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %InflexDB.Point{
  field_set: map(),
  measurement: String.t(),
  tag_set: map(),
  timestamp: integer() | nil
}