A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/XRay/Types/SamplingRuleUpdate.html below:

SamplingRuleUpdate — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::XRay::Types::SamplingRuleUpdate
Inherits:
Struct show all
Defined in:
(unknown)
Overview Note:

When passing SamplingRuleUpdate as input to an Aws::Client method, you can use a vanilla Hash:

{
  rule_name: "RuleName",
  rule_arn: "String",
  resource_arn: "ResourceARN",
  priority: 1,
  fixed_rate: 1.0,
  reservoir_size: 1,
  host: "Host",
  service_name: "ServiceName",
  service_type: "ServiceType",
  http_method: "HTTPMethod",
  url_path: "URLPath",
  attributes: {
    "AttributeKey" => "AttributeValue",
  },
}

A document specifying changes to a sampling rule's configuration.

Returned by:

Instance Attribute Summary collapse Instance Attribute Details #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. The reservoir is not used directly by services, but applies to all services using the rule collectively.

#resource_arn ⇒ String

Matches the ARN of the AWS resource on which the service runs.

#rule_arn ⇒ String

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

#rule_name ⇒ String

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

#service_name ⇒ String

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

#service_type ⇒ String

Matches the origin that the service uses to identify its type in segments.

#url_path ⇒ String

Matches the path from a request URL.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4