package influxdb

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

Module Influxdb.FieldSource

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

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

The field as a string in the InfluxDB line protocol

Sourceval v_to_string : field_value -> string

Field value to string

Sourceval float : string -> float -> t

Create field with a float value

Sourceval int : string -> int -> t

Create field with a int value

Sourceval string : string -> string -> t

Create field with a string value

Sourceval bool : string -> bool -> t

Create field with a bool value

OCaml

Innovation. Community. Security.