datadog

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: MIT Imports: 6 Imported by: 0

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

func ReportSpans(spans <-chan *tracer.Span)

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

Jump to

Keyboard shortcuts

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