You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::ApplicationMetrics

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Application request metrics for an AWS Elastic Beanstalk environment.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#duration ⇒ Integer

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

Returns:

  • (Integer) —

    The amount of time that the metrics cover (usually 10 seconds).

#latency ⇒ Types::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.

Returns:

  • (Types::Latency) —

    Represents the average latency for the slowest X percent of requests over the last 10 seconds.

#request_count ⇒ Integer

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

Returns:

  • (Integer) —

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

#status_codes ⇒ Types::StatusCodes

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

Returns:

  • (Types::StatusCodes) —

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