Documentation
¶
Overview ¶
Package extotel provides opinionated initialization of the OpenTelemetry SDK for Steadybit extensions. It is configured entirely via standard OTEL_* environment variables so operators can swap collectors and backends without code changes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitOpenTelemetry ¶
InitOpenTelemetry configures the global TracerProvider and propagators based on standard OTEL_* environment variables. It is safe to call once from main(). The returned function shuts the provider down and flushes buffered spans; it is idempotent. In production the registered extsignals handler performs shutdown on SIGTERM/SIGINT.
Types ¶
This section is empty.