telemetry

package
v0.0.7-do.not.use Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShutdownFunc

type ShutdownFunc func(ctx context.Context)

func InitializeOTel

func InitializeOTel(ctx context.Context, endpoint string) (ShutdownFunc, error)

InitializeOTel sets up OTEL with meter/metrics and tracer providers

type Tracker

type Tracker interface {
	TrackEvent(event any)

	Notify(err error, rawData ...interface{})
}

func AsyncWrapper

func AsyncWrapper(tracker Tracker) Tracker

func NoopTracker

func NoopTracker() Tracker

Jump to

Keyboard shortcuts

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