influxdb

InfluxDB client library
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library influxdb
Module Influxdb . 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"

*)
tags : (string * string) list;(*

Optional key / value pair tags

*)
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