telemetry

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package telemetry initializes OpenTelemetry for the IPAM backend (traces to stdout). See https://opentelemetry.io/docs/languages/go/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context) (shutdown func(context.Context) error, err error)

Init initializes the global TracerProvider with a stdout trace exporter. Call Shutdown before process exit.

func Shutdown

func Shutdown(ctx context.Context, shutdown func(context.Context) error)

Shutdown flushes and shuts down the global TracerProvider. Call in main defer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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