tracing

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) fiber.Handler

Types

type OperationFilter

type OperationFilter func(*fiber.Ctx) bool

type OperationNameProvider

type OperationNameProvider func(*fiber.Ctx) string

type Option

type Option func(*opts)

func WithOperationFilter

func WithOperationFilter(filter OperationFilter) Option

func WithOperationNameProvider

func WithOperationNameProvider(provider OperationNameProvider) Option

func WithSkipSpanWithoutParent

func WithSkipSpanWithoutParent(flag bool) Option

func WithSpanObserver

func WithSpanObserver(observer SpanObserver) Option

func WithTracer

func WithTracer(tracer opentracing.Tracer) Option

type SpanObserver

type SpanObserver func(opentracing.Span, *fiber.Ctx)

Jump to

Keyboard shortcuts

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