Class: Aws::XRay::Types::SamplingBoostStatisticsDocument

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

Overview

Request anomaly stats 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#anomaly_countInteger

The number of requests with anomaly.

Returns:

  • (Integer)


2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2731

class SamplingBoostStatisticsDocument < Struct.new(
  :rule_name,
  :service_name,
  :timestamp,
  :anomaly_count,
  :total_count,
  :sampled_anomaly_count)
  SENSITIVE = []
  include Aws::Structure
end

#rule_nameString

The name of the sampling rule.

Returns:

  • (String)


2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2731

class SamplingBoostStatisticsDocument < Struct.new(
  :rule_name,
  :service_name,
  :timestamp,
  :anomaly_count,
  :total_count,
  :sampled_anomaly_count)
  SENSITIVE = []
  include Aws::Structure
end

#sampled_anomaly_countInteger

The number of requests with anomaly recorded.

Returns:

  • (Integer)


2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2731

class SamplingBoostStatisticsDocument < Struct.new(
  :rule_name,
  :service_name,
  :timestamp,
  :anomaly_count,
  :total_count,
  :sampled_anomaly_count)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

Matches the name that the service uses to identify itself in segments.

Returns:

  • (String)


2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2731

class SamplingBoostStatisticsDocument < Struct.new(
  :rule_name,
  :service_name,
  :timestamp,
  :anomaly_count,
  :total_count,
  :sampled_anomaly_count)
  SENSITIVE = []
  include Aws::Structure
end

#timestampTime

The current time.

Returns:

  • (Time)


2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2731

class SamplingBoostStatisticsDocument < Struct.new(
  :rule_name,
  :service_name,
  :timestamp,
  :anomaly_count,
  :total_count,
  :sampled_anomaly_count)
  SENSITIVE = []
  include Aws::Structure
end

#total_countInteger

The number of requests that associated to the rule.

Returns:

  • (Integer)


2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2731

class SamplingBoostStatisticsDocument < Struct.new(
  :rule_name,
  :service_name,
  :timestamp,
  :anomaly_count,
  :total_count,
  :sampled_anomaly_count)
  SENSITIVE = []
  include Aws::Structure
end