Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SamplingStatisticSummary = SamplingStatisticSummary' {
- borrowCount :: Maybe Int
- requestCount :: Maybe Int
- ruleName :: Maybe Text
- sampledCount :: Maybe Int
- timestamp :: Maybe POSIX
- newSamplingStatisticSummary :: SamplingStatisticSummary
- samplingStatisticSummary_borrowCount :: Lens' SamplingStatisticSummary (Maybe Int)
- samplingStatisticSummary_requestCount :: Lens' SamplingStatisticSummary (Maybe Int)
- samplingStatisticSummary_ruleName :: Lens' SamplingStatisticSummary (Maybe Text)
- samplingStatisticSummary_sampledCount :: Lens' SamplingStatisticSummary (Maybe Int)
- samplingStatisticSummary_timestamp :: Lens' SamplingStatisticSummary (Maybe UTCTime)
Documentation
data SamplingStatisticSummary Source #
Aggregated request sampling data for a sampling rule across all services for a 10-second window.
See: newSamplingStatisticSummary
smart constructor.
SamplingStatisticSummary' | |
|
Instances
newSamplingStatisticSummary :: SamplingStatisticSummary Source #
Create a value of SamplingStatisticSummary
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:borrowCount:SamplingStatisticSummary'
, samplingStatisticSummary_borrowCount
- The number of requests recorded with borrowed reservoir quota.
$sel:requestCount:SamplingStatisticSummary'
, samplingStatisticSummary_requestCount
- The number of requests that matched the rule.
$sel:ruleName:SamplingStatisticSummary'
, samplingStatisticSummary_ruleName
- The name of the sampling rule.
$sel:sampledCount:SamplingStatisticSummary'
, samplingStatisticSummary_sampledCount
- The number of requests recorded.
$sel:timestamp:SamplingStatisticSummary'
, samplingStatisticSummary_timestamp
- The start time of the reporting window.
samplingStatisticSummary_borrowCount :: Lens' SamplingStatisticSummary (Maybe Int) Source #
The number of requests recorded with borrowed reservoir quota.
samplingStatisticSummary_requestCount :: Lens' SamplingStatisticSummary (Maybe Int) Source #
The number of requests that matched the rule.
samplingStatisticSummary_ruleName :: Lens' SamplingStatisticSummary (Maybe Text) Source #
The name of the sampling rule.
samplingStatisticSummary_sampledCount :: Lens' SamplingStatisticSummary (Maybe Int) Source #
The number of requests recorded.
samplingStatisticSummary_timestamp :: Lens' SamplingStatisticSummary (Maybe UTCTime) Source #
The start time of the reporting window.