Index

A B C D E F G I L M N O P R S T U Z 
All Classes|All Packages

A

accept(List<Span>) - Method in class zipkin2.storage.ITStorage
 
accept(Span...) - Method in class zipkin2.storage.ITStorage
 
accept128BitTrace(StorageComponent) - Method in class zipkin2.storage.ITStrictTraceIdFalse
 
aggregateLinks(List<Span>) - Method in class zipkin2.storage.ITDependencies
Returns links aggregated by midnight
allShouldWorkWhenEmpty() - Method in class zipkin2.storage.ITSpanStore
This would only happen when the store layer is bootstrapping, or has been purged.
allShouldWorkWhenNoIndexableDataYet() - Method in class zipkin2.storage.ITSpanStore
This is unlikely and means instrumentation sends empty spans by mistake.
annotationNamedErrorIsntError() - Method in class zipkin2.storage.ITDependencies
A timeline annotation named error is not a failed span.

B

BACKEND - Static variable in class zipkin2.TestObjects
 
blockWhileInFlight() - Method in class zipkin2.storage.ITStorage
 

C

canSearchForIntervalsBesidesToday() - Method in class zipkin2.storage.ITDependencies
This test shows that dependency links can be filtered at daily granularity.
clear() - Method in class zipkin2.storage.ITStorage
Clears store between tests.
CLIENT_SPAN - Static variable in class zipkin2.TestObjects
 
configureStorageForTest(StorageComponent.Builder) - Method in class zipkin2.storage.ITAutocompleteTags
 
configureStorageForTest(StorageComponent.Builder) - Method in class zipkin2.storage.ITDependencies
 
configureStorageForTest(StorageComponent.Builder) - Method in class zipkin2.storage.ITSearchEnabledFalse
 
configureStorageForTest(StorageComponent.Builder) - Method in class zipkin2.storage.ITServiceAndSpanNames
 
configureStorageForTest(StorageComponent.Builder) - Method in class zipkin2.storage.ITSpanStore
 
configureStorageForTest(StorageComponent.Builder) - Method in class zipkin2.storage.ITStorage
Configures a StorageComponent.Builder with parameters for the test being executed.
configureStorageForTest(StorageComponent.Builder) - Method in class zipkin2.storage.ITStrictTraceIdFalse
 
configureStorageForTest(StorageComponent.Builder) - Method in class zipkin2.storage.ITTraces
 
consumer_properlyImplementsCallContract_execute() - Method in class zipkin2.storage.ITSpanStore
 
consumer_properlyImplementsCallContract_submit() - Method in class zipkin2.storage.ITSpanStore
 

D

DAY - Static variable in class zipkin2.TestObjects
Notably, the cassandra implementation has day granularity
DB - Static variable in class zipkin2.TestObjects
 
dependencies_headlessTrace() - Method in class zipkin2.storage.ITDependencies
Some systems log a different trace id than the root span.
dependencies_loopback() - Method in class zipkin2.storage.ITDependencies
 
duplicateAddress() - Method in class zipkin2.storage.ITDependencies
This test confirms that the span store can process trace with intermediate spans like the below properly.

E

empty() - Method in class zipkin2.storage.ITDependencies
Edge-case when there are no spans, or instrumentation isn't logging annotations properly.
endTimeBeforeData() - Method in class zipkin2.storage.ITDependencies
 
endTsAndLookbackMustBePositive() - Method in class zipkin2.storage.ITDependencies
 
endTsInsideTheTrace() - Method in class zipkin2.storage.ITDependencies
Ensure complete traces are aggregated, even if they complete after endTs

F

FRONTEND - Static variable in class zipkin2.TestObjects
 

G

getDependencies() - Method in class zipkin2.storage.ITDependencies
Normally, the root-span is where trace id == span id and parent id == null.
getDependencies_strictTraceId() - Method in class zipkin2.storage.ITDependencies
This tests that dependency linking ignores the high-bits of the trace ID when grouping spans for dependency links.
getDependenciesAllInstrumented() - Method in class zipkin2.storage.ITDependencies
When all servers are instrumented, they all record Span.Kind.SERVER and the Span.localEndpoint() indicates the service.
getLocalServiceNames_includesLocalServiceName() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getLocalServiceNames_noServiceName() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getRemoteServiceNames() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getRemoteServiceNames_allReturned() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getRemoteServiceNames_dedupes() - Method in class zipkin2.storage.ITServiceAndSpanNames
Ensures the service name index returns distinct results
getRemoteServiceNames_isEmpty() - Method in class zipkin2.storage.ITSearchEnabledFalse
 
getRemoteServiceNames_noRemoteServiceName() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getRemoteServiceNames_serviceNameGoesLowercase() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getServiceNames_isEmpty() - Method in class zipkin2.storage.ITSearchEnabledFalse
 
