Amazon.XRay.Recorder.Core.Sampling Namespace |
Class | Description | |
---|---|---|
DefaultSamplingStrategy |
Making sampling decisions based on sampling rules defined
by X-Ray control plane APIs.It will fall back to LocalizedSamplingStrategy if
sampling rules are not available.
| |
GetSamplingRulesResponse |
Class for keep list of sampling rules from x-ray backend.
| |
GetSamplingTargetsResponse |
Class for keep last rule modification timestamp and list of sampling targets from x-ray backend.
| |
Reservior |
Thread safe reservior which holds fixed sampling quota, borrowed count and TTL.
| |
RuleCache |
Cache sampling rules and quota retrieved by RulePoller
and TargetPoller. It will not return anything if the cache expires.
| |
RulePoller |
Gets sampling rules from X-Ray service. This is a asynchronous operation.
| |
SamplingInput |
Sampling input for "ShoudTrace" method.
| |
SamplingResponse |
Sampling result returned by ShoudTrace().
| |
SamplingRule |
It represents the Rules used for sampling.
| |
ServiceConnector |
Connector class that translates Sampling poller functions to
actual X-Ray back-end APIs and communicates with X-Ray daemon as the
signing proxy.
| |
Statistics |
This class records requests matched, borrowed and sampled count for the given rule.
| |
Target |
Stores records received from GetSamplingTargets API call.
| |
TargetPoller |
The poller to report the current statistics of all
sampling rules and retrieve the new allocated
sampling quota and TTL from X-Ray service.
| |
TimeStamp |
Stores timestamp for the operations in unix seconds.
| |
XRayConfig |
Class for xray configuration for getting sampling rules and sampling targets.
|
Interface | Description | |
---|---|---|
ISamplingStrategy |
Interface of sampling strategy which is used to determine if tracing will be
enabled for a given request.
|
Enumeration | Description | |
---|---|---|
ReserviorDecision |
An Enum of decisions, the reservoir could make based on
assigned quota with TTL and the current timestamp/usage.
| |
SampleDecision |
Decisions for sampling
|