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.

Constant Summary collapse

SENSITIVE =
[]

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)


136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 136

class ApplicationMetrics < Struct.new(
  :duration,
  :request_count,
  :status_codes,
  :latency)
  SENSITIVE = []
  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:



136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 136

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

#request_countInteger

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

Returns:

  • (Integer)


136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 136

class ApplicationMetrics < Struct.new(
  :duration,
  :request_count,
  :status_codes,
  :latency)
  SENSITIVE = []
  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:



136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 136

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