Uses of Class
brave.baggage.BaggageField
-
Packages that use BaggageField Package Description brave brave.baggage -
-
Uses of BaggageField in brave
Fields in brave with type parameters of type BaggageField Modifier and Type Field Description static Tag<BaggageField>Tags. BAGGAGE_FIELDThis tags the baggage value usingname()as the key. -
Uses of BaggageField in brave.baggage
Fields in brave.baggage declared as BaggageField Modifier and Type Field Description static BaggageFieldBaggageFields. PARENT_IDTypically only useful when spans are parsed from log records.static BaggageFieldBaggageFields. SAMPLEDThis is only useful whenBaggageFields.TRACE_IDis also a baggage field.static BaggageFieldBaggageFields. SPAN_IDUsed withBaggageFields.TRACE_IDto correlate a log line with a span.static BaggageFieldBaggageFields. TRACE_IDThis is the most common log correlation field.Methods in brave.baggage that return BaggageField Modifier and Type Method Description BaggageFieldCorrelationScopeConfig.SingleCorrelationField. baggageField()static BaggageFieldBaggageFields. constant(String name, String value)Creates a local baggage field based on a possibly null constant, such as an ENV variable.static BaggageFieldBaggageField. create(String name)BaggageFieldBaggagePropagationConfig.SingleBaggageField. field()static BaggageFieldBaggageField. getByName(TraceContextOrSamplingFlags extracted, String name)Looks up the field byname, useful for when you do not have a reference to it.static BaggageFieldBaggageField. getByName(TraceContext context, String name)Looks up the field byname, useful for when you do not have a reference to it.static BaggageFieldBaggageField. getByName(String name)LikegetByName(TraceContext, String)except against the current trace context.Methods in brave.baggage that return types with arguments of type BaggageField Modifier and Type Method Description static List<BaggageField>BaggageField. getAll()Deprecated.Since 5.12 usegetAllValues(TraceContext)static List<BaggageField>BaggageField. getAll(TraceContext context)Deprecated.Since 5.12 usegetAllValues(TraceContext)static List<BaggageField>BaggageField. getAll(TraceContextOrSamplingFlags extracted)Deprecated.Since 5.12 usegetAllValues(TraceContext)Methods in brave.baggage with parameters of type BaggageField Modifier and Type Method Description static CorrelationScopeConfig.SingleCorrelationFieldCorrelationScopeConfig.SingleCorrelationField. create(BaggageField baggageField)static BaggagePropagationConfig.SingleBaggageFieldBaggagePropagationConfig.SingleBaggageField. local(BaggageField field)Configures this field for only local propagation.static BaggagePropagationConfig.SingleBaggageField.BuilderBaggagePropagationConfig.SingleBaggageField. newBuilder(BaggageField field)static CorrelationScopeConfig.SingleCorrelationField.BuilderCorrelationScopeConfig.SingleCorrelationField. newBuilder(BaggageField baggageField)static BaggagePropagationConfig.SingleBaggageFieldBaggagePropagationConfig.SingleBaggageField. remote(BaggageField field)Configures this field for remote propagation using its lower-casename()as the only propagation key name.booleanBaggageField.ValueUpdater. updateValue(BaggageField field, String value)Updates the value of the field, or ignores if read-only or not configured.
-