Skip to main content
GreenSlope
All changelog entries
2026.03-hotfix-2
  • Fixed

Go SDK no longer truncates in-flight spans on SIGTERM during graceful shutdown.

A SIGTERM during graceful shutdown could close the OTLP exporter before the final flush completed, truncating up to two seconds of in-flight spans. Symptom: the last request of a rolling deploy would appear to have no downstream spans, making it look like the new pod was failing silently when in fact the span data had simply been dropped.

The shutdown path now waits on the flush completion (capped at the configured exporter timeout) before closing the transport. We backfilled the missing spans for affected tenants where the buffered data was still within the 7-day retention window; anything older is unrecoverable.

Thanks to the customer who filed the reproducer — the bug had been latent since v0.5 and was invisible without a tightly-timed rolling restart.

Affects
Customers running the Go SDK on Kubernetes, Nomad, or any platform that sends SIGTERM before SIGKILL.
Action required
Upgrade the Go SDK to v0.6.3 or later. Earlier v0.6 releases will continue to drop spans on shutdown.