telemetry

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerFactory added in v1.3.1

func HandlerFactory(name, endpoint string, insecure bool, urlpath string, headers map[string]string, protocol string, level slog.Leveler) (slog.Handler, error)

HandlerFactory - Create log handler according to given params

func NewCounter added in v0.10.0

func NewCounter(meter omt.Meter, name, description string) omt.Int64Counter

func NewGCPHandler added in v1.3.1

func NewGCPHandler(headers map[string]string, level slog.Leveler) (slog.Handler, error)

func NewHistogram added in v0.10.0

func NewHistogram(meter omt.Meter, name, unit, description string) omt.Int64Histogram

func NewLog added in v0.9.9

func NewLog(exporter sdk.LogRecordExporter) *sdk.LoggerProvider

NewLog - Creates new log

func NewMeter added in v0.2.1

func NewMeter(exporter metric.Exporter, interval time.Duration) func(context.Context) error

NewMeter - Creates new meter

func NewNoopMeter added in v0.2.1

func NewNoopMeter() omt.Meter

NewNoopMeter - Creates new noop meter

func NewOTLPHandler added in v1.3.1

func NewOTLPHandler(endpoint string, insecure bool, urlPath string, headers map[string]string, protocol string, level slog.Leveler) (slog.Handler, error)

func NewTracer

func NewTracer(exporter trace.SpanExporter) func(context.Context) error

NewTracer - Creates new tracer

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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