@wolfstar/plugin-opentelemetry. The plugin traces a bot with OpenTelemetry: a preload starts the SDK, and a plugin opens one span per interaction. For the weekly summary across all packages, see the changelog overview.
0.1.0 (2026-10-24)
New features
- New package — Trace an
@wolfstar/http-frameworkbot with OpenTelemetry. See the package docs. (#262) - Preload — Load
@wolfstar/plugin-opentelemetry/preloadwith--import. It starts the SDK only on the main thread and only when an OTLP endpoint is set, and picks the exporter fromOTEL_EXPORTER_OTLP_PROTOCOL. - Sentry exporter — The preload can add a Sentry exporter from
SENTRY_DSNwithout leaking the headers of the first destination. - Safe defaults — The preload redacts Discord tokens in
undicispans, skips WebSocket handshakes and the Sentry transport, and exports the last spans onSIGTERMwithout keeping the process alive. - Interaction spans — The
./pluginentry, or the./moduleentry under theopentelemetrykey ofstars.config, opens one span per command and handler, and on request per autocomplete. Each span is the parent of the calls the command makes. flushTraces()— Exports the spans waiting in the batch from a shutdown path.