opentracing

package
v7.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 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 Tracer

type Tracer[K comparable, V any] struct{}

Tracer implements a tracer that can be used with the Open Tracing standard.

func (Tracer[K, V]) TraceBatch

func (Tracer[K, V]) TraceBatch(ctx context.Context, keys []K) (context.Context, dataloader.TraceBatchFinishFunc[V])

TraceBatch will trace a call to dataloader.LoadMany with Open Tracing.

func (Tracer[K, V]) TraceLoad

func (Tracer[K, V]) TraceLoad(ctx context.Context, key K) (context.Context, dataloader.TraceLoadFinishFunc[V])

TraceLoad will trace a call to dataloader.LoadMany with Open Tracing.

func (Tracer[K, V]) TraceLoadMany

func (Tracer[K, V]) TraceLoadMany(ctx context.Context, keys []K) (context.Context, dataloader.TraceLoadManyFinishFunc[V])

TraceLoadMany will trace a call to dataloader.LoadMany with Open Tracing.

Jump to

Keyboard shortcuts

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