Module Values.EvaluationCriteriaSource

The evaluation criteria for an alarm. This is a union type that currently supports PromQLCriteria.

Sourcetype nonrec t = {
  1. promQLCriteria : AlarmPromQLCriteria.t option;
    (*

    The PromQL criteria for the alarm evaluation.

    *)
}
Sourceval make : ?promQLCriteria:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of PendingPeriod.t | `String of Query.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