zipkin

package
v0.2.6-test Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 17 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"
)

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 OCSpanDataToZipkin

func OCSpanDataToZipkin(
	node *commonpb.Node,
	s *trace.SpanData,
	defaultServiceName string,
) (zc zipkinmodel.SpanModel)

func V1JSONBatchToOCProto

func V1JSONBatchToOCProto(blob []byte) ([]consumerdata.TraceData, error)

V1JSONBatchToOCProto converts a JSON blob with a list of Zipkin v1 spans to OC Proto.

func V1ThriftBatchToOCProto

func V1ThriftBatchToOCProto(zSpans []*zipkincore.Span) ([]consumerdata.TraceData, error)

V1ThriftBatchToOCProto converts Zipkin v1 spans to OC Proto.

Types

This section is empty.

Jump to

Keyboard shortcuts

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