| 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 |
Amazonka.Pi.Types.ResponseResourceMetricKey
Description
Synopsis
Documentation
data ResponseResourceMetricKey Source #
An object describing a Performance Insights metric and one or more dimensions for that metric.
See: newResponseResourceMetricKey smart constructor.
Constructors
| ResponseResourceMetricKey' | |
Fields
| |
Instances
newResponseResourceMetricKey Source #
Create a value of ResponseResourceMetricKey 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:dimensions:ResponseResourceMetricKey', responseResourceMetricKey_dimensions - The valid dimensions for the metric.
$sel:metric:ResponseResourceMetricKey', responseResourceMetricKey_metric - The name of a Performance Insights metric to be measured.
Valid values for Metric are:
db.load.avg- A scaled representation of the number of active sessions for the database engine.db.sampledload.avg- The raw number of active sessions for the database engine.- The counter metrics listed in Performance Insights operating system counters in the Amazon Aurora User Guide.
If the number of active sessions is less than an internal Performance
Insights threshold, db.load.avg and db.sampledload.avg are the same
value. If the number of active sessions is greater than the internal
threshold, Performance Insights samples the active sessions, with
db.load.avg showing the scaled values, db.sampledload.avg showing
the raw values, and db.sampledload.avg less than db.load.avg. For
most use cases, you can query db.load.avg only.
responseResourceMetricKey_dimensions :: Lens' ResponseResourceMetricKey (Maybe (HashMap Text Text)) Source #
The valid dimensions for the metric.
responseResourceMetricKey_metric :: Lens' ResponseResourceMetricKey Text Source #
The name of a Performance Insights metric to be measured.
Valid values for Metric are:
db.load.avg- A scaled representation of the number of active sessions for the database engine.db.sampledload.avg- The raw number of active sessions for the database engine.- The counter metrics listed in Performance Insights operating system counters in the Amazon Aurora User Guide.
If the number of active sessions is less than an internal Performance
Insights threshold, db.load.avg and db.sampledload.avg are the same
value. If the number of active sessions is greater than the internal
threshold, Performance Insights samples the active sessions, with
db.load.avg showing the scaled values, db.sampledload.avg showing
the raw values, and db.sampledload.avg less than db.load.avg. For
most use cases, you can query db.load.avg only.