Module Values_0.MetricToRetainSource

The metric you want to retain. Dimensions are optional.

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

    What is measured by the behavior.

    *)
  2. metricDimension : MetricDimension.t option;
    (*

    The dimension of a metric. This can't be used with custom metrics.

    *)
  3. exportMetric : ExportMetric.t option;
    (*

    The value indicates exporting metrics related to the MetricToRetain when it's true.

    *)
}
Sourceval context_ : string
Sourceval make : ?metricDimension:??? -> ?exportMetric:??? -> metric:BehaviorMetric.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of ExportMetric.t | `String of BehaviorMetric.t | `Structure of (string * [> `Enum of string | `String of DimensionName.t ]) 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