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.