From a6369fec2c2ae85016ec3538614148c830fc59bb Mon Sep 17 00:00:00 2001 From: Rohan Juneja Date: Fri, 22 Dec 2023 18:21:52 -0800 Subject: [PATCH] import fix --- src/controllers/opentelemetry.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/opentelemetry.js b/src/controllers/opentelemetry.js index 119aa04..a786599 100644 --- a/src/controllers/opentelemetry.js +++ b/src/controllers/opentelemetry.js @@ -5,6 +5,7 @@ const { OTLPMetricExporter } = require("@opentelemetry/exporter-metrics-otlp-pro const { PeriodicExportingMetricReader, ConsoleMetricExporter } = require("@opentelemetry/sdk-metrics"); const { Resource } = require("@opentelemetry/resources"); const { ConsoleSpanExporter } = require("@opentelemetry/sdk-trace-node"); +const { isMainThread } = require('worker_threads'); const Debug = require("debug"); const debug = Debug("bte:biothings-explorer:otel-init");