jaeger

package
v0.0.0-...-04c4af4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jaeger

type Jaeger struct {
	providers.AbstractProvider

	Opts *Options
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *Jaeger

func (*Jaeger) Close

func (p *Jaeger) Close() error

Close closes the connection to Jaeger, using the closer created during startup.

func (*Jaeger) Init

func (p *Jaeger) Init() error

type Option

type Option func(*Options)

func WithAppProvider

func WithAppProvider(appProvider *app.App) Option

func WithEnabled

func WithEnabled(enabled bool) Option

func WithHost

func WithHost(host string) Option

func WithPort

func WithPort(port int) Option

func WithUseZipkinMode

func WithUseZipkinMode(useZipkinMode bool) Option

type Options

type Options struct {
	Enabled       bool
	Host          string
	Port          int
	UseZipkinMode bool
	AppProvider   *app.App
}

func (*Options) MergeIn

func (o *Options) MergeIn(opts ...Option)

Jump to

Keyboard shortcuts

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