Package brave
Class Tags
- java.lang.Object
-
- brave.Tags
-
public final class Tags extends Object
Standard tags used in parsers- Since:
- 5.11
-
-
Field Summary
Fields Modifier and Type Field Description static Tag<BaggageField>BAGGAGE_FIELDThis tags the baggage value usingBaggageField.name()as the key.static Tag<Throwable>ERRORThis tags "error" as the message or simple name of the throwable.
-
-
-
Field Detail
-
ERROR
public static final Tag<Throwable> ERROR
This tags "error" as the message or simple name of the throwable.Note:Conventionally, Zipkin handlers will not overwrite a tag named "error" if set directly such as this.
- Since:
- 5.11
- See Also:
Span.error(Throwable)
-
BAGGAGE_FIELD
public static final Tag<BaggageField> BAGGAGE_FIELD
This tags the baggage value usingBaggageField.name()as the key.- Since:
- 5.11
- See Also:
BaggageField
-
-