diff --git a/src/controllers/opentelemetry.js b/src/controllers/opentelemetry.js index b711fc5..133907f 100644 --- a/src/controllers/opentelemetry.js +++ b/src/controllers/opentelemetry.js @@ -11,7 +11,7 @@ const debug = Debug("bte:biothings-explorer:otel-init"); debug("Initializing Opentelemetry instrumentation..."); const sdk = new opentelemetry.NodeSDK({ traceExporter: new OTLPTraceExporter({ - url: process.env.JAEGER_URL ?? "http://localhost:4318/v1/traces", + url: (process.env.JAEGER_URL ?? "http://localhost:4318") + "/v1/traces", }), instrumentations: [getNodeAutoInstrumentations()], resource: new Resource({