Package | Description |
---|---|
com.amazonaws.services.xray.model |
Modifier and Type | Method and Description |
---|---|
SamplingRule |
SamplingRule.addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
SamplingRule |
SamplingRule.clearAttributesEntries()
Removes all the entries added into Attributes.
|
SamplingRule |
SamplingRule.clone() |
SamplingRule |
SamplingRuleRecord.getSamplingRule()
The sampling rule.
|
SamplingRule |
CreateSamplingRuleRequest.getSamplingRule()
The rule definition.
|
SamplingRule |
SamplingRule.withAttributes(Map<String,String> attributes)
Matches attributes derived from the request.
|
SamplingRule |
SamplingRule.withFixedRate(Double fixedRate)
The percentage of matching requests to instrument, after the reservoir is exhausted.
|
SamplingRule |
SamplingRule.withHost(String host)
Matches the hostname from a request URL.
|
SamplingRule |
SamplingRule.withHTTPMethod(String hTTPMethod)
Matches the HTTP method of a request.
|
SamplingRule |
SamplingRule.withPriority(Integer priority)
The priority of the sampling rule.
|
SamplingRule |
SamplingRule.withReservoirSize(Integer reservoirSize)
A fixed number of matching requests to instrument per second, prior to applying the fixed rate.
|
SamplingRule |
SamplingRule.withResourceARN(String resourceARN)
Matches the ARN of the Amazon Web Services resource on which the service runs.
|
SamplingRule |
SamplingRule.withRuleARN(String ruleARN)
The ARN of the sampling rule.
|
SamplingRule |
SamplingRule.withRuleName(String ruleName)
The name of the sampling rule.
|
SamplingRule |
SamplingRule.withServiceName(String serviceName)
Matches the
name that the service uses to identify itself in segments. |
SamplingRule |
SamplingRule.withServiceType(String serviceType)
Matches the
origin that the service uses to identify its type in segments. |
SamplingRule |
SamplingRule.withURLPath(String uRLPath)
Matches the path from a request URL.
|
SamplingRule |
SamplingRule.withVersion(Integer version)
The version of the sampling rule format (
1 ). |
Modifier and Type | Method and Description |
---|---|
void |
SamplingRuleRecord.setSamplingRule(SamplingRule samplingRule)
The sampling rule.
|
void |
CreateSamplingRuleRequest.setSamplingRule(SamplingRule samplingRule)
The rule definition.
|
SamplingRuleRecord |
SamplingRuleRecord.withSamplingRule(SamplingRule samplingRule)
The sampling rule.
|
CreateSamplingRuleRequest |
CreateSamplingRuleRequest.withSamplingRule(SamplingRule samplingRule)
The rule definition.
|
Copyright © 2023. All rights reserved.