opentracing

package
v0.0.0-...-24c91c7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventReceiver

type EventReceiver struct{}

EventReceiver provides an embeddable implementation of dbr.TracingEventReceiver powered by opentracing-go.

func (EventReceiver) SpanError

func (EventReceiver) SpanError(ctx context.Context, err error)

SpanError adds an error to the span associated with ctx.

func (EventReceiver) SpanFinish

func (EventReceiver) SpanFinish(ctx context.Context)

SpanFinish finishes the span associated with ctx.

func (EventReceiver) SpanStart

func (EventReceiver) SpanStart(ctx context.Context, eventName, query string) context.Context

SpanStart starts a new query span from ctx, then returns a new context with the new span.

Jump to

Keyboard shortcuts

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