Package brave.baggage

Class BaggageFields

java.lang.Object
brave.baggage.BaggageFields

public final class BaggageFields
extends Object
This contains pre-defined fields, such as TRACE_ID and a way to create a constant field.

Built-in fields

The following are fields that dispatch to methods on the TraceContext. They are available regardless of BaggagePropagation. None will return in lookups such as BaggageField.getAll(TraceContext) or BaggageField.getByName(TraceContext, String)

  1. TRACE_ID
  2. PARENT_ID
  3. SPAN_ID
  4. SAMPLED
Since:
5.11