From 082bb2339252958d2e31b16317ce87b72ac57ed0 Mon Sep 17 00:00:00 2001 From: David Thyresson Date: Fri, 29 Dec 2023 09:15:33 -0500 Subject: [PATCH] Fixes way OT template imports project-config for port setting --- .../commands/experimental/templates/opentelemetry.ts.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/commands/experimental/templates/opentelemetry.ts.template b/packages/cli/src/commands/experimental/templates/opentelemetry.ts.template index d2a53589e70b..d737f9c5f50a 100644 --- a/packages/cli/src/commands/experimental/templates/opentelemetry.ts.template +++ b/packages/cli/src/commands/experimental/templates/opentelemetry.ts.template @@ -15,7 +15,7 @@ const { } = require('@opentelemetry/semantic-conventions') const { PrismaInstrumentation } = require ('@prisma/instrumentation') -const { getConfig } from '@redwoodjs/project-config' +const { getConfig } = require('@redwoodjs/project-config') // You may wish to set this to DiagLogLevel.DEBUG when you need to debug opentelemetry itself diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.INFO)