ELSEIF
Your brief EB
392 stories from 147 feeds 777 clusters Refreshed 3 minutes ago next pull 03:10

OBSERVABILITY Signal 445

Direct OpenTelemetry log export from Rails bypasses Collector; two Ruby SDK bugs fixed upstream

A team configured OpenTelemetry logs in Rails to export directly to Grafana Cloud without a Collector sidecar, and contributed upstream fixes for two Ruby SDK bugs they encountered.

WHY IT MATTERS

Direct export from the Ruby SDK simplifies infrastructure for low-volume logging by removing the need for an OpenTelemetry Collector sidecar. The two bugs fixed, one dropping the endpoint base path and one mishandling HTTP 204 responses, would have blocked or silently broken log export to vendors like Grafana Cloud.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

The team bypassed the OpenTelemetry Collector and exported logs directly from the Ruby SDK to Grafana Cloud, relying on the SDK's built-in batching for their low log volume.

02

The opentelemetry-exporter-otlp-logs gem dropped the base path from the OTLP endpoint (fixed in v0.5.1) and treated HTTP 204 responses as failures (fixed in v0.4.0).

03

The setup requires six gems including opentelemetry-logs-sdk and opentelemetry-instrumentation-logger, with configuration via standard OTLP environment variables and a Rails initializer.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
sixpatterns.com via Hacker News How we configured OpenTelemetry logs in Rails Open ↗