Class StackdriverV2Encoder
java.lang.Object
zipkin2.reporter.stackdriver.brave.StackdriverV2Encoder
- All Implemented Interfaces:
zipkin2.reporter.BytesEncoder<brave.handler.MutableSpan>
public class StackdriverV2Encoder
extends Object
implements zipkin2.reporter.BytesEncoder<brave.handler.MutableSpan>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]encode(brave.handler.MutableSpan span) This encodes a TraceSpan message prefixed by a potentially padded 32 character trace IDzipkin2.reporter.Encodingencoding()intsizeInBytes(brave.handler.MutableSpan input)
-
Constructor Details
-
StackdriverV2Encoder
-
-
Method Details
-
encoding
public zipkin2.reporter.Encoding encoding()- Specified by:
encodingin interfacezipkin2.reporter.BytesEncoder<brave.handler.MutableSpan>
-
sizeInBytes
public int sizeInBytes(brave.handler.MutableSpan input) - Specified by:
sizeInBytesin interfacezipkin2.reporter.BytesEncoder<brave.handler.MutableSpan>
-
encode
public byte[] encode(brave.handler.MutableSpan span) This encodes a TraceSpan message prefixed by a potentially padded 32 character trace ID- Specified by:
encodein interfacezipkin2.reporter.BytesEncoder<brave.handler.MutableSpan>
-