Package zipkin2.proto3
Class Annotation.Builder
- Enclosing class:
- Annotation
public static final class Annotation.Builder extends com.squareup.wire.Message.Builder<Annotation,Annotation.Builder>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Annotation
build()
Annotation.Builder
timestamp(Long timestamp)
Epoch microseconds of this event.Annotation.Builder
value(String value)
Usually a short tag indicating an event, like "error" While possible to add larger data, such as garbage collection details, low cardinality event names both keep the size of spans down and also are easy to search against.Methods inherited from class com.squareup.wire.Message.Builder
addUnknownField, addUnknownFields, buildUnknownFields, clearUnknownFields, getUnknownFieldsBuffer$wire_runtime, getUnknownFieldsByteString$wire_runtime, getUnknownFieldsWriter$wire_runtime, setUnknownFieldsBuffer$wire_runtime, setUnknownFieldsByteString$wire_runtime, setUnknownFieldsWriter$wire_runtime
-
Field Details
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timestamp
Epoch microseconds of this event. For example, 1502787600000000 corresponds to 2017-08-15 09:00 UTC This value should be set directly by instrumentation, using the most precise value possible. For example, gettimeofday or multiplying epoch millis by 1000. -
value
Usually a short tag indicating an event, like "error" While possible to add larger data, such as garbage collection details, low cardinality event names both keep the size of spans down and also are easy to search against. -
build
- Specified by:
build
in classcom.squareup.wire.Message.Builder<Annotation,Annotation.Builder>
-