| 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.ElasticBeanstalk.Types.ApplicationMetrics
Description
Synopsis
- data ApplicationMetrics = ApplicationMetrics' {}
- newApplicationMetrics :: ApplicationMetrics
- applicationMetrics_duration :: Lens' ApplicationMetrics (Maybe Int)
- applicationMetrics_latency :: Lens' ApplicationMetrics (Maybe Latency)
- applicationMetrics_requestCount :: Lens' ApplicationMetrics (Maybe Int)
- applicationMetrics_statusCodes :: Lens' ApplicationMetrics (Maybe StatusCodes)
Documentation
data ApplicationMetrics Source #
Application request metrics for an AWS Elastic Beanstalk environment.
See: newApplicationMetrics smart constructor.
Constructors
| ApplicationMetrics' | |
Fields
| |
Instances
newApplicationMetrics :: ApplicationMetrics Source #
Create a value of ApplicationMetrics 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:duration:ApplicationMetrics', applicationMetrics_duration - The amount of time that the metrics cover (usually 10 seconds). For
example, you might have 5 requests (request_count) within the most
recent time slice of 10 seconds (duration).
$sel:latency:ApplicationMetrics', applicationMetrics_latency - Represents the average latency for the slowest X percent of requests
over the last 10 seconds. Latencies are in seconds with one millisecond
resolution.
$sel:requestCount:ApplicationMetrics', applicationMetrics_requestCount - Average number of requests handled by the web server per second over the
last 10 seconds.
$sel:statusCodes:ApplicationMetrics', applicationMetrics_statusCodes - Represents the percentage of requests over the last 10 seconds that
resulted in each type of status code response.
applicationMetrics_duration :: Lens' ApplicationMetrics (Maybe Int) Source #
The amount of time that the metrics cover (usually 10 seconds). For
example, you might have 5 requests (request_count) within the most
recent time slice of 10 seconds (duration).
applicationMetrics_latency :: Lens' ApplicationMetrics (Maybe Latency) Source #
Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one millisecond resolution.
applicationMetrics_requestCount :: Lens' ApplicationMetrics (Maybe Int) Source #
Average number of requests handled by the web server per second over the last 10 seconds.
applicationMetrics_statusCodes :: Lens' ApplicationMetrics (Maybe StatusCodes) Source #
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.