Class: Aws::XRay::Types::SamplingStatisticsDocument

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

Overview

Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to [GetSamplingTargets].

[1]: docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#borrow_countInteger

The number of requests recorded with borrowed reservoir quota.

Returns:

  • (Integer)


2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
# File 'lib/aws-sdk-xray/types.rb', line 2914

class SamplingStatisticsDocument < Struct.new(
  :rule_name,
  :client_id,
  :timestamp,
  :request_count,
  :sampled_count,
  :borrow_count)
  SENSITIVE = []
  include Aws::Structure
end

#client_idString

A unique identifier for the service in hexadecimal.

Returns:

  • (String)


2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
# File 'lib/aws-sdk-xray/types.rb', line 2914

class SamplingStatisticsDocument < Struct.new(
  :rule_name,
  :client_id,
  :timestamp,
  :request_count,
  :sampled_count,
  :borrow_count)
  SENSITIVE = []
  include Aws::Structure
end

#request_countInteger

The number of requests that matched the rule.

Returns:

  • (Integer)


2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
# File 'lib/aws-sdk-xray/types.rb', line 2914

class SamplingStatisticsDocument < Struct.new(
  :rule_name,
  :client_id,
  :timestamp,
  :request_count,
  :sampled_count,
  :borrow_count)
  SENSITIVE = []
  include Aws::Structure
end

#rule_nameString

The name of the sampling rule.

Returns:

  • (String)


2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
# File 'lib/aws-sdk-xray/types.rb', line 2914

class SamplingStatisticsDocument < Struct.new(
  :rule_name,
  :client_id,
  :timestamp,
  :request_count,
  :sampled_count,
  :borrow_count)
  SENSITIVE = []
  include Aws::Structure
end

#sampled_countInteger

The number of requests recorded.

Returns:

  • (Integer)


2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
# File 'lib/aws-sdk-xray/types.rb', line 2914

class SamplingStatisticsDocument < Struct.new(
  :rule_name,
  :client_id,
  :timestamp,
  :request_count,
  :sampled_count,
  :borrow_count)
  SENSITIVE = []
  include Aws::Structure
end

#timestampTime

The current time.

Returns:

  • (Time)


2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
# File 'lib/aws-sdk-xray/types.rb', line 2914

class SamplingStatisticsDocument < Struct.new(
  :rule_name,
  :client_id,
  :timestamp,
  :request_count,
  :sampled_count,
  :borrow_count)
  SENSITIVE = []
  include Aws::Structure
end