Class SpanStatusMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.traces.SpanStatusMarshaler
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SpanStatusMarshaler
(ProtoEnumInfo protoStatusCode, byte[] descriptionUtf8) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
computeSize
(ProtoEnumInfo protoStatusCode, byte[] descriptionUtf8) (package private) static SpanStatusMarshaler
create
(StatusData status) (package private) static ProtoEnumInfo
toProtoSpanStatus
(StatusData status) void
writeTo
(Serializer output) Methods inherited from class io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
getBinarySerializedSize
Methods inherited from class io.opentelemetry.exporter.internal.marshal.Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Field Details
-
protoStatusCode
-
descriptionUtf8
private final byte[] descriptionUtf8
-
-
Constructor Details
-
SpanStatusMarshaler
-
-
Method Details
-
create
-
writeTo
- Specified by:
writeTo
in classMarshaler
- Throws:
IOException
-
computeSize
-
toProtoSpanStatus
-