public class ElasticsearchSpanStore extends GuavaToAsyncSpanStoreAdapter implements GuavaSpanStore, AutoCloseable
EMPTY_LIST, TRACE_DESCENDING| Constructor and Description |
|---|
ElasticsearchSpanStore(ElasticsearchConfig config) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Void> |
accept(List<Span> spans) |
void |
close() |
protected GuavaSpanStore |
delegate() |
com.google.common.util.concurrent.ListenableFuture<List<DependencyLink>> |
getDependencies(long endMillis,
Long lookback) |
com.google.common.util.concurrent.ListenableFuture<List<Span>> |
getRawTrace(long traceId) |
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<List<Span>>> |
getTraces(QueryRequest request) |
accept, getDependencies, getRawTrace, getServiceNames, getSpanNames, getTrace, getTracespublic ElasticsearchSpanStore(ElasticsearchConfig config)
protected GuavaSpanStore delegate()
delegate in class GuavaToAsyncSpanStoreAdapterpublic com.google.common.util.concurrent.ListenableFuture<Void> accept(List<Span> spans)
accept in interface GuavaSpanConsumeraccept in interface GuavaSpanStorepublic com.google.common.util.concurrent.ListenableFuture<List<List<Span>>> getTraces(QueryRequest request)
getTraces 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>> getRawTrace(long traceId)
getRawTrace in interface GuavaSpanStorepublic void close()
close in interface AutoCloseablepublic 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 endMillis, @Nullable Long lookback)
getDependencies in interface GuavaSpanStoreCopyright © 2015–2016 OpenZipkin. All rights reserved.