Module Values.ConditionBasedCollectionSchemeSource

Information about a collection scheme that uses a simple logical expression to recognize what data to collect.

Sourcetype nonrec t = {
  1. expression : EventExpression.t;
    (*

    The logical expression used to recognize what data to collect. For example, $variable.`Vehicle.OutsideAirTemperature` >= 105.0.

    *)
  2. minimumTriggerIntervalMs : Uint32.t option;
    (*

    The minimum duration of time between two triggering events to collect data, in milliseconds. If a signal changes often, you might want to collect data at a slower rate.

    *)
  3. triggerMode : TriggerMode.t option;
    (*

    Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.

    *)
  4. conditionLanguageVersion : LanguageVersion.t option;
    (*

    Specifies the version of the conditional expression language.

    *)
}
Sourceval context_ : string
Sourceval make : ?minimumTriggerIntervalMs:??? -> ?triggerMode:??? -> ?conditionLanguageVersion:??? -> expression:EventExpression.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of LanguageVersion.t | `Long of Uint32.t | `String of EventExpression.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