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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

Application request metrics for an AWS Elastic Beanstalk environment.

Instance Attribute Summary collapse

Instance Attribute Details

#durationInteger

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)


133
134
135
136
137
138
139
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 133

class ApplicationMetrics < Struct.new(
  :duration,
  :request_count,
  :status_codes,
  :latency)
  include Aws::Structure
end

#latencyTypes::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:



133
134
135
136
137
138
139
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 133

class ApplicationMetrics < Struct.new(
  :duration,
  :request_count,
  :status_codes,
  :latency)
  include Aws::Structure
end

#request_countInteger

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

Returns:

  • (Integer)


133
134
135
136
137
138
139
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 133

class ApplicationMetrics < Struct.new(
  :duration,
  :request_count,
  :status_codes,
  :latency)
  include Aws::Structure
end

#status_codesTypes::StatusCodes

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

Returns:



133
134
135
136
137
138
139
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 133

class ApplicationMetrics < Struct.new(
  :duration,
  :request_count,
  :status_codes,
  :latency)
  include Aws::Structure
end