Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertZipkinSpans ¶
func ConvertZipkinSpans(zipkinSpans <-chan *zipkincore.Span, converter SpanConverterFunc) <-chan *tracer.Span
Reads all zipkin spans from the given channel, converts them to datadog spans using the given converter and write them into another channel.
func ReportSpans ¶
Reports all spans written to the provided channel. This method blocks until the channel is closed, so better call it in a go routine.
Types ¶
type SpanConverterFunc ¶
type SpanConverterFunc func(span *zipkincore.Span) *tracer.Span
Click to show internal directories.
Click to hide internal directories.