Module Values.MetricDatumSource

Internal only. Collects Apache Airflow metrics. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.

Sourcetype nonrec t = {
  1. metricName : String_.t;
    (*

    Internal only. The name of the metric.

    *)
  2. timestamp : Timestamp.t;
    (*

    Internal only. The time the metric data was received, expressed as an ISO 8601 datetime string.

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

    Internal only. The dimensions associated with the metric.

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

    Internal only. The value for the metric.

    *)
  5. unit : Unit.t option;
    (*

    Internal only. The unit used to store the metric.

    *)
  6. statisticValues : StatisticSet.t option;
    (*

    Internal only. The statistical values for the metric.

    *)
}
Sourceval context_ : string
Sourceval make : ?dimensions:??? -> ?value:??? -> ?unit:??? -> ?statisticValues:??? -> metricName:String_.t -> timestamp:Timestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Double of Double.t | `Integer of Integer.t ]) list | `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