Values.AlarmPromQLCriteriaSourceContains the configuration that determines how a PromQL alarm evaluates its contributors, including the query to run and the durations that define when contributors transition between states.
type nonrec t = {query : Query.t;The PromQL query that the alarm evaluates. The query must return a result of vector type. Each entry in the vector result represents an alarm contributor.
*)pendingPeriod : PendingPeriod.t option;The duration, in seconds, that a contributor must be continuously breaching before it transitions to the ALARM state.
*)recoveryPeriod : RecoveryPeriod.t option;The duration, in seconds, that a contributor must continuously not be breaching before it transitions back to the OK state.
*)}val to_value :
t ->
[> `Structure of
(string * [> `Integer of PendingPeriod.t | `String of Query.t ]) list ]