- call() - Method in class com.github.kristofa.brave.BraveCallable
- checkNotBlank(String, String, Object...) - Static method in class com.github.kristofa.brave.internal.Util
-
- checkNotNull(T, String, Object...) - Static method in class com.github.kristofa.brave.internal.Util
-
Copy of com.google.common.base.Preconditions#checkNotNull.
- clear() - Method in class com.twitter.zipkin.gen.Annotation
-
- clear() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- clear() - Method in class com.twitter.zipkin.gen.Endpoint
-
- clear() - Method in class com.twitter.zipkin.gen.Span
-
- clearCurrentSpan() - Method in class com.github.kristofa.brave.ServerTracer
-
Clears current span.
- CLIENT_ADDR - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
Indicates a client address ("ca") in a span.
- CLIENT_RECV - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
The client received ("cr") a response from a server.
- CLIENT_RECV_FRAGMENT - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
Optionally logs progress of a (CLIENT_RECV, WIRE_RECV).
- CLIENT_SEND - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
The client sent ("cs") a request to a server.
- CLIENT_SEND_FRAGMENT - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
Optionally logs progress of a (CLIENT_SEND, WIRE_SEND).
- ClientRequestAdapter - Interface in com.github.kristofa.brave
-
Adapter used to get tracing information from and add tracing information to a new request.
- clientRequestInterceptor() - Method in class com.github.kristofa.brave.Brave
-
- ClientRequestInterceptor - Class in com.github.kristofa.brave
-
Contains logic for handling an outgoing client request.
- ClientRequestInterceptor(ClientTracer) - Constructor for class com.github.kristofa.brave.ClientRequestInterceptor
-
- ClientResponseAdapter - Interface in com.github.kristofa.brave
-
- clientResponseInterceptor() - Method in class com.github.kristofa.brave.Brave
-
- ClientResponseInterceptor - Class in com.github.kristofa.brave
-
Contains logic for dealing with response from client request.
- ClientResponseInterceptor(ClientTracer) - Constructor for class com.github.kristofa.brave.ClientResponseInterceptor
-
- ClientSpanAndEndpoint() - Constructor for class com.github.kristofa.brave.SpanAndEndpoint.ClientSpanAndEndpoint
-
- ClientSpanState - Interface in com.github.kristofa.brave
-
Maintains state for a single client span.
- clientSpanThreadBinder() - Method in class com.github.kristofa.brave.Brave
-
Helper object that can be used to propagate client trace state.
- ClientSpanThreadBinder - Class in com.github.kristofa.brave
-
Allows binding span from client request thread to a async callback thread that process the result.
- ClientSpanThreadBinder(ClientSpanState) - Constructor for class com.github.kristofa.brave.ClientSpanThreadBinder
-
Creates a new instance.
- clientTracer() - Method in class com.github.kristofa.brave.Brave
-
Client Tracer.
- ClientTracer - Class in com.github.kristofa.brave
-
Low level api that deals with client side of a request:
Decide on tracing or not (sampling)
Sending client set / client received annotations
It is advised that you use ClientRequestInterceptor and ClientResponseInterceptor which build
upon ClientTracer and provide a higher level api.
- ClientTracer.Builder - Class in com.github.kristofa.brave
-
- close() - Method in class com.github.kristofa.brave.BraveExecutorService
-
Convenience for try-with-resources, or frameworks such as Spring that automatically process this.
- close() - Method in class com.github.kristofa.brave.EmptySpanCollector
-
Closes and cleans up resources.
- close() - Method in class com.github.kristofa.brave.FixedSampleRateTraceFilter
-
Should be called when TraceFilter will not be used anymore.
- close() - Method in class com.github.kristofa.brave.LoggingSpanCollector
-
Closes and cleans up resources.
- close() - Method in interface com.github.kristofa.brave.SpanCollector
-
Closes and cleans up resources.
- close() - Method in interface com.github.kristofa.brave.TraceFilter
-
Should be called when TraceFilter will not be used anymore.
- collect(Span) - Method in class com.github.kristofa.brave.EmptySpanCollector
-
Collect span.
- collect(Span) - Method in class com.github.kristofa.brave.LoggingSpanCollector
-
Collect span.
- collect(Span) - Method in interface com.github.kristofa.brave.SpanCollector
-
Collect span.
- com.github.kristofa.brave - package com.github.kristofa.brave
-
- com.github.kristofa.brave.internal - package com.github.kristofa.brave.internal
-
- com.twitter.zipkin.gen - package com.twitter.zipkin.gen
-
- CommonSpanState - Interface in com.github.kristofa.brave
-
Keeps track of common trace/span state information.
- compareTo(Annotation) - Method in class com.twitter.zipkin.gen.Annotation
-
- compareTo(BinaryAnnotation) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- compareTo(Endpoint) - Method in class com.twitter.zipkin.gen.Endpoint
-
- compareTo(Span) - Method in class com.twitter.zipkin.gen.Span
-
- convertToLong(String) - Static method in class com.github.kristofa.brave.IdConversion
-
Converts String trace or span id to long.
- convertToString(long) - Static method in class com.github.kristofa.brave.IdConversion
-
Converts long trace or span id to String.
- create(SpanAndEndpoint) - Static method in class com.github.kristofa.brave.AnnotationSubmitter
-
- create(Callable<T>, ServerSpanThreadBinder) - Static method in class com.github.kristofa.brave.BraveCallable
-
Creates a new instance.
- create(Runnable, ServerSpanThreadBinder) - Static method in class com.github.kristofa.brave.BraveRunnable
-
Creates a new instance.
- create(String, String) - Static method in class com.github.kristofa.brave.KeyValueAnnotation
-
- create(long, long, Long) - Static method in class com.github.kristofa.brave.SpanId
-
Creates a new span id.
- fieldForId(int) - Method in class com.twitter.zipkin.gen.Annotation
-
- fieldForId(int) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- fieldForId(int) - Method in class com.twitter.zipkin.gen.Endpoint
-
- fieldForId(int) - Method in class com.twitter.zipkin.gen.Span
-
- findByName(String) - Static method in enum com.twitter.zipkin.gen.Annotation._Fields
-
Find the _Fields constant that matches name, or null if its not found.
- findByName(String) - Static method in enum com.twitter.zipkin.gen.BinaryAnnotation._Fields
-
Find the _Fields constant that matches name, or null if its not found.
- findByName(String) - Static method in enum com.twitter.zipkin.gen.Endpoint._Fields
-
Find the _Fields constant that matches name, or null if its not found.
- findByName(String) - Static method in enum com.twitter.zipkin.gen.Span._Fields
-
Find the _Fields constant that matches name, or null if its not found.
- findByThriftId(int) - Static method in enum com.twitter.zipkin.gen.Annotation._Fields
-
Find the _Fields constant that matches fieldId, or null if its not found.
- findByThriftId(int) - Static method in enum com.twitter.zipkin.gen.BinaryAnnotation._Fields
-
Find the _Fields constant that matches fieldId, or null if its not found.
- findByThriftId(int) - Static method in enum com.twitter.zipkin.gen.Endpoint._Fields
-
Find the _Fields constant that matches fieldId, or null if its not found.
- findByThriftId(int) - Static method in enum com.twitter.zipkin.gen.Span._Fields
-
Find the _Fields constant that matches fieldId, or null if its not found.
- findByThriftIdOrThrow(int) - Static method in enum com.twitter.zipkin.gen.Annotation._Fields
-
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
- findByThriftIdOrThrow(int) - Static method in enum com.twitter.zipkin.gen.BinaryAnnotation._Fields
-
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
- findByThriftIdOrThrow(int) - Static method in enum com.twitter.zipkin.gen.Endpoint._Fields
-
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
- findByThriftIdOrThrow(int) - Static method in enum com.twitter.zipkin.gen.Span._Fields
-
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
- findByValue(int) - Static method in enum com.twitter.zipkin.gen.AnnotationType
-
Find a the enum type by its integer value, as defined in the Thrift IDL.
- finishSpan() - Method in class com.github.kristofa.brave.LocalTracer
-
Completes the span, assigning the most precise duration possible.
- finishSpan(long) - Method in class com.github.kristofa.brave.LocalTracer
-
Completes the span, which took duration microseconds.
- FixedSampleRateTraceFilter - Class in com.github.kristofa.brave
-
TraceFilter that is initialized with a fixed sample rate.
- FixedSampleRateTraceFilter(int) - Constructor for class com.github.kristofa.brave.FixedSampleRateTraceFilter
-
Creates a new instance.
- getAnnotation_type() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- getAnnotations() - Method in class com.twitter.zipkin.gen.Span
-
- getAnnotationsIterator() - Method in class com.twitter.zipkin.gen.Span
-
- getAnnotationsSize() - Method in class com.twitter.zipkin.gen.Span
-
- getBinary_annotations() - Method in class com.twitter.zipkin.gen.Span
-
- getBinary_annotationsIterator() - Method in class com.twitter.zipkin.gen.Span
-
- getBinary_annotationsSize() - Method in class com.twitter.zipkin.gen.Span
-
- getClientEndpoint() - Method in interface com.github.kristofa.brave.ClientSpanState
-
Gets the Endpoint (ip, port, service name) for this service.
- getClientEndpoint() - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
Gets the Endpoint (ip, port, service name) for this service.
- getClientServiceName() - Method in interface com.github.kristofa.brave.ClientRequestAdapter
-
Returns the service name for request.
- getCurrentClientSpan() - Method in interface com.github.kristofa.brave.ClientSpanState
-
Gets the Span for the client request that was started as part of current request.
- getCurrentClientSpan() - Method in class com.github.kristofa.brave.ClientSpanThreadBinder
-
This should be called in the thread in which the client request made after starting new client span.
- getCurrentClientSpan() - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
Gets the Span for the client request that was started as part of current request.
- getCurrentLocalSpan() - Method in interface com.github.kristofa.brave.LocalSpanState
-
Gets the Span for the local request that was started as part of current request.
- getCurrentLocalSpan() - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
- getCurrentServerSpan() - Method in interface com.github.kristofa.brave.ServerSpanState
-
Gets the Span for the server request we are currently part of.
- getCurrentServerSpan() - Method in class com.github.kristofa.brave.ServerSpanThreadBinder
-
This should be called in the thread in which the request was received before executing code in new threads.
- getCurrentServerSpan() - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
Gets the Span for the server request we are currently part of.
- getDuration() - Method in class com.twitter.zipkin.gen.Span
-
Measurement of duration in microseconds, used to support queries.
- getFieldName() - Method in enum com.twitter.zipkin.gen.Annotation._Fields
-
- getFieldName() - Method in enum com.twitter.zipkin.gen.BinaryAnnotation._Fields
-
- getFieldName() - Method in enum com.twitter.zipkin.gen.Endpoint._Fields
-
- getFieldName() - Method in enum com.twitter.zipkin.gen.Span._Fields
-
- getFieldValue(Annotation._Fields) - Method in class com.twitter.zipkin.gen.Annotation
-
- getFieldValue(BinaryAnnotation._Fields) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- getFieldValue(Endpoint._Fields) - Method in class com.twitter.zipkin.gen.Endpoint
-
- getFieldValue(Span._Fields) - Method in class com.twitter.zipkin.gen.Span
-
- getHost() - Method in class com.twitter.zipkin.gen.Annotation
-
Always the host that recorded the event.
- getHost() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
The host that recorded tag, which allows you to differentiate between
multiple tags with the same key.
- getId() - Method in class com.twitter.zipkin.gen.Span
-
- getInstance() - Static method in class com.github.kristofa.brave.NoAnnotationsClientResponseAdapter
-
- getIpv4() - Method in class com.twitter.zipkin.gen.Endpoint
-
IPv4 host address packed into 4 bytes.
- getKey() - Method in class com.github.kristofa.brave.KeyValueAnnotation
-
- getKey() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- getName() - Method in class com.twitter.zipkin.gen.Span
-
Span name in lowercase, rpc method for example
Conventionally, when the span name isn't known, name = "unknown".
- getParent_id() - Method in class com.twitter.zipkin.gen.Span
-
- getParentSpanId() - Method in class com.github.kristofa.brave.SpanId
-
Get parent span id.
- getPort() - Method in class com.twitter.zipkin.gen.Endpoint
-
IPv4 port
Note: this is to be treated as an unsigned integer, so watch for negatives.
- getSample() - Method in class com.github.kristofa.brave.ServerSpan
-
Indicates if we need to sample this request or not.
- getSample() - Method in class com.github.kristofa.brave.TraceData
-
Indication of request should be sampled or not.
- getServerEndpoint() - Method in interface com.github.kristofa.brave.ServerSpanState
-
Gets the Endpoint (ip, port, service name) for this service.
- getServerEndpoint() - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
- getService_name() - Method in class com.twitter.zipkin.gen.Endpoint
-
Service name in lowercase, such as "memcache" or "zipkin-web"
Conventionally, when the service name isn't known, service_name = "unknown".
- getSpan() - Method in class com.github.kristofa.brave.ServerSpan
-
Gets the Trace/Span context.
- getSpanId() - Method in class com.github.kristofa.brave.SpanId
-
Get span id.
- getSpanId() - Method in class com.github.kristofa.brave.TraceData
-
Span id.
- getSpanName() - Method in interface com.github.kristofa.brave.ClientRequestAdapter
-
Gets the span name for request.
- getSpanName() - Method in interface com.github.kristofa.brave.ServerRequestAdapter
-
Gets the span name for request.
- getThriftFieldId() - Method in enum com.twitter.zipkin.gen.Annotation._Fields
-
- getThriftFieldId() - Method in enum com.twitter.zipkin.gen.BinaryAnnotation._Fields
-
- getThriftFieldId() - Method in enum com.twitter.zipkin.gen.Endpoint._Fields
-
- getThriftFieldId() - Method in enum com.twitter.zipkin.gen.Span._Fields
-
- getTimestamp() - Method in class com.twitter.zipkin.gen.Annotation
-
Microseconds from epoch.
- getTimestamp() - Method in class com.twitter.zipkin.gen.Span
-
Microseconds from epoch of the creation of this span.
- getTrace_id() - Method in class com.twitter.zipkin.gen.Span
-
- getTraceData() - Method in interface com.github.kristofa.brave.ServerRequestAdapter
-
Get the trace data from request.
- getTraceId() - Method in class com.github.kristofa.brave.SpanId
-
Get Trace id.
- getValue() - Method in class com.github.kristofa.brave.KeyValueAnnotation
-
- getValue() - Method in class com.twitter.zipkin.gen.Annotation
-
- getValue() - Method in enum com.twitter.zipkin.gen.AnnotationType
-
Get the integer value of this enum value, as defined in the Thrift IDL.
- getValue() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- id - Variable in class com.twitter.zipkin.gen.Span
-
- IdConversion - Class in com.github.kristofa.brave
-
Contains conversion utilities for converting trace and span ids from long to string and vice
versa.
- IdConversion() - Constructor for class com.github.kristofa.brave.IdConversion
-
- invokeAll(Collection<? extends Callable<T>>) - Method in class com.github.kristofa.brave.BraveExecutorService
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.github.kristofa.brave.BraveExecutorService
- invokeAny(Collection<? extends Callable<T>>) - Method in class com.github.kristofa.brave.BraveExecutorService
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.github.kristofa.brave.BraveExecutorService
- ipv4 - Variable in class com.twitter.zipkin.gen.Endpoint
-
IPv4 host address packed into 4 bytes.
- isDebug() - Method in class com.twitter.zipkin.gen.Span
-
- isSet(Annotation._Fields) - Method in class com.twitter.zipkin.gen.Annotation
-
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
- isSet(BinaryAnnotation._Fields) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
- isSet(Endpoint._Fields) - Method in class com.twitter.zipkin.gen.Endpoint
-
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
- isSet(Span._Fields) - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
- isSetAnnotation_type() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
Returns true if field annotation_type is set (has been assigned a value) and false otherwise
- isSetAnnotations() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field annotations is set (has been assigned a value) and false otherwise
- isSetBinary_annotations() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field binary_annotations is set (has been assigned a value) and false otherwise
- isSetDebug() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field debug is set (has been assigned a value) and false otherwise
- isSetDuration() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field duration is set (has been assigned a value) and false otherwise
- isSetHost() - Method in class com.twitter.zipkin.gen.Annotation
-
Returns true if field host is set (has been assigned a value) and false otherwise
- isSetHost() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
Returns true if field host is set (has been assigned a value) and false otherwise
- isSetId() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field id is set (has been assigned a value) and false otherwise
- isSetIpv4() - Method in class com.twitter.zipkin.gen.Endpoint
-
Returns true if field ipv4 is set (has been assigned a value) and false otherwise
- isSetKey() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
Returns true if field key is set (has been assigned a value) and false otherwise
- isSetName() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field name is set (has been assigned a value) and false otherwise
- isSetParent_id() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field parent_id is set (has been assigned a value) and false otherwise
- isSetPort() - Method in class com.twitter.zipkin.gen.Endpoint
-
Returns true if field port is set (has been assigned a value) and false otherwise
- isSetService_name() - Method in class com.twitter.zipkin.gen.Endpoint
-
Returns true if field service_name is set (has been assigned a value) and false otherwise
- isSetTimestamp() - Method in class com.twitter.zipkin.gen.Annotation
-
Returns true if field timestamp is set (has been assigned a value) and false otherwise
- isSetTimestamp() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field timestamp is set (has been assigned a value) and false otherwise
- isSetTrace_id() - Method in class com.twitter.zipkin.gen.Span
-
Returns true if field trace_id is set (has been assigned a value) and false otherwise
- isSetValue() - Method in class com.twitter.zipkin.gen.Annotation
-
Returns true if field value is set (has been assigned a value) and false otherwise
- isSetValue() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
Returns true if field value is set (has been assigned a value) and false otherwise
- isShutdown() - Method in class com.github.kristofa.brave.BraveExecutorService
- isTerminated() - Method in class com.github.kristofa.brave.BraveExecutorService
- sample() - Method in interface com.github.kristofa.brave.CommonSpanState
-
Indicates if we should sample current request.
- sample() - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
- sample(Boolean) - Method in interface com.github.kristofa.brave.TraceData.Builder
-
- SERVER_ADDR - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
Indicates a server address ("sa") in a span.
- SERVER_RECV - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
The server received ("sr") a request from a client.
- SERVER_RECV_FRAGMENT - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
Optionally logs progress of a (SERVER_RECV, WIRE_RECV).
- SERVER_SEND - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
The server sent ("ss") a response to a client.
- SERVER_SEND_FRAGMENT - Static variable in class com.twitter.zipkin.gen.zipkinCoreConstants
-
Optionally logs progress of a (SERVER_SEND, WIRE_SEND).
- ServerClientAndLocalSpanState - Interface in com.github.kristofa.brave
-
Combines server and client span state.
- ServerRequestAdapter - Interface in com.github.kristofa.brave
-
Provides properties needed for dealing with server request.
- serverRequestInterceptor() - Method in class com.github.kristofa.brave.Brave
-
- ServerRequestInterceptor - Class in com.github.kristofa.brave
-
Contains logic for handling an incoming server request.
- ServerRequestInterceptor(ServerTracer) - Constructor for class com.github.kristofa.brave.ServerRequestInterceptor
-
- ServerResponseAdapter - Interface in com.github.kristofa.brave
-
- serverResponseInterceptor() - Method in class com.github.kristofa.brave.Brave
-
- ServerResponseInterceptor - Class in com.github.kristofa.brave
-
Contains logic for dealing with response being returned at server side.
- ServerResponseInterceptor(ServerTracer) - Constructor for class com.github.kristofa.brave.ServerResponseInterceptor
-
- ServerSpan - Class in com.github.kristofa.brave
-
The ServerSpan is initialized by
ServerTracer and keeps track of Trace/Span state of our service request.
- ServerSpanAndEndpoint() - Constructor for class com.github.kristofa.brave.SpanAndEndpoint.ServerSpanAndEndpoint
-
- serverSpanAnnotationSubmitter() - Method in class com.github.kristofa.brave.Brave
-
Can be used to submit application specific annotations to the current server span.
- ServerSpanState - Interface in com.github.kristofa.brave
-
Maintains state for a single server span.
- serverSpanThreadBinder() - Method in class com.github.kristofa.brave.Brave
-
Helper object that can be used to propogate server trace state.
- ServerSpanThreadBinder - Class in com.github.kristofa.brave
-
Allows binding span from request thread to a new executor thread.
- ServerSpanThreadBinder(ServerSpanState) - Constructor for class com.github.kristofa.brave.ServerSpanThreadBinder
-
Creates a new instance.
- serverTracer() - Method in class com.github.kristofa.brave.Brave
-
Server Tracer.
- ServerTracer - Class in com.github.kristofa.brave
-
Used for setting up trace information for a request.
- ServerTracer.Builder - Class in com.github.kristofa.brave
-
- service_name - Variable in class com.twitter.zipkin.gen.Endpoint
-
Service name in lowercase, such as "memcache" or "zipkin-web"
Conventionally, when the service name isn't known, service_name = "unknown".
- setAnnotation_type(AnnotationType) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- setAnnotation_typeIsSet(boolean) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- setAnnotations(List<Annotation>) - Method in class com.twitter.zipkin.gen.Span
-
- setAnnotationsIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setBinary_annotations(List<BinaryAnnotation>) - Method in class com.twitter.zipkin.gen.Span
-
- setBinary_annotationsIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setClientReceived() - Method in class com.github.kristofa.brave.ClientTracer
-
Sets the 'client received' event for current thread.
- setClientSent() - Method in class com.github.kristofa.brave.ClientTracer
-
Sets 'client sent' event for current thread.
- setClientSent(int, int, String) - Method in class com.github.kristofa.brave.ClientTracer
-
- setCurrentClientServiceName(String) - Method in interface com.github.kristofa.brave.ClientSpanState
-
- setCurrentClientServiceName(String) - Method in class com.github.kristofa.brave.ClientTracer
-
Override the service name that will be submitted in the annotations.
- setCurrentClientServiceName(String) - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
- setCurrentClientSpan(Span) - Method in interface com.github.kristofa.brave.ClientSpanState
-
Sets current client span.
- setCurrentClientSpan(Span) - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
Sets current client span.
- setCurrentLocalSpan(Span) - Method in interface com.github.kristofa.brave.LocalSpanState
-
Sets current local span.
- setCurrentLocalSpan(Span) - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
- setCurrentServerSpan(ServerSpan) - Method in interface com.github.kristofa.brave.ServerSpanState
-
Set span for current request.
- setCurrentServerSpan(ServerSpan) - Method in class com.github.kristofa.brave.ThreadLocalServerClientAndLocalSpanState
-
Set span for current request.
- setCurrentSpan(Span) - Method in class com.github.kristofa.brave.ClientSpanThreadBinder
-
Binds given span to current thread.
- setCurrentSpan(ServerSpan) - Method in class com.github.kristofa.brave.ServerSpanThreadBinder
-
Binds given span to current thread.
- setDebug(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setDebugIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setDuration(long) - Method in class com.twitter.zipkin.gen.Span
-
Measurement of duration in microseconds, used to support queries.
- setDurationIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setFieldValue(Annotation._Fields, Object) - Method in class com.twitter.zipkin.gen.Annotation
-
- setFieldValue(BinaryAnnotation._Fields, Object) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- setFieldValue(Endpoint._Fields, Object) - Method in class com.twitter.zipkin.gen.Endpoint
-
- setFieldValue(Span._Fields, Object) - Method in class com.twitter.zipkin.gen.Span
-
- setHost(Endpoint) - Method in class com.twitter.zipkin.gen.Annotation
-
Always the host that recorded the event.
- setHost(Endpoint) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
The host that recorded tag, which allows you to differentiate between
multiple tags with the same key.
- setHostIsSet(boolean) - Method in class com.twitter.zipkin.gen.Annotation
-
- setHostIsSet(boolean) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- setId(long) - Method in class com.twitter.zipkin.gen.Span
-
- setIdIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setIpv4(int) - Method in class com.twitter.zipkin.gen.Endpoint
-
IPv4 host address packed into 4 bytes.
- setIpv4IsSet(boolean) - Method in class com.twitter.zipkin.gen.Endpoint
-
- setKey(String) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- setKeyIsSet(boolean) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- setName(String) - Method in class com.twitter.zipkin.gen.Span
-
Span name in lowercase, rpc method for example
Conventionally, when the span name isn't known, name = "unknown".
- setNameIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setParent_id(long) - Method in class com.twitter.zipkin.gen.Span
-
- setParent_idIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setPort(short) - Method in class com.twitter.zipkin.gen.Endpoint
-
IPv4 port
Note: this is to be treated as an unsigned integer, so watch for negatives.
- setPortIsSet(boolean) - Method in class com.twitter.zipkin.gen.Endpoint
-
- setServerReceived() - Method in class com.github.kristofa.brave.ServerTracer
-
Sets server received event for current request.
- setServerReceived(int, int, String) - Method in class com.github.kristofa.brave.ServerTracer
-
- setServerSend() - Method in class com.github.kristofa.brave.ServerTracer
-
Sets the server sent event for current thread.
- setService_name(String) - Method in class com.twitter.zipkin.gen.Endpoint
-
Service name in lowercase, such as "memcache" or "zipkin-web"
Conventionally, when the service name isn't known, service_name = "unknown".
- setService_nameIsSet(boolean) - Method in class com.twitter.zipkin.gen.Endpoint
-
- setStateCurrentTrace(long, long, Long, String) - Method in class com.github.kristofa.brave.ServerTracer
-
Sets the current Trace/Span state.
- setStateNoTracing() - Method in class com.github.kristofa.brave.ServerTracer
-
Sets the current Trace/Span state.
- setStateUnknown(String) - Method in class com.github.kristofa.brave.ServerTracer
-
Sets the current Trace/Span state.
- setTimestamp(long) - Method in class com.twitter.zipkin.gen.Annotation
-
Microseconds from epoch.
- setTimestamp(long) - Method in class com.twitter.zipkin.gen.Span
-
Microseconds from epoch of the creation of this span.
- setTimestampIsSet(boolean) - Method in class com.twitter.zipkin.gen.Annotation
-
- setTimestampIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setTrace_id(long) - Method in class com.twitter.zipkin.gen.Span
-
- setTrace_idIsSet(boolean) - Method in class com.twitter.zipkin.gen.Span
-
- setValue(String) - Method in class com.twitter.zipkin.gen.Annotation
-
- setValue(byte[]) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- setValue(ByteBuffer) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- setValueIsSet(boolean) - Method in class com.twitter.zipkin.gen.Annotation
-
- setValueIsSet(boolean) - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- shutdown() - Method in class com.github.kristofa.brave.BraveExecutorService
- shutdownNow() - Method in class com.github.kristofa.brave.BraveExecutorService
- span() - Method in class com.github.kristofa.brave.SpanAndEndpoint.ClientSpanAndEndpoint
-
Gets the span to which to add annotations.
- span() - Method in class com.github.kristofa.brave.SpanAndEndpoint.LocalSpanAndEndpoint
-
- span() - Method in class com.github.kristofa.brave.SpanAndEndpoint.ServerSpanAndEndpoint
-
Gets the span to which to add annotations.
- span() - Method in interface com.github.kristofa.brave.SpanAndEndpoint
-
Gets the span to which to add annotations.
- Span - Class in com.twitter.zipkin.gen
-
- Span() - Constructor for class com.twitter.zipkin.gen.Span
-
- Span(long, String, long, List<Annotation>, List<BinaryAnnotation>) - Constructor for class com.twitter.zipkin.gen.Span
-
- Span(Span) - Constructor for class com.twitter.zipkin.gen.Span
-
Performs a deep copy on other.
- Span._Fields - Enum in com.twitter.zipkin.gen
-
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
- SpanAndEndpoint - Interface in com.github.kristofa.brave
-
- SpanAndEndpoint.ClientSpanAndEndpoint - Class in com.github.kristofa.brave
-
- SpanAndEndpoint.LocalSpanAndEndpoint - Class in com.github.kristofa.brave
-
- SpanAndEndpoint.ServerSpanAndEndpoint - Class in com.github.kristofa.brave
-
- SpanAndEndpoint.StaticSpanAndEndpoint - Class in com.github.kristofa.brave
-
Span and endpoint never change reference.
- spanCollector(SpanCollector) - Method in class com.github.kristofa.brave.Brave.Builder
-
- spanCollector(SpanCollector) - Method in class com.github.kristofa.brave.ClientTracer.Builder
-
- spanCollector(SpanCollector) - Method in class com.github.kristofa.brave.ServerTracer.Builder
-
- SpanCollector - Interface in com.github.kristofa.brave
-
- SpanId - Class in com.github.kristofa.brave
-
Identifies a Span.
- spanId(SpanId) - Method in interface com.github.kristofa.brave.TraceData.Builder
-
- startNewSpan(String) - Method in class com.github.kristofa.brave.ClientTracer
-
Start a new span for a new client request that will be bound to current thread.
- startNewSpan(String, String) - Method in class com.github.kristofa.brave.LocalTracer
-
Request a new local span, which starts now.
- startNewSpan(String, String, long) - Method in class com.github.kristofa.brave.LocalTracer
-
Request a new local span, which started at the given timestamp.
- startTick - Variable in class com.twitter.zipkin.gen.Span
-
- state(ServerClientAndLocalSpanState) - Method in class com.github.kristofa.brave.ClientTracer.Builder
-
- state(ServerSpanState) - Method in class com.github.kristofa.brave.ServerTracer.Builder
-
- StaticSpanAndEndpoint() - Constructor for class com.github.kristofa.brave.SpanAndEndpoint.StaticSpanAndEndpoint
-
- submit(Callable<T>) - Method in class com.github.kristofa.brave.BraveExecutorService
- submit(Runnable) - Method in class com.github.kristofa.brave.BraveExecutorService
- submit(Runnable, T) - Method in class com.github.kristofa.brave.BraveExecutorService
- submitAnnotation(String) - Method in class com.github.kristofa.brave.AnnotationSubmitter
-
Associates an event that explains latency with the current system time.
- submitAnnotation(String, long) - Method in class com.github.kristofa.brave.AnnotationSubmitter
-
Associates an event that explains latency with a timestamp.
- submitBinaryAnnotation(String, String) - Method in class com.github.kristofa.brave.AnnotationSubmitter
-
Binary annotations are tags applied to a Span to give it context.
- submitBinaryAnnotation(String, int) - Method in class com.github.kristofa.brave.AnnotationSubmitter
-
Submits a binary (key/value) annotation with int value.
- validate() - Method in class com.twitter.zipkin.gen.Annotation
-
- validate() - Method in class com.twitter.zipkin.gen.BinaryAnnotation
-
- validate() - Method in class com.twitter.zipkin.gen.Endpoint
-
- validate() - Method in class com.twitter.zipkin.gen.Span
-
- value - Variable in class com.twitter.zipkin.gen.Annotation
-
- value - Variable in class com.twitter.zipkin.gen.BinaryAnnotation
-
- valueOf(String) - Static method in enum com.twitter.zipkin.gen.Annotation._Fields
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twitter.zipkin.gen.AnnotationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twitter.zipkin.gen.BinaryAnnotation._Fields
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twitter.zipkin.gen.Endpoint._Fields
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.twitter.zipkin.gen.Span._Fields
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.twitter.zipkin.gen.Annotation._Fields
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twitter.zipkin.gen.AnnotationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twitter.zipkin.gen.BinaryAnnotation._Fields
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twitter.zipkin.gen.Endpoint._Fields
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.twitter.zipkin.gen.Span._Fields
-
Returns an array containing the constants of this enum type, in
the order they are declared.