diff --git a/packages/cloud/src/index.ts b/packages/cloud/src/index.ts index 93f71f634..6b0c6fcdc 100644 --- a/packages/cloud/src/index.ts +++ b/packages/cloud/src/index.ts @@ -7,7 +7,7 @@ import { findUp } from 'find-up'; dotenv.config({ path: await findUp('.env', {}) }); const { appInsights } = await import('@logto/shared/app-insights'); -appInsights.setup('logto-cloud-eu'); +appInsights.setup('logto-cloud'); const { default: withAuth } = await import('./middleware/with-auth.js'); const { default: withHttpProxy } = await import('./middleware/with-http-proxy.js'); diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 1f416d51e..6e6301d5a 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -9,7 +9,7 @@ import SystemContext from './tenants/SystemContext.js'; dotenv.config({ path: await findUp('.env', {}) }); const { appInsights } = await import('@logto/shared/app-insights'); -appInsights.setup('logto-cloud-eu'); +appInsights.setup('logto'); // Import after env has been configured const { loadConnectorFactories } = await import('./utils/connectors/index.js');