2.0.1
🐛 Bug Fixes
- fix(resources): guard asynchronous resource attribute rejections from causing unhandled promise rejection #5544 @dyladan
- fix(resource): do not trigger
Accessing resource attributes before async attributes settled
warning when detecting resources #5546 @dyladan- verbose logging of detected resource removed
- fix(resource): use dynamic import over require to improve ESM compliance #5298 @xiaoxiangmoe
📚 Documentation
- refactor(metrics): Updated metrics samples to no longer treat
sdk.start()
as async #5617 @JacksonWeber
🏠 Internal
- refactor(sdk-trace-base): update semconv usage to ATTR_ exports #5669 @trentm
- refactor(sdk-trace-web): update semconv usage to ATTR_ exports #5672 @trentm
- refactor(resources): update semconv usage to ATTR_ exports #5666 @trentm
- test(sdk-metrics): fix multiple problematic assertRejects() calls #5611 @cjihrig
- refactor: replace assertRejects() with assert.rejects() #5614 @cjihrig
- refactor(core): migrate from deprecated semconv constants #5575 @alumni55748
- refactor(opentelemetry-core): simplify
parseKeyPairsIntoRecord()
#5610 @cjihrig