zipkinserver

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZipkinServer

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

ZipkinServer is an embedded Zipkin server

func Start

func Start() *ZipkinServer

Start embedded Zipkin server

func (*ZipkinServer) Reset

func (z *ZipkinServer) Reset()

Reset received spans

func (*ZipkinServer) Stop

func (z *ZipkinServer) Stop()

Stop the embedded Zipkin server

func (*ZipkinServer) URL

func (z *ZipkinServer) URL() string

URL of the Zipkin server

func (*ZipkinServer) WaitForSpans

func (z *ZipkinServer) WaitForSpans(t *testing.T, numSpans int) traceformat.Trace

WaitForSpans waits for numSpans to become available

Jump to

Keyboard shortcuts

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