From 11652649d8845106ab4093e6c204e6de9a4260a8 Mon Sep 17 00:00:00 2001 From: Maikel Date: Tue, 5 Nov 2024 11:04:39 +0100 Subject: [PATCH] docs(instrumentation-router): correct import statement (#2517) --- plugins/node/opentelemetry-instrumentation-router/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/node/opentelemetry-instrumentation-router/README.md b/plugins/node/opentelemetry-instrumentation-router/README.md index 29c2a54f05..7145d3b8a3 100644 --- a/plugins/node/opentelemetry-instrumentation-router/README.md +++ b/plugins/node/opentelemetry-instrumentation-router/README.md @@ -25,7 +25,7 @@ npm install --save @opentelemetry/instrumentation-router const { ConsoleSpanExporter, SimpleSpanProcessor } = require('@opentelemetry/sdk-trace-base'); const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node'); const { registerInstrumentations } = require('@opentelemetry/instrumentation'); -const RouterInstrumentation = require('@opentelemetry/instrumentation-router'); +const { RouterInstrumentation } = require('@opentelemetry/instrumentation-router'); const provider = new NodeTracerProvider();