Sampler 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 and Description |
|---|---|
void |
close()
Deprecated.
Should be called when TraceFilter will not be used anymore.
|
boolean |
trace(long spanId,
String spanName)
Deprecated.
Indicates if we should trace request with given name.
|
boolean trace(long spanId,
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 © 2016. All rights reserved.