otelsetup

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ServiceName       string
	Endpoint          string
	Insecure          bool
	Stdout            bool
	TLSVerify         bool
	TLSClientKeyPath  string
	TLSClientCertPath string
	TLSRootCAPath     string
}

func (*Options) BindFlags

func (o *Options) BindFlags(fs *pflag.FlagSet)

BindFlags will parse the given pflag.FlagSet

func (*Options) BuildTracer added in v0.0.18

func (o *Options) BuildTracer(ctx context.Context) (*trace.TracerProvider, error)

Jump to

Keyboard shortcuts

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