obs

package
v0.2.65 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics interface {
	Inc(name string, labels map[string]string, delta int64)
}

Metrics provides simple counter increments with string labels.

type NoopMetrics

type NoopMetrics struct{}

NoopMetrics is a Metrics that does nothing.

func (NoopMetrics) Inc

func (NoopMetrics) Inc(name string, labels map[string]string, delta int64)

type NoopTracer

type NoopTracer struct{}

NoopTracer is a Tracer that does nothing.

func (NoopTracer) Debug

func (NoopTracer) Debug(event string, fields map[string]any)

type Tracer

type Tracer interface {
	Debug(event string, fields map[string]any)
}

Tracer provides structured debug event recording without secrets.

Jump to

Keyboard shortcuts

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