Class: Aws::XRay::Types::SamplingTargetDocument
- Inherits:
-
Struct
- Object
- Struct
- Aws::XRay::Types::SamplingTargetDocument
- Defined in:
- gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb
Overview
Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on the recent sampling results of all services that called GetSamplingTargets.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#fixed_rate ⇒ Float
The percentage of matching requests to instrument, after the reservoir is exhausted.
-
#interval ⇒ Integer
The number of seconds for the service to wait before getting sampling targets again.
-
#reservoir_quota ⇒ Integer
The number of requests per second that X-Ray allocated for this service.
-
#reservoir_quota_ttl ⇒ Time
When the reservoir quota expires.
-
#rule_name ⇒ String
The name of the sampling rule.
-
#sampling_boost ⇒ Types::SamplingBoost
The sampling boost that X-Ray allocated for this service.
Instance Attribute Details
#fixed_rate ⇒ Float
The percentage of matching requests to instrument, after the reservoir is exhausted.
3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3107 class SamplingTargetDocument < Struct.new( :rule_name, :fixed_rate, :reservoir_quota, :reservoir_quota_ttl, :interval, :sampling_boost) SENSITIVE = [] include Aws::Structure end |
#interval ⇒ Integer
The number of seconds for the service to wait before getting sampling targets again.
3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3107 class SamplingTargetDocument < Struct.new( :rule_name, :fixed_rate, :reservoir_quota, :reservoir_quota_ttl, :interval, :sampling_boost) SENSITIVE = [] include Aws::Structure end |
#reservoir_quota ⇒ Integer
The number of requests per second that X-Ray allocated for this service.
3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3107 class SamplingTargetDocument < Struct.new( :rule_name, :fixed_rate, :reservoir_quota, :reservoir_quota_ttl, :interval, :sampling_boost) SENSITIVE = [] include Aws::Structure end |
#reservoir_quota_ttl ⇒ Time
When the reservoir quota expires.
3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3107 class SamplingTargetDocument < Struct.new( :rule_name, :fixed_rate, :reservoir_quota, :reservoir_quota_ttl, :interval, :sampling_boost) SENSITIVE = [] include Aws::Structure end |
#rule_name ⇒ String
The name of the sampling rule.
3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3107 class SamplingTargetDocument < Struct.new( :rule_name, :fixed_rate, :reservoir_quota, :reservoir_quota_ttl, :interval, :sampling_boost) SENSITIVE = [] include Aws::Structure end |
#sampling_boost ⇒ Types::SamplingBoost
The sampling boost that X-Ray allocated for this service.
3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 3107 class SamplingTargetDocument < Struct.new( :rule_name, :fixed_rate, :reservoir_quota, :reservoir_quota_ttl, :interval, :sampling_boost) SENSITIVE = [] include Aws::Structure end |