Package zipkin2.storage
Class StrictTraceId
java.lang.Object
zipkin2.storage.StrictTraceId
public final class StrictTraceId extends Object
Storage implementation often need to re-check query results when
strict trace ID
is disabled.-
Method Summary
Modifier and Type Method Description static Call.Mapper<List<Span>,List<Span>>
filterSpans(String traceId)
static Call.Mapper<List<List<Span>>,List<List<Span>>>
filterTraces(Iterable<String> traceIds)
Returns a function that filters its mutable input when it contains a trace not matching the specified trace IDs.static Call.Mapper<List<List<Span>>,List<List<Span>>>
filterTraces(QueryRequest request)
Filters the mutable input client-side when there's a clash on lower 64-bits of a trace ID.
-
Method Details
-
filterSpans
-
filterTraces
Filters the mutable input client-side when there's a clash on lower 64-bits of a trace ID.- See Also:
FilterTraces
-
filterTraces
public static Call.Mapper<List<List<Span>>,List<List<Span>>> filterTraces(Iterable<String> traceIds)Returns a function that filters its mutable input when it contains a trace not matching the specified trace IDs.Make sure the input IDs are unique and
normalized
.
-