Module Values.ImpactSource

The dollar value of the anomaly.

Sourcetype nonrec t = {
  1. maxImpact : GenericDouble.t option;
    (*

    The maximum dollar value that's observed for an anomaly.

    *)
  2. totalImpact : GenericDouble.t option;
    (*

    The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as TotalActualSpend - TotalExpectedSpend.

    *)
  3. totalActualSpend : NullableNonNegativeDouble.t option;
    (*

    The cumulative dollar amount that was actually spent during the anomaly.

    *)
  4. totalExpectedSpend : NullableNonNegativeDouble.t option;
    (*

    The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.

    *)
  5. totalImpactPercentage : NullableNonNegativeDouble.t option;
    (*

    The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) * 100. When TotalExpectedSpend is zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time.

    *)
}
Sourceval make : ?maxImpact:??? -> ?totalImpact:??? -> ?totalActualSpend:??? -> ?totalExpectedSpend:??? -> ?totalImpactPercentage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of GenericDouble.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