public interface SpanStore
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Iterator<Span> spans)
Sinks the given spans, ignoring duplicate annotations.
|
List<DependencyLink> |
getDependencies(long endTs,
Long lookback)
Returns dependency links derived from spans.
|
List<String> |
getServiceNames()
Get all the
service names. |
List<String> |
getSpanNames(String serviceName)
Get all the span names for a particular
Endpoint.serviceName. |
List<List<Span>> |
getTraces(QueryRequest request)
Get the available trace information from the storage system.
|
List<List<Span>> |
getTracesByIds(List<Long> traceIds)
Get the available trace information from the storage system.
|
List<List<Span>> getTraces(QueryRequest request)
QueryRequest.limit elements.List<List<Span>> getTracesByIds(List<Long> traceIds)
List<String> getServiceNames()
service names.
Results are sorted lexicographicallyList<String> getSpanNames(String serviceName)
Endpoint.serviceName.
Results are sorted lexicographicallyList<DependencyLink> getDependencies(long endTs, @Nullable Long lookback)
endTs - only return links from spans where Span.timestamp are at or before this
time in epoch milliseconds.lookback - only return links from spans where Span.timestamp are at or after
(endTs - lookback) in milliseconds. Defaults to endTs.Copyright © 2015–2016 OpenZipkin. All rights reserved.