public final class CassandraSpanStore extends Object implements GuavaSpanStore
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<List<DependencyLink>> |
getDependencies(long endTs,
Long lookback) |
com.google.common.util.concurrent.ListenableFuture<List<Span>> |
getRawTrace(long traceId) |
com.google.common.util.concurrent.ListenableFuture<List<Span>> |
getRawTrace(long traceIdHigh,
long traceIdLow)
Since the schema doesn't have a unique index on
Span.traceIdHigh, we have to filter
client-side. |
com.google.common.util.concurrent.ListenableFuture<List<String>> |
getServiceNames() |
com.google.common.util.concurrent.ListenableFuture<List<String>> |
getSpanNames(String serviceName) |
com.google.common.util.concurrent.ListenableFuture<List<Span>> |
getTrace(long traceId) |
com.google.common.util.concurrent.ListenableFuture<List<Span>> |
getTrace(long traceIdHigh,
long traceIdLow) |
com.google.common.util.concurrent.ListenableFuture<List<List<Span>>> |
getTraces(QueryRequest request)
This fans out into a potentially large amount of requests related to the amount of annotations
queried.
|
public com.google.common.util.concurrent.ListenableFuture<List<List<Span>>> getTraces(QueryRequest request)
When service name is unset, service names will be
fetched eagerly, implying an additional query.
getTraces in interface GuavaSpanStorepublic com.google.common.util.concurrent.ListenableFuture<List<Span>> getRawTrace(long traceId)
getRawTrace in interface GuavaSpanStorepublic com.google.common.util.concurrent.ListenableFuture<List<Span>> getRawTrace(long traceIdHigh, long traceIdLow)
Span.traceIdHigh, we have to filter
client-side.getRawTrace in interface GuavaSpanStorepublic com.google.common.util.concurrent.ListenableFuture<List<Span>> getTrace(long traceId)
getTrace in interface GuavaSpanStorepublic com.google.common.util.concurrent.ListenableFuture<List<Span>> getTrace(long traceIdHigh, long traceIdLow)
getTrace in interface GuavaSpanStorepublic com.google.common.util.concurrent.ListenableFuture<List<String>> getServiceNames()
getServiceNames in interface GuavaSpanStorepublic com.google.common.util.concurrent.ListenableFuture<List<String>> getSpanNames(String serviceName)
getSpanNames in interface GuavaSpanStorepublic com.google.common.util.concurrent.ListenableFuture<List<DependencyLink>> getDependencies(long endTs, @Nullable Long lookback)
getDependencies in interface GuavaSpanStoreCopyright © 2015–2017 OpenZipkin. All rights reserved.