Module Values.SamplingRateBoostSource

Enable temporary sampling rate increases when you detect anomalies to improve visibility.

Sourcetype nonrec t = {
  1. maxRate : MaxRate.t;
    (*

    Defines max temporary sampling rate to apply when a boost is triggered. Calculated boost rate by X-Ray will be less than or equal to this max rate.

    *)
  2. cooldownWindowMinutes : CooldownWindowMinutes.t;
    (*

    Sets the time window (in minutes) in which only one sampling rate boost can be triggered. After a boost occurs, no further boosts are allowed until the next window.

    *)
}
Sourceval context_ : string
Sourceval make : maxRate:MaxRate.t -> cooldownWindowMinutes:CooldownWindowMinutes.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of MaxRate.t | `Integer of CooldownWindowMinutes.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