package influxdb

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Field represents a key value pair that can be attached to a Point

type field_key = string
type field_value =
  1. | Float of float
  2. | Int of int
  3. | String of string
  4. | Bool of bool
val to_string : t -> string

The field as a string in the InfluxDB line protocol

val v_to_string : field_value -> string

Field value to string

val float : ?name:string -> float -> t

Create field with a float value

val int : ?name:string -> int -> t

Create field with a int value

val string : ?name:string -> string -> t

Create field with a string value

val bool : ?name:string -> bool -> t

Create field with a bool value

OCaml

Innovation. Community. Security.