Module Values_0.MetricDimensionSource

The dimension of a metric.

Sourcetype nonrec t = {
  1. dimensionName : DimensionName.t;
    (*

    A unique identifier for the dimension.

    *)
  2. operator : DimensionValueOperator.t option;
    (*

    Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic filters. With NOT_IN operator, a message will be counted only if it doesn't match any of the topic filters. The operator is optional: if it's not provided (is null), it will be interpreted as IN.

    *)
}
Sourceval context_ : string
Sourceval make : ?operator:??? -> dimensionName:DimensionName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DimensionName.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