> ## 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

> Ruby SDK v0.1.1 — Apr 27, 2026

# v0.1.1 — Apr 27, 2026

**New**

* Sidekiq job metrics — `sidekiq.job.count`, `sidekiq.job.duration`, `sidekiq.job.error.count` emitted automatically via server middleware when Sidekiq is present
* Database connection pool metrics — `db.connection_pool.size/busy/idle/waiting` polled every 30 s from `ActiveRecord::Base.connection_pool`
* `Tracelit.metrics.gauge` — point-in-time metric instrument for custom gauges

**Improvements**

* Rails log forwarding now uses the `ActiveSupport::BroadcastLogger` API (Rails 7.1+) and falls back gracefully to `Logger::Formatter` wrapping on older versions
* `config.resource_attributes` hash is now deep-merged on top of the default OTel resource so SDK attributes (`service.name`, `service.version`) are never overwritten
* All HTTP server metrics now include `controller` and `action` as attributes when instrumented through Action Pack

**Fixes**

* Fixed `Tracelit.start!` being called twice during Rails boot when both a Railtie and an explicit `Tracelit.start!` call were present — now idempotent
* Fixed `ErrorSpanProcessor` not exporting spans when the parent sampler returned `DROP` for a span whose status was set to error via `span.status=`
