Module Values_0.MetricValueSource

Represents a single metric value with its associated statistic, such as the sum or average of unused capacity hours.

Sourcetype nonrec t = {
  1. metric : Metric.t option;
    (*

    The name of the metric.

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

    The numerical value of the metric for the specified statistic and time period.

    *)
}
Sourceval make : ?metric:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string ]) 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