opentracing

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterChainBuilder

type FilterChainBuilder struct {
	// CustomSpanFunc users are able to custom their span
	CustomSpanFunc func(span opentracing.Span, ctx context.Context, inv *orm.Invocation)
}

FilterChainBuilder provides an extension point this Filter's behavior looks a little bit strange for example: if we want to trace QuerySetter actually we trace invoking "QueryTable" the method Begin*, Commit and Rollback are ignored. When use using those methods, it means that they want to manager their transaction manually, so we won't handle them.

func (*FilterChainBuilder) FilterChain

func (builder *FilterChainBuilder) FilterChain(next orm.Filter) orm.Filter

Jump to

Keyboard shortcuts

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