Values.SamplingTargetDocumentSourceTemporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on the recent sampling results of all services that called GetSamplingTargets.
type nonrec t = {ruleName : String_.t option;The name of the sampling rule.
*)fixedRate : Double.t option;The percentage of matching requests to instrument, after the reservoir is exhausted.
*)reservoirQuota : NullableInteger.t option;The number of requests per second that X-Ray allocated for this service.
*)reservoirQuotaTTL : Timestamp.t option;When the reservoir quota expires.
*)interval : NullableInteger.t option;The number of seconds for the service to wait before getting sampling targets again.
*)samplingBoost : SamplingBoost.t option;The sampling boost that X-Ray allocated for this service.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Double of Double.t
| `Integer of NullableInteger.t
| `String of String_.t
| `Structure of
(string * [> `Double of Double.t | `Timestamp of Timestamp.t ])
list
| `Timestamp of Timestamp.t ])
list ]