Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Point represents a single time series point
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
*)}
val to_line : ?precision:Precision.t -> t -> string
Returns the the point in InfluxDB line protocol format
val create :
?tags:(string * string) list ->
?extra_fields:Field.t list ->
?timestamp:TimestampNS.t ->
field:Field.t ->
string ->
t
Create a new Point