public abstract static class ParameterizedSampler.Rule<P> extends Object
Modifier | Constructor | Description |
---|---|---|
protected |
Rule(float rate) |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
matches(P parameters) |
Returns true if this rule matches the input parameters
|
protected Rule(float rate)
rate
- percentage of requests to start traces for. 1.0 is 100%public abstract boolean matches(P parameters)
Copyright © 2018 OpenZipkin. All rights reserved.