zipkindeser

package
v1.46.0-tgt.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

func IsClientCore(anno string) bool

IsClientCore checks to see if an annotation is a core client annotation

func IsCore

func IsCore(anno string) bool

IsCore checks to see if an annotation is a core annotation

func IsServerCore

func IsServerCore(anno string) bool

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL