Module Values.MetricDatapointSource

Describes the metric data point.

Sourcetype nonrec t = {
  1. average : Double.t option;
    (*

    The average.

    *)
  2. maximum : Double.t option;
    (*

    The maximum.

    *)
  3. minimum : Double.t option;
    (*

    The minimum.

    *)
  4. sampleCount : Double.t option;
    (*

    The sample count.

    *)
  5. sum : Double.t option;
    (*

    The sum.

    *)
  6. timestamp : Timestamp.t option;
    (*

    The timestamp (1479816991.349).

    *)
  7. unit : MetricUnit.t option;
    (*

    The unit.

    *)
}
Sourceval make : ?average:??? -> ?maximum:??? -> ?minimum:??? -> ?sampleCount:??? -> ?sum:??? -> ?timestamp:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string | `Timestamp of Timestamp.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