Runs all resource detectors and returns the results merged into a single Resource. Promise does not resolve until all the underlying detectors have resolved, unlike detectResourcesSync.
Configuration for resource detection
Runs all resource detectors synchronously, merging their results. In case of attribute collision later resources will take precedence.
Configuration for resource detection
Generated using TypeDoc
Interface for Resource attributes. General
Attributes
interface is added in api v1.1.0. To backward support older api (1.0.x), the deprecatedSpanAttributes
is used here.