Class: Aws::XRay::Types::SamplingRateBoost

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

Overview

Enable temporary sampling rate increases when you detect anomalies to improve visibility.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cooldown_window_minutesInteger

Sets the time window (in minutes) in which only one sampling rate boost can be triggered. After a boost occurs, no further boosts are allowed until the next window.

Returns:

  • (Integer)


2759
2760
2761
2762
2763
2764
# File 'lib/aws-sdk-xray/types.rb', line 2759

class SamplingRateBoost < Struct.new(
  :max_rate,
  :cooldown_window_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#max_rateFloat

Defines max temporary sampling rate to apply when a boost is triggered. Calculated boost rate by X-Ray will be less than or equal to this max rate.

Returns:

  • (Float)


2759
2760
2761
2762
2763
2764
# File 'lib/aws-sdk-xray/types.rb', line 2759

class SamplingRateBoost < Struct.new(
  :max_rate,
  :cooldown_window_minutes)
  SENSITIVE = []
  include Aws::Structure
end