- Clock - Interface in brave
-
Epoch microseconds used for Span.timestamp
and Annotation.timestamp
.
- clock(Clock) - Method in class brave.Tracer.Builder
-
Deprecated.
- clock() - Method in class brave.Tracer
-
- clock(Clock) - Method in class brave.Tracing.Builder
-
- clock() - Method in class brave.Tracing
-
This exposes the microsecond clock used by operations such as
Span.finish()
.
- close() - Method in interface brave.propagation.CurrentTraceContext.Scope
-
No exceptions are thrown when unbinding a span scope.
- close() - Method in class brave.Tracer.SpanInScope
-
No exceptions are thrown when unbinding a span scope.
- close() - Method in class brave.Tracing
-
- context(TraceContext) - Method in class brave.propagation.TraceContextOrSamplingFlags.Builder
-
- context() - Method in class brave.propagation.TraceContextOrSamplingFlags
-
- context() - Method in class brave.Span
-
- CountingSampler - Class in brave.sampler
-
This sampler is appropriate for low-traffic instrumentation (ex servers that each receive <100K
requests), or those who do not provision random trace ids.
- create(Tracing) - Static method in class brave.CurrentSpanCustomizer
-
Creates a span customizer that will affect the current span in scope if present
- create() - Static method in class brave.propagation.CurrentTraceContext.Default
-
Uses a non-inheritable static thread local
- create(Propagation.KeyFactory<K>) - Method in class brave.propagation.Propagation.Factory
-
- create(String) - Method in interface brave.propagation.Propagation.KeyFactory
-
- create(TraceContext) - Static method in class brave.propagation.TraceContextOrSamplingFlags
-
- create(TraceIdContext) - Static method in class brave.propagation.TraceContextOrSamplingFlags
-
- create(SamplingFlags) - Static method in class brave.propagation.TraceContextOrSamplingFlags
-
- create(TraceContext.Builder) - Static method in class brave.propagation.TraceContextOrSamplingFlags
-
- create(float) - Static method in class brave.sampler.BoundarySampler
-
- create(float) - Static method in class brave.sampler.CountingSampler
-
- create(DeclarativeSampler.RateForMethod<M>) - Static method in class brave.sampler.DeclarativeSampler
-
- create(List<? extends ParameterizedSampler.Rule<P>>) - Static method in class brave.sampler.ParameterizedSampler
-
- create(float) - Static method in class brave.sampler.Sampler
-
Returns a sampler, given a rate expressed as a percentage.
- current(String) - Static method in class brave.propagation.ExtraFieldPropagation
-
Returns the value of the field with the specified key or null if not available
- current() - Static method in class brave.Tracing
-
Returns the most recently created tracing component iff it hasn't been closed.
- currentSpan() - Method in class brave.Tracer
-
Returns the current span in scope or null if there isn't one.
- CurrentSpanCustomizer - Class in brave
-
Provides a mechanism for end users to be able to customise the current span.
- currentTimeMicroseconds() - Method in interface brave.Clock
-
- currentTimeMicroseconds() - Method in class brave.internal.Platform
-
gets a timestamp based on duration since the create tick.
- CurrentTraceContext - Class in brave.propagation
-
This makes a given span the current span by placing it in scope (usually but not always a thread
local scope).
- CurrentTraceContext() - Constructor for class brave.propagation.CurrentTraceContext
-
- currentTraceContext(CurrentTraceContext) - Method in class brave.Tracer.Builder
-
Deprecated.
- currentTraceContext(CurrentTraceContext) - Method in class brave.Tracing.Builder
-
- currentTraceContext() - Method in class brave.Tracing
-
This supports in-process propagation, typically across thread boundaries.
- CurrentTraceContext.Default - Class in brave.propagation
-
Default implementation which is backed by a static thread local.
- CurrentTraceContext.Scope - Interface in brave.propagation
-
A span remains in the scope it was bound to until close is called.
- currentTracer() - Static method in class brave.Tracing
-
Returns the most recently created tracer iff its component hasn't been closed.
- tag(String, String) - Method in class brave.CurrentSpanCustomizer
-
Tags give your span context for search, viewing and analysis.
- tag(TraceContext, String, String) - Method in class brave.internal.recorder.Recorder
-
- tag(String, String) - Method in class brave.Span
-
Tags give your span context for search, viewing and analysis.
- tag(String, String) - Method in interface brave.SpanCustomizer
-
Tags give your span context for search, viewing and analysis.
- timestamp(Tracer, TraceContext) - Method in class brave.internal.Internal
-
- timestamp(TraceContext) - Method in class brave.internal.recorder.Recorder
-
Hook needed for Brave 3's LocalTracer.finish(duration)
- toBuilder() - Method in class brave.propagation.TraceContext
-
- toBuilder() - Method in class brave.propagation.TraceContextOrSamplingFlags
-
- toBuilder() - Method in class brave.propagation.TraceIdContext
-
- toLowerHex(long, long) - Static method in class brave.internal.HexCodec
-
Returns 16 or 32 character hex string depending on if high
is zero.
- toLowerHex(long) - Static method in class brave.internal.HexCodec
-
Inspired by okio.Buffer.writeLong
- toSpan(TraceContext) - Method in class brave.Tracer
-
Converts the context as-is to a Span object
- toString() - Method in class brave.propagation.TraceContext
-
Returns $traceId/$spanId
- toString() - Method in class brave.propagation.TraceContextOrSamplingFlags
-
- toString() - Method in class brave.propagation.TraceIdContext
-
Returns $traceId
- toString() - Method in class brave.sampler.BoundarySampler
-
- toString() - Method in class brave.sampler.CountingSampler
-
- toString() - Method in class brave.Tracer.SpanInScope
-
- TraceContext - Class in brave.propagation
-
Contains trace identifiers and sampling data propagated in and out-of-process.
- TraceContext.Builder - Class in brave.propagation
-
- TraceContext.Extractor<C> - Interface in brave.propagation
-
Used to join an incoming trace.
- TraceContext.Injector<C> - Interface in brave.propagation
-
Used to send the trace context downstream.
- TraceContextOrSamplingFlags - Class in brave.propagation
-
Union type that contains only one of trace context, trace ID context or sampling flags.
- TraceContextOrSamplingFlags.Builder - Class in brave.propagation
-
- traceId(long) - Method in class brave.propagation.TraceContext.Builder
-
- traceId() - Method in class brave.propagation.TraceContext
-
Unique 8-byte identifier for a trace, set on all spans within it.
- traceId(long) - Method in class brave.propagation.TraceIdContext.Builder
-
- traceId() - Method in class brave.propagation.TraceIdContext
-
Unique 8-byte identifier for a trace, set on all spans within it.
- traceId128Bit(boolean) - Method in class brave.Tracer.Builder
-
Deprecated.
- traceId128Bit(boolean) - Method in class brave.Tracing.Builder
-
When true, new root spans will have 128-bit trace IDs.
- traceIdContext(TraceIdContext) - Method in class brave.propagation.TraceContextOrSamplingFlags.Builder
-
- traceIdContext() - Method in class brave.propagation.TraceContextOrSamplingFlags
-
- TraceIdContext - Class in brave.propagation
-
Contains inbound trace ID and sampling flags, used when users control the root trace ID, but not
the span ID (ex Amazon X-Ray or other correlation).
- TraceIdContext.Builder - Class in brave.propagation
-
- traceIdHigh(long) - Method in class brave.propagation.TraceContext.Builder
-
- traceIdHigh() - Method in class brave.propagation.TraceContext
-
When non-zero, the trace containing this span uses 128-bit trace identifiers.
- traceIdHigh(long) - Method in class brave.propagation.TraceIdContext.Builder
-
- traceIdHigh() - Method in class brave.propagation.TraceIdContext
-
When non-zero, the trace containing this span uses 128-bit trace identifiers.
- traceIdString() - Method in class brave.propagation.TraceContext
-
Returns the hex representation of the span's trace ID
- Tracer - Class in brave
-
Using a tracer, you can create a root span capturing the critical path of a request.
- tracer() - Method in class brave.Tracing
-
All tracing commands start with a
Span
.
- Tracer.Builder - Class in brave
-
- Tracer.SpanInScope - Class in brave
-
A span remains in the scope it was bound to until close is called.
- Tracing - Class in brave
-
This provides utilities needed for trace instrumentation.
- Tracing() - Constructor for class brave.Tracing
-
- Tracing.Builder - Class in brave
-