photon-otel v3.7.0
New Features
-
createIsolatedOtel()can now carry standard OTel Baggage through a private header with the newbaggageHeaderoption. This lets isolated runtimes pass tenant/request context without touching the app’s normalbaggage,traceparent, ortracestateheaders. 🎒 -
Isolated runtimes now expose
recordError(error)for explicitly exporting exception type, message, and stack on the active isolated span.
Breaking Changes
- Isolated
withSpan()still marks thrown errors asERRORand rethrows the original value, but it no longer automatically records exception details. Callruntime.recordError(error)inside the span when you want those details exported.
Improvement
-
Private propagation header validation is stricter: isolated trace and baggage carriers cannot use standard OTel header names, and the baggage header must be different from the trace header.
-
README examples now show private baggage propagation and the new explicit error-recording flow.
Version: 3.7.0