FixedSampleRateTraceFilterSampler instead.@Deprecated
public interface TraceFilter
Using a TraceFilter we can introduce sampling to avoid performance overhead or avoid we reach our storage limitations.
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Deprecated.
Should be called when TraceFilter will not be used anymore.
|
boolean |
trace(long spanId,
java.lang.String spanName) |
Deprecated.
Indicates if we should trace request with given name.
|
boolean trace(long spanId,
java.lang.String spanName)
spanName - Span name.true in case we should trace this request, false in case we should not trace this
request.void close()
Copyright © 2018 OpenZipkin. All rights reserved.