Documentation ¶
Index ¶
- func DeserializeJSON(body []byte) ([]*zipkincore.Span, error)
- func FindServiceName(span *zipkincore.Span) string
- func IsClientCore(anno string) bool
- func IsCore(anno string) bool
- func IsServerCore(anno string) bool
- func ProtoSpansV2ToThrift(listOfSpans *zipkinProto.ListOfSpans) ([]*zipkincore.Span, error)
- func SpansV2ToThrift(spans models.ListOfSpans) ([]*zipkincore.Span, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeserializeJSON ¶
func DeserializeJSON(body []byte) ([]*zipkincore.Span, error)
DeserializeJSON deserialize zipkin v1 json spans into zipkin thrift
func FindServiceName ¶
func FindServiceName(span *zipkincore.Span) string
FindServiceName finds annotation in Zipkin span that represents emitting service name.
func IsClientCore ¶
IsClientCore checks to see if an annotation is a core client annotation
func IsServerCore ¶
IsServerCore checks to see if an annotation is a core server annotation
func ProtoSpansV2ToThrift ¶
func ProtoSpansV2ToThrift(listOfSpans *zipkinProto.ListOfSpans) ([]*zipkincore.Span, error)
ProtoSpansV2ToThrift converts Zipkin Protobuf spans to Thrift model
func SpansV2ToThrift ¶
func SpansV2ToThrift(spans models.ListOfSpans) ([]*zipkincore.Span, error)
SpansV2ToThrift converts Zipkin V2 JSON to Zipkin Thrift.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.