Module Values.InsightRuleMetricDatapointSource

One data point from the metric time series returned in a Contributor Insights rule report. For more information, see GetInsightRuleReport.

Sourcetype nonrec t = {
  1. timestamp : Timestamp.t option;
    (*

    The timestamp of the data point.

    *)
  2. uniqueContributors : InsightRuleUnboundDouble.t option;
    (*

    The number of unique contributors who published data during this timestamp. This statistic is returned only if you included it in the Metrics array in your request.

    *)
  3. maxContributorValue : InsightRuleUnboundDouble.t option;
    (*

    The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp. This statistic is returned only if you included it in the Metrics array in your request.

    *)
  4. sampleCount : InsightRuleUnboundDouble.t option;
    (*

    The number of occurrences that matched the rule during this data point. This statistic is returned only if you included it in the Metrics array in your request.

    *)
  5. average : InsightRuleUnboundDouble.t option;
    (*

    The average value from all contributors during the time period represented by that data point. This statistic is returned only if you included it in the Metrics array in your request.

    *)
  6. sum : InsightRuleUnboundDouble.t option;
    (*

    The sum of the values from all contributors during the time period represented by that data point. This statistic is returned only if you included it in the Metrics array in your request.

    *)
  7. minimum : InsightRuleUnboundDouble.t option;
    (*

    The minimum value from a single contributor during the time period represented by that data point. This statistic is returned only if you included it in the Metrics array in your request.

    *)
  8. maximum : InsightRuleUnboundDouble.t option;
    (*

    The maximum value from a single occurence from a single contributor during the time period represented by that data point. This statistic is returned only if you included it in the Metrics array in your request.

    *)
}
Sourceval make : ?timestamp:??? -> ?uniqueContributors:??? -> ?maxContributorValue:??? -> ?sampleCount:??? -> ?average:??? -> ?sum:??? -> ?minimum:??? -> ?maximum:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of InsightRuleUnboundDouble.t | `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