zipkinproxy

package module
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: MIT Imports: 28 Imported by: 0

README

dd-zipkin-proxy

A simple zipkin to datadog proxy for datadogs new apm feature. Works best with zipkins http thrift codec. The json codec might have some problems.

Example

On how to use the proxy, see the example directory for a simple example.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Metrics = metrics.NewPrefixedRegistry("zipkin.proxy.")

Functions

func ErrorCorrectSpans

func ErrorCorrectSpans(spanChannel <-chan *zipkincore.Span, output chan<- *zipkincore.Span)

func Main

func Main(spanConverter datadog.SpanConverterFunc)

func PipeThroughSpans added in v1.5.7

func PipeThroughSpans(in <-chan *zipkincore.Span, out chan<- *zipkincore.Span)

Types

type SpansBuffer

type SpansBuffer struct {
	// contains filtered or unexported fields
}

func NewSpansBuffer

func NewSpansBuffer(capacity uint) *SpansBuffer

func (*SpansBuffer) ReadFrom

func (buffer *SpansBuffer) ReadFrom(spans <-chan *zipkincore.Span)

func (*SpansBuffer) ToSlice

func (buffer *SpansBuffer) ToSlice() []jsoncodec.SpanV1

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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