Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeJSON ¶
DecodeJSON reads an array of JSON-encoded spans from an io.Reader, and converts that array to a slice of Spans.
Types ¶
type Annotation ¶
type ZipkinJSONSpan ¶
type ZipkinJSONSpan struct { TraceID string `json:"traceId"` Name string `json:"name"` ID string `json:"id"` ParentID string `json:"parentId,omitempty"` Annotations []*Annotation `json:"annotations"` BinaryAnnotations []*binaryAnnotation `json:"binaryAnnotations"` Debug bool `json:"debug,omitempty"` Timestamp int64 `json:"timestamp,omitempty"` Duration int64 `json:"duration,omitempty"` }
ZipkinJSONSpan represents the Zipkin V1 Span object. See https://github.com/openzipkin/zipkin-api/blob/master/zipkin-api.yaml
Click to show internal directories.
Click to hide internal directories.