Module Values.MetricsDataSourceSource

An object that contains details about the data source for the metrics export.

Sourcetype nonrec t = {
  1. dimensions : ExportDimensions.t;
    (*

    An object that contains a mapping between a MetricDimensionName and MetricDimensionValue to filter metrics by. Must contain a least 1 dimension but no more than 3 unique ones.

    *)
  2. namespace : MetricNamespace.t;
    (*

    The metrics namespace - e.g., VDM.

    *)
  3. metrics : ExportMetrics.t;
    (*

    A list of ExportMetric objects to export.

    *)
  4. startDate : Timestamp.t;
    (*

    Represents the start date for the export interval as a timestamp.

    *)
  5. endDate : Timestamp.t;
    (*

    Represents the end date for the export interval as a timestamp.

    *)
}
Sourceval context_ : string
Sourceval make : dimensions:ExportDimensions.t -> namespace:MetricNamespace.t -> metrics:ExportMetrics.t -> startDate:Timestamp.t -> endDate:Timestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string ]) list ] list | `Map of ([> `Enum of string ] * [> `List of [> `String of MetricDimensionValue.t ] list ]) 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