libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

Description

 
Synopsis

Documentation

data ApplicationMetrics Source #

Application request metrics for an AWS Elastic Beanstalk environment.

See: newApplicationMetrics smart constructor.

Constructors

ApplicationMetrics' 

Fields

  • requestCount :: Maybe Int

    Average number of requests handled by the web server per second over the last 10 seconds.

  • latency :: Maybe 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.

  • statusCodes :: Maybe StatusCodes

    Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.

  • duration :: Maybe Int

    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).

Instances

Instances details
Eq ApplicationMetrics Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

Read ApplicationMetrics Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

Show ApplicationMetrics Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

Generic ApplicationMetrics Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

Associated Types

type Rep ApplicationMetrics :: Type -> Type #

NFData ApplicationMetrics Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

Methods

rnf :: ApplicationMetrics -> () #

Hashable ApplicationMetrics Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

FromXML ApplicationMetrics Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

type Rep ApplicationMetrics Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.ApplicationMetrics

type Rep ApplicationMetrics = D1 ('MetaData "ApplicationMetrics" "Amazonka.ElasticBeanstalk.Types.ApplicationMetrics" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "ApplicationMetrics'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "latency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Latency))) :*: (S1 ('MetaSel ('Just "statusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusCodes)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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:requestCount:ApplicationMetrics', applicationMetrics_requestCount - Average number of requests handled by the web server per second over the last 10 seconds.

$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:statusCodes:ApplicationMetrics', applicationMetrics_statusCodes - Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.

$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).

applicationMetrics_requestCount :: Lens' ApplicationMetrics (Maybe Int) Source #

Average number of requests handled by the web server per second over the last 10 seconds.

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_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.

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).