Documentation
¶
Overview ¶
Package obs provides OpenTelemetry SDK setup, propagation, and shutdown for paper-board services.
SetupOTel initialises a TracerProvider + MeterProvider via OTLP/HTTP exporters (endpoint from OTEL_EXPORTER_OTLP_ENDPOINT). W3C TraceContext + Baggage propagators are registered globally. Resource attributes attach service.name / service.version / service.namespace=paper-board.
When OTEL_EXPORTER_OTLP_ENDPOINT is unset, SetupOTel installs only the W3C propagator and returns a no-op Shutdown — services can boot without an OTel collector available.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.