Values.SamplingBoostStatisticsDocumentSourceRequest anomaly stats for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.
type nonrec t = {ruleName : RuleName.t;The name of the sampling rule.
*)serviceName : ServiceName.t;Matches the name that the service uses to identify itself in segments.
*)timestamp : Timestamp.t;The current time.
*)anomalyCount : AnomalyCount.t;The number of requests with anomaly.
*)totalCount : TotalCount.t;The number of requests that associated to the rule.
*)sampledAnomalyCount : SampledAnomalyCount.t;The number of requests with anomaly recorded.
*)}val make :
ruleName:RuleName.t ->
serviceName:ServiceName.t ->
timestamp:Timestamp.t ->
anomalyCount:AnomalyCount.t ->
totalCount:TotalCount.t ->
sampledAnomalyCount:SampledAnomalyCount.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of AnomalyCount.t
| `String of RuleName.t
| `Timestamp of Timestamp.t ])
list ]