otelx

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupErrorHandler

func SetupErrorHandler(log *zap.Logger)

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(opts ...ProviderOption) (*Provider, error)

func NoopProvider

func NoopProvider() *Provider

func (*Provider) Close

func (p *Provider) Close(ctx context.Context) error

type ProviderOption

type ProviderOption func(options *providerOptions) error

func ProviderWithJaegerExporter

func ProviderWithJaegerExporter(endpoint string) ProviderOption

func ProviderWithLogExporter

func ProviderWithLogExporter(pretty bool) ProviderOption

Jump to

Keyboard shortcuts

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