getSpanNames() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getSpanNames_allReturned() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getSpanNames_dedupes() - Method in class zipkin2.storage.ITServiceAndSpanNames
Ensures the span name index returns distinct results
getSpanNames_doesNotMapNameToRemoteServiceName() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getSpanNames_isEmpty() - Method in class zipkin2.storage.ITSearchEnabledFalse
 
getSpanNames_noSpanName() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getSpanNames_serviceNameGoesLowercase() - Method in class zipkin2.storage.ITServiceAndSpanNames
 
getTagsAndValues() - Method in class zipkin2.storage.ITAutocompleteTags
 
getTrace_deduplicates() - Method in class zipkin2.storage.ITTraces
Ideally, storage backends can deduplicate identical documents as this will prevent some analysis problems such as double-counting dependency links or other statistics.
getTrace_retrievesBy64Or128BitTraceId() - Method in class zipkin2.storage.ITStrictTraceIdFalse
 
getTrace_retrievesBy64Or128BitTraceId_mixed() - Method in class zipkin2.storage.ITStrictTraceIdFalse
 
getTrace_returnsEmptyOnNotFound() - Method in class zipkin2.storage.ITTraces
 
getTraces_128BitTraceId() - Method in class zipkin2.storage.ITStrictTraceIdFalse
Ensures we can still lookup fully 128-bit traces when strict trace ID id disabled
getTraces_128BitTraceId(List<Span>) - Method in class zipkin2.storage.ITStrictTraceIdFalse
 
getTraces_128BitTraceId_mixed() - Method in class zipkin2.storage.ITStrictTraceIdFalse
 
getTraces_absentWhenNoTimestamp() - Method in class zipkin2.storage.ITSpanStore
Spans and traces are meaningless unless they have a timestamp.
getTraces_annotation() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_considersBitsAbove64bit() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_differentiateOnServiceName() - Method in class zipkin2.storage.ITSpanStore
This test makes sure that annotation queries pay attention to which host recorded data
getTraces_duration() - Method in class zipkin2.storage.ITSpanStore
Shows that duration queries go against the root span, not the child
getTraces_endTsAndLookback() - Method in class zipkin2.storage.ITSpanStore
Traces whose root span has timestamps between (endTs - lookback) and endTs are returned
getTraces_endTsInsideTheTrace() - Method in class zipkin2.storage.ITSpanStore
Ensure complete traces are aggregated, even if they complete after endTs
getTraces_filteringMatchesMostRecentTraces() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_groupsTracesTogether() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_indexDataReturnsNothing() - Method in class zipkin2.storage.ITSearchEnabledFalse
 
getTraces_lateDuration() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_limit() - Method in class zipkin2.storage.ITSpanStore
limit should apply to traces closest to endTs
getTraces_manyTraces() - Method in class zipkin2.storage.ITSpanStore
Formerly, a bug was present where cassandra didn't index more than bucket count traces per millisecond.
getTraces_maxDuration() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_minDuration() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_multipleAnnotationsBecomeAndFilter() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_onlyReturnsTracesThatMatch() - Method in class zipkin2.storage.ITTraces
 
getTraces_retrievesBy64Or128BitTraceId() - Method in class zipkin2.storage.ITStrictTraceIdFalse
current implementation cannot return exact form reported
getTraces_returnsEmptyOnNotFound() - Method in class zipkin2.storage.ITTraces
 
getTraces_serviceNames() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_serviceNames_mixedTraceIdLength() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_spanName() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_spanName_mixedTraceIdLength() - Method in class zipkin2.storage.ITSpanStore
 
getTraces_tags() - Method in class zipkin2.storage.ITSpanStore
 

I

initializeStoragePerTest() - Method in class zipkin2.storage.ITStorage
Sets the test to initialise the StorageComponent before each test rather than the test class.
instrumentedClientAndServer() - Method in class zipkin2.storage.ITDependencies
 
instrumentedProducerAndConsumer() - Method in class zipkin2.storage.ITDependencies
 
intermediateSpans() - Method in class zipkin2.storage.ITDependencies
This test confirms that the span store can process trace with intermediate spans like the below properly.
ITAutocompleteTags<T extends StorageComponent> - Class in zipkin2.storage
ITAutocompleteTags() - Constructor for class zipkin2.storage.ITAutocompleteTags
 
ITDependencies<T extends StorageComponent> - Class in zipkin2.storage
Base test for SpanStore implementations that support dependency aggregation.
ITDependencies() - Constructor for class zipkin2.storage.ITDependencies
 
ITSearchEnabledFalse<T extends StorageComponent> - Class in zipkin2.storage
Base test for when searchEnabled == false.
ITSearchEnabledFalse() - Constructor for class zipkin2.storage.ITSearchEnabledFalse
 
