observability

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricsEnabled

func MetricsEnabled() bool

MetricsEnabled reports whether SDK metrics emission is enabled. Defaults to true.

func Propagator

func Propagator() propagation.TextMapPropagator

Propagator returns the configured propagator without mutating the process-global OTEL state.

func TracePropagationEnabled

func TracePropagationEnabled() bool

TracePropagationEnabled reports whether OTEL propagators are active.

func Tracer

func Tracer(name string) trace.Tracer

Tracer returns a trace.Tracer that honors the tracing toggle.

func TracingEnabled

func TracingEnabled() bool

TracingEnabled reports whether SDK tracing is enabled. Defaults to true.

Types

This section is empty.

Jump to

Keyboard shortcuts

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