Skip to content

Commit 6aab7f3

Browse files
committed
set an explicit version range for the @opentelemetry/api (#4318)
1 parent ce7c941 commit 6aab7f3

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,11 @@ If you would like to trace your bundled application then please read this page o
108108

109109
## Security Vulnerabilities
110110

111-
Please refer to the [SECURITY.md](https://github.com/DataDog/dd-trace-js/blob/master/SECURITY.md) document if you have found a security issue.
111+
Please refer to the [SECURITY.md](https://github.com/DataDog/dd-trace-js/blob/master/SECURITY.md) document if you have found a security issue.
112+
113+
## Datadog With OpenTelemetery
114+
115+
Please refer to the [Node.js Custom Instrumentation using OpenTelemetry API](https://docs.datadoghq.com/tracing/trace_collection/custom_instrumentation/nodejs/otel/) document. It includes information on how to use the OpenTelemetry API with dd-trace-js
116+
117+
Note that our internal implementation of the OpenTelemetry API is currently set within the version range `>=1.0.0 <1.9.0`. This range will be updated at a regular cadence therefore, we recommend updating your tracer to the latest release to ensure up to date support.
118+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@datadog/native-metrics": "^2.0.0",
7777
"@datadog/pprof": "5.3.0",
7878
"@datadog/sketches-js": "^2.1.0",
79-
"@opentelemetry/api": "^1.0.0",
79+
"@opentelemetry/api": ">=1.0.0 <1.9.0",
8080
"@opentelemetry/core": "^1.14.0",
8181
"crypto-randomuuid": "^1.0.0",
8282
"dc-polyfill": "^0.1.4",

0 commit comments

Comments
 (0)