observability

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, name string, config Config) error

func NewOtelLogger

func NewOtelLogger(logger *log2.Logger) logr.Logger

Types

type Config

type Config struct {
	LogLevel   log.Level `default:"error" help:"OTEL log level."`
	ExportOTEL bool      `help:"Export metrics to OTEL."`
}

Jump to

Keyboard shortcuts

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