Class: Aws::XRay::Types::ServiceStatistics

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

Overview

Response statistics for a service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_statisticsTypes::ErrorStatistics

Information about requests that failed with a 4xx Client Error status code.



3162
3163
3164
3165
3166
3167
3168
3169
3170
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3162

class ServiceStatistics < Struct.new(
  :ok_count,
  :error_statistics,
  :fault_statistics,
  :total_count,
  :total_response_time)
  SENSITIVE = []
  include Aws::Structure
end

#fault_statisticsTypes::FaultStatistics

Information about requests that failed with a 5xx Server Error status code.



3162
3163
3164
3165
3166
3167
3168
3169
3170
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3162

class ServiceStatistics < Struct.new(
  :ok_count,
  :error_statistics,
  :fault_statistics,
  :total_count,
  :total_response_time)
  SENSITIVE = []
  include Aws::Structure
end

#ok_countInteger

The number of requests that completed with a 2xx Success status code.

Returns:

  • (Integer)


3162
3163
3164
3165
3166
3167
3168
3169
3170
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3162

class ServiceStatistics < Struct.new(
  :ok_count,
  :error_statistics,
  :fault_statistics,
  :total_count,
  :total_response_time)
  SENSITIVE = []
  include Aws::Structure
end

#total_countInteger

The total number of completed requests.

Returns:

  • (Integer)


3162
3163
3164
3165
3166
3167
3168
3169
3170
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3162

class ServiceStatistics < Struct.new(
  :ok_count,
  :error_statistics,
  :fault_statistics,
  :total_count,
  :total_response_time)
  SENSITIVE = []
  include Aws::Structure
end

#total_response_timeFloat

The aggregate response time of completed requests.

Returns:

  • (Float)


3162
3163
3164
3165
3166
3167
3168
3169
3170
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3162

class ServiceStatistics < Struct.new(
  :ok_count,
  :error_statistics,
  :fault_statistics,
  :total_count,
  :total_response_time)
  SENSITIVE = []
  include Aws::Structure
end