photon-otel v3.6.0
Breaking Changes
setupOptionOtel()was replaced bycreateIsolatedOtel(). Update the related types fromSetupOptionOtelOptions/OptionOtelHandletoIsolatedOtelOptions/IsolatedOtelHandle.- Isolated runtimes no longer reuse the main
setupOtel()Resource or fixedphoton-developer-traceparentheader. You now passserviceName, optionalserviceVersion/resourceAttributes, and a privatetraceparentHeaderexplicitly.
New Features
- Added
createIsolatedOtel()for fully independent trace + log runtimes. Each call creates its own providers, exporters, Resource, and async context without touching global OTel state. ✨ - Isolated propagation now supports a caller-defined private trace header, while leaving the standard
traceparentheader alone.
Bug Fixes
PHOTON_OTEL_VERSIONnow reads frompackage.json, so it stays aligned with the published package version instead of drifting behind releases.
Improvement
- Docs and API references now describe the isolated runtime model more clearly, including shutdown, propagation, Resource behavior, and migration from the old option runtime.
Version: 3.6.0