opentelemetry

package
v0.10.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoParentSpan = errors.New("no parent span available")

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 trace.Tracer) Option

type SpanObserver

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

Jump to

Keyboard shortcuts

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