Module Values.TimeSeriesDataPoint

The timeseries data type represents the values of a measure over time. A time series is an array of rows of timestamps and measure values, with rows sorted in ascending order of time. A TimeSeriesDataPoint is a single data point in the time series. It represents a tuple of (time, measure value) in a time series.

Sourcetype nonrec t = {
  1. time : Timestamp.t option;
    (*

    The timestamp when the measure value was collected.

    *)
  2. value : Datum.t option;
    (*

    The measure value for the data point.

    *)
}
Sourceval make : ?time:Timestamp.t -> ?value:Datum.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t