Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationV1 ¶
type BinaryAnnotationV1 ¶
type SpanV1 ¶
type SpanV1 struct {
TraceID Id `json:"traceId"`
ID Id `json:"id"`
ParentID *Id `json:"parentId"`
Annotations []AnnotationV1 `json:"annotations"`
BinaryAnnotations []BinaryAnnotationV1 `json:"binaryAnnotations"`
Name string `json:"name"`
Debug bool `json:"debug"`
Timestamp *int64 `json:"timestamp"`
Duration *int64 `json:"duration"`
}
func FromSpan ¶
func FromSpan(span *zipkincore.Span) SpanV1
func (*SpanV1) ToZipkincoreSpan ¶
func (span *SpanV1) ToZipkincoreSpan() *zipkincore.Span
type SpanV2 ¶
type SpanV2 struct {
TraceID Id `json:"traceId"`
ID Id `json:"id"`
ParentID *Id `json:"parentId"`
Name string `json:"name"`
Endpoint *Endpoint `json:"localEndpoint"`
Tags map[string]string `json:"tags"`
Kind string `json:"kind"`
Timestamp int64 `json:"timestamp"`
Duration int64 `json:"duration"`
}
func (*SpanV2) ToZipkincoreSpan ¶
func (span *SpanV2) ToZipkincoreSpan() *zipkincore.Span
type ZipkincoreSpaner ¶
type ZipkincoreSpaner interface {
ToZipkincoreSpan() *zipkincore.Span
}
Click to show internal directories.
Click to hide internal directories.