obs

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package obs provides OpenTelemetry SDK setup, propagation, and middleware shells for paper-board services.

Phase 1.0: no-op SetupOTel placeholder. Phase 1.5: real exporter (OTLP), W3C TraceContext propagation, gRPC + HTTP middleware.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shutdown

type Shutdown func(context.Context) error

Shutdown is returned by SetupOTel; callers must defer it on shutdown.

func SetupOTel

func SetupOTel(serviceName, version string) (Shutdown, error)

SetupOTel initializes the OTel SDK for a service. Returns a shutdown closer.

Phase 1.0 stub: no-op (exports nothing). Replace in Phase 1.5 with OTLP exporter, batch span processor, W3C TraceContext propagator.

Jump to

Keyboard shortcuts

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