ITServiceAndSpanNames<T extends StorageComponent> - Class in zipkin2.storage
Base test for ServiceAndSpanNames.
ITServiceAndSpanNames() - Constructor for class zipkin2.storage.ITServiceAndSpanNames
 
ITSpanStore<T extends StorageComponent> - Class in zipkin2.storage
Base test for SpanStore.
ITSpanStore() - Constructor for class zipkin2.storage.ITSpanStore
 
ITStorage<T extends StorageComponent> - Class in zipkin2.storage
Base class for all StorageComponent integration tests.
ITStorage() - Constructor for class zipkin2.storage.ITStorage
 
ITStrictTraceIdFalse<T extends StorageComponent> - Class in zipkin2.storage
Base test for when strictTraceId == false.
ITStrictTraceIdFalse() - Constructor for class zipkin2.storage.ITStrictTraceIdFalse
 
ITTraces<T extends StorageComponent> - Class in zipkin2.storage
Base test for Traces.
ITTraces() - Constructor for class zipkin2.storage.ITTraces
 

L

lookbackAfterData() - Method in class zipkin2.storage.ITDependencies
 
looksBackIndefinitely() - Method in class zipkin2.storage.ITDependencies
 
LOTS_OF_SPANS - Static variable in class zipkin2.TestObjects
Zipkin trace ids are random 64bit numbers.

M

manyLinks() - Method in class zipkin2.storage.ITDependencies
Ensure there's no query limit problem around links
midnightUTC(long) - Static method in class zipkin2.TestObjects
For bucketed data floored to the day.
missingIntermediateSpan() - Method in class zipkin2.storage.ITDependencies
This shows a missing parent still results in a dependency link when local endpoints change

N

names() - Method in class zipkin2.storage.ITStorage
 
names_goLowercase() - Method in class zipkin2.storage.ITSpanStore
 
newStorageBuilder(TestInfo) - Method in class zipkin2.storage.ITStorage
Returns a new StorageComponent.Builder for connecting to the backend for the test.
notInstrumentedClientAndServer() - Method in class zipkin2.storage.ITDependencies
This test confirms that the span store can detect dependency indicated by local and remote endpoint.

O

oneway() - Method in class zipkin2.storage.ITDependencies
Span starts on one host and ends on the other.
oneway_noClient() - Method in class zipkin2.storage.ITDependencies
Async span starts from an uninstrumented source.

P

processDependencies(List<Span>) - Method in class zipkin2.storage.ITDependencies
Override if dependency processing is a separate job: it should complete before returning from this method.

R

readback_minimalErrorSpan() - Method in class zipkin2.storage.ITSpanStore
The following skeletal span is used in dependency linking.
readsBackLargeValues() - Method in class zipkin2.storage.ITSpanStore
While large spans are discouraged, and maybe not indexed, we should be able to read them back.
replayOverwrites() - Method in class zipkin2.storage.ITDependencies
It should be safe to run dependency link jobs twice
requestBuilder() - Static method in class zipkin2.storage.ITSpanStore
 

S

should_not_store_when_key_not_in_autocompleteTags() - Method in class zipkin2.storage.ITAutocompleteTags
 
span(long) - Static method in class zipkin2.TestObjects
 
spanKindIsNotRequiredWhenEndpointsArePresent() - Method in class zipkin2.storage.ITDependencies
 
spanWithProblematicData() - Method in class zipkin2.storage.ITSpanStore
This tests problematic data that can sometimes break storage: json in span name tag with nested dots (can be confused as nested objects)
storage - Variable in class zipkin2.storage.ITStorage
 
store() - Method in class zipkin2.storage.ITStorage
 

T

TestObjects - Class in zipkin2
 
TestObjects() - Constructor for class zipkin2.TestObjects
 
TODAY - Static variable in class zipkin2.TestObjects
 
TRACE - Static variable in class zipkin2.TestObjects
 
TRACE_DURATION - Static variable in class zipkin2.TestObjects
 
TRACE_ENDTS - Static variable in class zipkin2.TestObjects
 
TRACE_STARTTS - Static variable in class zipkin2.TestObjects
 
traceIdIsOpaque() - Method in class zipkin2.storage.ITDependencies
Trace id is not required to be a span id.
traces() - Method in class zipkin2.storage.ITStorage
 
traceWithManySpans() - Method in class zipkin2.storage.ITSpanStore
 

U

unnamedEndpointsAreSkipped() - Method in class zipkin2.storage.ITDependencies
 
UTF_8 - Static variable in class zipkin2.TestObjects
 

Z

zipkin2 - package zipkin2
 
zipkin2.storage - package zipkin2.storage
 
A B C D E F G I L M N O P R S T U Z 
All Classes|All Packages