otel

package
v1.23.11 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, opts *Options) error

func PathFilter

func PathFilter(opts *Options) otelgin.Filter

func UseRealPath

func UseRealPath() otelgin.SpanNameGenerater

Types

type Options

type Options struct {
	Enable       bool   `json:"enable" description:"enable otel"`
	ExcludePaths string `json:"excludePaths" description:"exclude http request paths to sample, split by ','"`
}

func NewDefaultOptions

func NewDefaultOptions() *Options

Directories

Path Synopsis
gorm

Jump to

Keyboard shortcuts

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