Module Values.EntityMetricDataSource

A set of metrics that are associated with an entity, such as a specific service or resource. Contains the entity and the list of metric data associated with it.

Sourcetype nonrec t = {
  1. entity : Entity.t option;
    (*

    The entity associated with the metrics.

    *)
  2. metricData : MetricData.t option;
    (*

    The metric data.

    *)
}
Sourceval make : ?entity:??? -> ?metricData:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Double of DatapointValue.t | `Enum of string | `Integer of StorageResolution.t | `List of [> `Double of DatapointValue.t | `Structure of (string * [> `String of DimensionName.t ]) list ] list | `String of MetricName.t | `Structure of (string * [> `Double of DatapointValue.t ]) list | `Timestamp of Timestamp.t ]) list ] list | `Structure of (string * [> `Map of ([> `String of EntityKeyAttributesMapKeyString.t ] * [> `String of EntityKeyAttributesMapValueString.t ]) list ]) list ]) 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