Uses of Package
brave.propagation
| Package | Description |
|---|---|
| brave | |
| brave.baggage | |
| brave.handler | |
| brave.propagation | |
| brave.sampler |
-
Classes in brave.propagation used by brave Class Description CurrentTraceContext This makes a given span the current span by placing it in scope (usually but not always a thread local scope).Propagation Injects and extractstrace identifiersas text into requests that travel in-band across process boundaries.Propagation.Factory TraceContext Contains trace identifiers and sampling data propagated in and out-of-process.TraceContextOrSamplingFlags Union type that contains only one of trace context, trace ID context or sampling flags. -
Classes in brave.propagation used by brave.baggage Class Description CurrentTraceContext.ScopeDecorator Use this to add features such as thread checks or log correlation when a scope is created or closed.Propagation Injects and extractstrace identifiersas text into requests that travel in-band across process boundaries.Propagation.Factory Propagation.Getter Gets the first value of the given propagation key or returnsnull.Propagation.Setter Replaces a propagated key with the given value.TraceContext Contains trace identifiers and sampling data propagated in and out-of-process.TraceContext.Extractor Used to continue an incoming trace.TraceContext.Injector Used to send the trace context downstream.TraceContextOrSamplingFlags Union type that contains only one of trace context, trace ID context or sampling flags. -
Classes in brave.propagation used by brave.handler Class Description TraceContext Contains trace identifiers and sampling data propagated in and out-of-process. -
Classes in brave.propagation used by brave.propagation Class Description B3Propagation.FactoryBuilder Defaults toB3Propagation.Format.MULTIfor client/server spans andB3Propagation.Format.SINGLE_NO_PARENTfor messaging.B3Propagation.Format Describes the formats used to inject headers.CurrentTraceContext This makes a given span the current span by placing it in scope (usually but not always a thread local scope).CurrentTraceContext.Builder Implementations of this allow standardized configuration, for example scope decoration.CurrentTraceContext.Scope A span remains in the scope it was bound to until close is called.CurrentTraceContext.ScopeDecorator Use this to add features such as thread checks or log correlation when a scope is created or closed.CurrentTraceContextCustomizer This allows configuration plugins to collaborate on building an instance ofCurrentTraceContext.ExtraFieldCustomizer Deprecated.Since 5.11 useBaggagePropagationCustomizerExtraFieldPropagation Deprecated.Since 5.11 useBaggagePropagationExtraFieldPropagation.Factory Deprecated.Since 5.11 usePropagation.FactoryExtraFieldPropagation.FactoryBuilder Deprecated.Since 5.11 useBaggagePropagation.FactoryBuilderPropagation Injects and extractstrace identifiersas text into requests that travel in-band across process boundaries.Propagation.Factory Propagation.Getter Gets the first value of the given propagation key or returnsnull.Propagation.KeyFactory Deprecated.since 5.12 non-string keys are no longer supportedPropagation.Setter Replaces a propagated key with the given value.SamplingFlags SamplingFlags.Builder Deprecated.prefer using constants.StrictCurrentTraceContext Useful when developing instrumentation as state is enforced more strictly.StrictCurrentTraceContext.Builder StrictScopeDecorator Useful when developing instrumentation as state is enforced more strictly.ThreadLocalCurrentTraceContext In-process trace context propagation backed by a static thread local.ThreadLocalCurrentTraceContext.Builder ThreadLocalSpan This type allows you to place a span in scope in one method and access it in another without using an explicit request parameter.TraceContext Contains trace identifiers and sampling data propagated in and out-of-process.TraceContext.Builder TraceContext.Extractor Used to continue an incoming trace.TraceContext.Injector Used to send the trace context downstream.TraceContextOrSamplingFlags Union type that contains only one of trace context, trace ID context or sampling flags.TraceContextOrSamplingFlags.Builder TraceIdContext 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 -
Classes in brave.propagation used by brave.sampler Class Description SamplingFlags