v0.1.1 — Apr 27, 2026
Newspan.RecordPanic(r)— records a panic value as an error span event and re-panics by default;WithSwallowPanic()option absorbs the panic insteadtracelit.StartProducerSpan/StartConsumerSpan— explicit producer/consumer span kind constructors for message queue instrumentationbridge.NewZerologWriter(w)— zerolog writer bridge that forwards log records to the OTel LoggerProvider with trace correlation
RecordErrornow attaches a full goroutine stack trace asexception.stacktrace— no manualdebug.Stack()needed- Logger bridges (slog, zap, logrus, zerolog) now inject
trace_idandspan_idfrom the context into every log record automatically middleware.NewHTTPHandlersetshttp.routeattribute using the registered mux pattern (not the raw path), reducing cardinality- Runtime metric export interval configurable via
WithRuntimeInterval(d); defaults to 60 s
- Fixed
tracelit.Configure()(env-var path) not picking upTRACELIT_ENABLED=falsecorrectly when the env var was set to the string"0" - Fixed gRPC client middleware not propagating W3C
traceparentheader when the outgoing context had no existing span