zipkin

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: Apache-2.0 Imports: 24 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

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

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

func V1ThriftBatchToInternalTraces

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

func V2SpansToInternalTraces

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

V2SpansToInternalTraces translates Zipkin v2 spans into internal trace data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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