Module Values.MetricDataResultSource

The result of a single metric data query.

Sourcetype nonrec t = {
  1. id : QueryIdentifier.t option;
    (*

    The query identifier.

    *)
  2. timestamps : TimestampList.t option;
    (*

    A list of timestamps for the metric data results.

    *)
  3. values : MetricValueList.t option;
    (*

    A list of values (cumulative / sum) for the metric data results.

    *)
}
Sourceval make : ?id:??? -> ?timestamps:??? -> ?values:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Long of Counter.t | `Timestamp of Timestamp.t ] list | `String of QueryIdentifier.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