Class: Aws::XRay::Types::SamplingRuleUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::XRay::Types::SamplingRuleUpdate
- Defined in:
- gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb
Overview
A document specifying changes to a sampling rule's configuration.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
Matches attributes derived from the request.
-
#fixed_rate ⇒ Float
The percentage of matching requests to instrument, after the reservoir is exhausted.
-
#host ⇒ String
Matches the hostname from a request URL.
-
#http_method ⇒ String
Matches the HTTP method of a request.
-
#priority ⇒ Integer
The priority of the sampling rule.
-
#reservoir_size ⇒ Integer
A fixed number of matching requests to instrument per second, prior to applying the fixed rate.
-
#resource_arn ⇒ String
Matches the ARN of the Amazon Web Services resource on which the service runs.
-
#rule_arn ⇒ String
The ARN of the sampling rule.
-
#rule_name ⇒ String
The name of the sampling rule.
-
#sampling_rate_boost ⇒ Types::SamplingRateBoost
Specifies the multiplier applied to the base sampling rate.
-
#service_name ⇒ String
Matches the
namethat the service uses to identify itself in segments. -
#service_type ⇒ String
Matches the
originthat the service uses to identify its type in segments. -
#url_path ⇒ String
Matches the path from a request URL.
Instance Attribute Details
#attributes ⇒ Hash<String,String>
Matches attributes derived from the request.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#fixed_rate ⇒ Float
The percentage of matching requests to instrument, after the reservoir is exhausted.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#host ⇒ String
Matches the hostname from a request URL.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#http_method ⇒ String
Matches the HTTP method of a request.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#priority ⇒ Integer
The priority of the sampling rule.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#reservoir_size ⇒ Integer
A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
Matches the ARN of the Amazon Web Services resource on which the service runs.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#rule_arn ⇒ String
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#rule_name ⇒ String
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#sampling_rate_boost ⇒ Types::SamplingRateBoost
Specifies the multiplier applied to the base sampling rate. This boost allows you to temporarily increase sampling without changing the rule's configuration.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#service_name ⇒ String
Matches the name that the service uses to identify itself in
segments.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#service_type ⇒ String
Matches the origin that the service uses to identify its type in
segments.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |
#url_path ⇒ String
Matches the path from a request URL.
2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 |
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2986 class SamplingRuleUpdate < Struct.new( :rule_name, :rule_arn, :resource_arn, :priority, :fixed_rate, :reservoir_size, :host, :service_name, :service_type, :http_method, :url_path, :attributes, :sampling_rate_boost) SENSITIVE = [] include Aws::Structure end |