key-value pairs passed by the user.
A pointer to another span.
hrtime, epoch milliseconds, performance.now() or Date
A number which should be incremented each time a backwards incompatible change is made to the API. This number is used when an API package attempts to access the global API to ensure it is getting a compatible version. If the global API is not compatible with the API package attempting to get it, a NOOP API implementation will be returned.
only globals that common to node and browsers are allowed
Entrypoint for context API
Entrypoint for metrics API
Entrypoint for propagation API
Entrypoint for trace API
Default getter which just does a simple property access. Returns undefined if the key is not set.
Default setter which sets value via direct property access
Make a function which accepts a version integer and returns the instance of an API if the version is compatible, or a fallback version (usually NOOP) if it is not.
Backwards compatibility version which is required to return the instance
Instance which should be returned if the required version is compatible
Fallback instance, usually NOOP, which will be returned if the required version is not compatible