Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SamplingTargetDocument = SamplingTargetDocument' {}
- newSamplingTargetDocument :: SamplingTargetDocument
- samplingTargetDocument_reservoirQuota :: Lens' SamplingTargetDocument (Maybe Int)
- samplingTargetDocument_ruleName :: Lens' SamplingTargetDocument (Maybe Text)
- samplingTargetDocument_fixedRate :: Lens' SamplingTargetDocument (Maybe Double)
- samplingTargetDocument_interval :: Lens' SamplingTargetDocument (Maybe Int)
- samplingTargetDocument_reservoirQuotaTTL :: Lens' SamplingTargetDocument (Maybe UTCTime)
Documentation
data SamplingTargetDocument Source #
Temporary 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.
See: newSamplingTargetDocument
smart constructor.
SamplingTargetDocument' | |
|
Instances
newSamplingTargetDocument :: SamplingTargetDocument Source #
Create a value of SamplingTargetDocument
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservoirQuota:SamplingTargetDocument'
, samplingTargetDocument_reservoirQuota
- The number of requests per second that X-Ray allocated for this service.
$sel:ruleName:SamplingTargetDocument'
, samplingTargetDocument_ruleName
- The name of the sampling rule.
$sel:fixedRate:SamplingTargetDocument'
, samplingTargetDocument_fixedRate
- The percentage of matching requests to instrument, after the reservoir
is exhausted.
$sel:interval:SamplingTargetDocument'
, samplingTargetDocument_interval
- The number of seconds for the service to wait before getting sampling
targets again.
$sel:reservoirQuotaTTL:SamplingTargetDocument'
, samplingTargetDocument_reservoirQuotaTTL
- When the reservoir quota expires.
samplingTargetDocument_reservoirQuota :: Lens' SamplingTargetDocument (Maybe Int) Source #
The number of requests per second that X-Ray allocated for this service.
samplingTargetDocument_ruleName :: Lens' SamplingTargetDocument (Maybe Text) Source #
The name of the sampling rule.
samplingTargetDocument_fixedRate :: Lens' SamplingTargetDocument (Maybe Double) Source #
The percentage of matching requests to instrument, after the reservoir is exhausted.
samplingTargetDocument_interval :: Lens' SamplingTargetDocument (Maybe Int) Source #
The number of seconds for the service to wait before getting sampling targets again.
samplingTargetDocument_reservoirQuotaTTL :: Lens' SamplingTargetDocument (Maybe UTCTime) Source #
When the reservoir quota expires.