otel

package
v0.1.78 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// OTLPEndpoint defines whether to ship spans to an OTLP consumer or
	// not, and where to send them to.
	OTLPEndpoint string
}

Options defines common controller options.

func (*Options) AddFlags

func (o *Options) AddFlags(f *pflag.FlagSet)

func (*Options) Setup

func (o *Options) Setup(ctx context.Context, opts ...trace.TracerProviderOption) error

Setup creates enough infrastructure to enable span creation, shipping and trace contect propagation.

Jump to

Keyboard shortcuts

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