Class CentralizedRule

  • All Implemented Interfaces:
    Rule, java.lang.Comparable<CentralizedRule>

    public class CentralizedRule
    extends java.lang.Object
    implements Rule, java.lang.Comparable<CentralizedRule>
    Represents a customer-defined sampling rule. A rule contains the matchers required to determine if an incoming request can use the rule, and sampling targets which determine the sampling behavior once a request has been matched. A rule also maintains usage statistics which are periodically reported to X-Ray.