zipkin

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LocalEndpointIPv4         = "ipv4"
	LocalEndpointIPv6         = "ipv6"
	LocalEndpointPort         = "port"
	LocalEndpointServiceName  = "serviceName"
	RemoteEndpointIPv4        = "zipkin.remoteEndpoint.ipv4"
	RemoteEndpointIPv6        = "zipkin.remoteEndpoint.ipv6"
	RemoteEndpointPort        = "zipkin.remoteEndpoint.port"
	RemoteEndpointServiceName = "zipkin.remoteEndpoint.serviceName"
	StartTimeAbsent           = "otel.zipkin.absentField.startTime"
)

These constants are the attribute keys used when translating from zipkin format to the internal collector data format.

Variables

This section is empty.

Functions

func InternalTracesToZipkinSpans added in v0.8.0

func InternalTracesToZipkinSpans(td pdata.Traces) ([]*zipkinmodel.SpanModel, error)

InternalTracesToZipkinSpans translates internal trace data into Zipkin v2 spans. Returns a slice of Zipkin SpanModel's.

func V1JSONBatchToInternalTraces added in v0.8.0

func V1JSONBatchToInternalTraces(blob []byte) (pdata.Traces, error)

func V1ThriftBatchToInternalTraces added in v0.8.0

func V1ThriftBatchToInternalTraces(zSpans []*zipkincore.Span) (pdata.Traces, error)

func V2SpansToInternalTraces added in v0.8.0

func V2SpansToInternalTraces(zipkinSpans []*zipkinmodel.SpanModel) (pdata.Traces, error)

V2SpansToInternalTraces translates Zipkin v2 spans into internal trace data.

Types

type AttrValDescript added in v0.8.0

type AttrValDescript struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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