> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracelit.io/llms.txt
> Use this file to discover all available pages before exploring further.

# v0.1.1 — Apr 27, 2026

> Go SDK v0.1.1 — Apr 27, 2026

# v0.1.1 — Apr 27, 2026

**New**

* `span.RecordPanic(r)` — records a panic value as an error span event and re-panics by default; `WithSwallowPanic()` option absorbs the panic instead
* `tracelit.StartProducerSpan` / `StartConsumerSpan` — explicit producer/consumer span kind constructors for message queue instrumentation
* `bridge.NewZerologWriter(w)` — zerolog writer bridge that forwards log records to the OTel LoggerProvider with trace correlation

**Improvements**

* `RecordError` now attaches a full goroutine stack trace as `exception.stacktrace` — no manual `debug.Stack()` needed
* Logger bridges (slog, zap, logrus, zerolog) now inject `trace_id` and `span_id` from the context into every log record automatically
* `middleware.NewHTTPHandler` sets `http.route` attribute using the registered mux pattern (not the raw path), reducing cardinality
* Runtime metric export interval configurable via `WithRuntimeInterval(d)`; defaults to 60 s

**Fixes**

* Fixed `tracelit.Configure()` (env-var path) not picking up `TRACELIT_ENABLED=false` correctly when the env var was set to the string `"0"`
* Fixed gRPC client middleware not propagating W3C `traceparent` header when the outgoing context had no existing span
