opentelemetry-js
opentelemetry-js copied to clipboard
Consolidate sync and async resource interfaces
trafficstars
In #3460 we introduced resources which may be sync or async. In a future version we should consolidate the interfaces into a single point of entry.
Because the resource class can now contain async unresolved resource attributes, we can remove the detectResourcesAsync. All resource detectors can return a sync resource that may contain async attributes.