Module Values.ExclusionWindowSource

The core SLO time window exclusion object that includes Window, StartTime, RecurrenceRule, and Reason.

Sourcetype nonrec t = {
  1. window : Window.t;
    (*

    The SLO time window exclusion .

    *)
  2. startTime : Timestamp.t option;
    (*

    The start of the SLO time window exclusion. Defaults to current time if not specified.

    *)
  3. recurrenceRule : RecurrenceRule.t option;
    (*

    The recurrence rule for the SLO time window exclusion. Supports both cron and rate expressions.

    *)
  4. reason : ExclusionReason.t option;
    (*

    A description explaining why this time period should be excluded from SLO calculations.

    *)
}
Sourceval context_ : string
Sourceval make : ?startTime:??? -> ?recurrenceRule:??? -> ?reason:??? -> window:Window.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ExclusionReason.t | `Structure of (string * [> `Enum of string | `Integer of ExclusionDuration.t | `String of Expression.t ]) list | `Timestamp of Timestamp.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