AWS X-Ray .NET API Documentation
AWS X-Ray .NET API Documentation
Amazon.XRay.Recorder.Core.Sampling
RuleCache Class
RuleCache Methods
GetMatchedRule Method
GetRules Method
LoadRules Method
LoadTargets Method
RuleCache
GetMatchedRule Method
Returns matched rule for the given
SamplingInput
.
Namespace:
Amazon.XRay.Recorder.Core.Sampling
Assembly:
AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
Copy
public
SamplingRule
GetMatchedRule
(
SamplingInput
input
,
TimeStamp
time
)
Parameters
input
Type:
Amazon.XRay.Recorder.Core.Sampling
SamplingInput
Instance of
SamplingInput
.
time
Type:
Amazon.XRay.Recorder.Core.Sampling
TimeStamp
Current time.
Return Value
Type:
SamplingRule
Instance of
SamplingRule
.
See Also
Reference
RuleCache Class
Amazon.XRay.Recorder.Core.Sampling Namespace