otelsetup

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tracing

func Tracing(ctx context.Context, opts Options) (*trace.TracerProvider, error)

Types

type Options

type Options struct {
	ServiceName       string
	Endpoint          string
	Insecure          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

Jump to

Keyboard shortcuts

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