Module Values.DatapointSource

Represents a single value in the forecast data used for predictive scaling.

Sourcetype nonrec t = {
  1. timestamp : TimestampType.t option;
    (*

    The time stamp for the data point in UTC format.

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

    The value of the data point.

    *)
}
Sourceval make : ?timestamp:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of MetricScale.t | `Timestamp of TimestampType.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t