package influxdb
Module Influxdb.PointSource
Point represents a single time series point
Source
type t = {name : string;(*The name of the series this point belongs to
*)field : Field.t;(*At least one field is required, usually with a key of "value"
*)extra_fields : Field.t list;(*Additional fields
*)timestamp : TimestampNS.t option;(*If None, a timestamp will be assigned by InfluxDB
*)
}Returns the the point in InfluxDB line protocol format
Source
val create :
?tags:(string * string) list ->
?extra_fields:Field.t list ->
?timestamp:TimestampNS.t ->
field:Field.t ->
string ->
tCreate a new Point