1.28.0
🚀 (Enhancement)
-
feat(sdk-metrics, sdk-trace): add
mergeResourceWithDefaults
flag, which allows opting-out of resources getting merged with the default resource #4617- default:
true
(no change in behavior) - note:
false
will become the default behavior in the next major version in order to comply with specification requirements
- default:
-
feat(sdk-trace-base): add
spanProcessors
property inTracerConfig
interface. #5138 @david-luna
🐛 (Bug Fix)
- fix(sdk-metrics): await exports in
PeriodicExportingMetricReader
when async resource attributes have not yet settled #5119 @pichlermarc - fix(sdk-trace): performance.now() may return the same value for consecutive calls #5150 @dyladan
- fix(sdk-trace-base): pass BatchSpanProcessor#forceFlush() errors on visibilitychange/pagehide to globalErrorHandler #5143 @pichlermarc
- fixes a bug where switching browser tabs with a failing exporter would cause an unhandled error