Module Values.MetricSource

Represents a specific metric.

Sourcetype nonrec t = {
  1. namespace : Namespace.t option;
    (*

    The namespace of the metric.

    *)
  2. metricName : MetricName.t option;
    (*

    The name of the metric. This is a required field.

    *)
  3. dimensions : Dimensions.t option;
    (*

    The dimensions for the metric.

    *)
}
Sourceval make : ?namespace:??? -> ?metricName:??? -> ?dimensions:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of DimensionName.t ]) list ] list | `String of Namespace.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