We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d2378 commit 0650362Copy full SHA for 0650362
examples/main/index.ts
@@ -7,8 +7,10 @@ import { context, propagation } from "npm:@opentelemetry/api";
7
import { W3CBaggagePropagator } from "npm:@opentelemetry/core@1";
8
9
// @ts-ignore See https://github.com/denoland/deno/issues/28082
10
-globalThis[Symbol.for("opentelemetry.js.api.1")].propagation =
11
- new W3CBaggagePropagator();
+if (globalThis[Symbol.for("opentelemetry.js.api.1")]) {
+ globalThis[Symbol.for("opentelemetry.js.api.1")].propagation =
12
+ new W3CBaggagePropagator();
13
+}
14
15
console.log("main function started");
16
console.log(Deno.version);
0 commit comments