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 Pattern = Pattern' {
- thresholdPercent :: Maybe Double
- targetFrames :: Maybe [[Text]]
- countersToAggregate :: Maybe [Text]
- name :: Maybe Text
- resolutionSteps :: Maybe Text
- id :: Maybe Text
- description :: Maybe Text
- newPattern :: Pattern
- pattern_thresholdPercent :: Lens' Pattern (Maybe Double)
- pattern_targetFrames :: Lens' Pattern (Maybe [[Text]])
- pattern_countersToAggregate :: Lens' Pattern (Maybe [Text])
- pattern_name :: Lens' Pattern (Maybe Text)
- pattern_resolutionSteps :: Lens' Pattern (Maybe Text)
- pattern_id :: Lens' Pattern (Maybe Text)
- pattern_description :: Lens' Pattern (Maybe Text)
Documentation
A set of rules used to make a recommendation during an analysis.
See: newPattern
smart constructor.
Pattern' | |
|
Instances
newPattern :: Pattern Source #
Create a value of Pattern
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:thresholdPercent:Pattern'
, pattern_thresholdPercent
- The percentage of time an application spends in one method that triggers
a recommendation. The percentage of time is the same as the percentage
of the total gathered sample counts during analysis.
$sel:targetFrames:Pattern'
, pattern_targetFrames
- A list of frame names that were searched during the analysis that
generated a recommendation.
$sel:countersToAggregate:Pattern'
, pattern_countersToAggregate
- A list of the different counters used to determine if there is a match.
$sel:name:Pattern'
, pattern_name
- The name for this pattern.
$sel:resolutionSteps:Pattern'
, pattern_resolutionSteps
- A string that contains the steps recommended to address the potential
inefficiency.
$sel:id:Pattern'
, pattern_id
- The universally unique identifier (UUID) of this pattern.
$sel:description:Pattern'
, pattern_description
- The description of the recommendation. This explains a potential
inefficiency in a profiled application.
pattern_thresholdPercent :: Lens' Pattern (Maybe Double) Source #
The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.
pattern_targetFrames :: Lens' Pattern (Maybe [[Text]]) Source #
A list of frame names that were searched during the analysis that generated a recommendation.
pattern_countersToAggregate :: Lens' Pattern (Maybe [Text]) Source #
A list of the different counters used to determine if there is a match.
pattern_resolutionSteps :: Lens' Pattern (Maybe Text) Source #
A string that contains the steps recommended to address the potential inefficiency.