You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2022. It is now read-only.
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/open-telemetry/opentelemetry-js-api?include_prereleases&style=for-the-badge">
This package provides everything needed to interact with the OpenTelemetry API, including all TypeScript interfaces, enums, and no-op implementations. It is intended for use both on the server and in the browser.
Because the npm installer and node module resolution algorithm could potentially allow two or more copies of any given package to exist within the same `node_modules` structure, the OpenTelemetry API takes advantage of a variable on the `global` object to store the global API. When an API method in the API package is called, it checks if this `global` API exists and proxies calls to it if and only if it is a compatible API version. This means if a package has a dependency on an OpenTelemetry API version which is not compatible with the API used by the end user, the package will receive a no-op implementation of the API.
75
105
106
+
<<<<<<< HEAD
76
107
## Upgrade Guidelines
77
108
78
-
-`1.0.0-rc.1`
109
+
### 1.0.0-rc.0 to x
79
110
80
-
[#45](https://github.com/open-telemetry/opentelemetry-js-api/pull/45)`Span#context` renamed to `Span#spanContext`
111
+
-`HttpBaggage` renamed to `HttpBaggagePropagator`
112
+
-[#45](https://github.com/open-telemetry/opentelemetry-js-api/pull/45)`Span#context` renamed to `Span#spanContext`
81
113
82
114
## Useful links
83
115
@@ -94,12 +126,11 @@ Apache 2.0 - See [LICENSE][license-url] for more information.
0 commit comments