opentrace

package
v0.0.0-...-38dac57 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultTracer

func DefaultTracer() trace.Tracer

func InitTraceProvider

func InitTraceProvider(config *Config) (func() error, error)

Types

type Config

type Config struct {
	Enable         bool          `json:"enable" toml:"enable" mapstructure:"enable"`
	DSN            string        `json:"dsn" toml:"dsn" mapstructure:"dsn"`
	ConnectTimeout time.Duration `json:"connect_timeout" toml:"-" mapstructure:"-"`
}

func (*Config) String

func (c *Config) String() string

func (*Config) VerifyConfig

func (c *Config) VerifyConfig() error

Jump to

Keyboard shortcuts

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