Package zipkin2.storage.cassandra
Class CassandraStorage
java.lang.Object
zipkin2.Component
zipkin2.storage.StorageComponent
zipkin2.storage.cassandra.CassandraStorage
- All Implemented Interfaces:
Closeable
,AutoCloseable
CQL3 implementation of zipkin storage.
Queries are logged to the category "com.datastax.oss.driver.api.core.cql.QueryLogger" when debug or trace is enabled via SLF4J. Trace level includes bound values.
Schema is installed by default from "/zipkin2-schema.cql"
When StorageComponent.Builder.strictTraceId(boolean)
is disabled, span and index data
are uniformly written with 64-bit trace ID length. When retrieving data, an extra "trace_id_high"
field clarifies if a 128-bit trace ID was sent.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static interface
-
Method Summary
Modifier and TypeMethodDescriptioncheck()
void
close()
boolean
static CassandraStorage.Builder
Memoized in order to avoid re-preparing statementstoString()
traces()
-
Method Details
-
newBuilder
-
spanStore
Memoized in order to avoid re-preparing statements- Specified by:
spanStore
in classStorageComponent
-
traces
- Overrides:
traces
in classStorageComponent
-
serviceAndSpanNames
- Overrides:
serviceAndSpanNames
in classStorageComponent
-
autocompleteTags
- Overrides:
autocompleteTags
in classStorageComponent
-
spanConsumer
- Specified by:
spanConsumer
in classStorageComponent
-
isOverCapacity
- Overrides:
isOverCapacity
in classStorageComponent
-
toString
-
check
-
close
public void close()
-