From 0657355f27d734246caa9ab781a175d258468f39 Mon Sep 17 00:00:00 2001 From: Arvid Norlin Date: Mon, 1 Jul 2024 11:03:25 +0200 Subject: [PATCH] chore: remove debug configuration --- env/server.ts | 6 ------ package.json | 1 - 2 files changed, 7 deletions(-) diff --git a/env/server.ts b/env/server.ts index 4893a8fbb..75c85719b 100644 --- a/env/server.ts +++ b/env/server.ts @@ -9,8 +9,6 @@ export const env = createEnv({ */ isServer: typeof window === "undefined" || "Deno" in window, server: { - OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: z.string(), - OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: z.string(), APPLICATION_INSIGHTS_CONNECTION_STRING: z.string(), ADOBE_SCRIPT_SRC: z.string().optional(), API_BASEURL: z.string(), @@ -61,10 +59,6 @@ export const env = createEnv({ }, emptyStringAsUndefined: true, runtimeEnv: { - OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: - process.env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, - OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: - process.env.OTEL_EXPORTER_OTLP_TRACES_PROTOCOL, APPLICATION_INSIGHTS_CONNECTION_STRING: process.env.APPLICATION_INSIGHTS_CONNECTION_STRING, ADOBE_SCRIPT_SRC: process.env.ADOBE_SCRIPT_SRC, diff --git a/package.json b/package.json index ba8dcb90b..04649dc82 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "build": "next build", "predev": "rm -rf .next", "dev": "PORT=3000 NEXT_PUBLIC_PORT=3000 next dev", - "dev:otel": "OTEL_LOG_LEVEL=debug && NEXT_OTEL_VERBOSE=1 && npm run dev", "prelint": "rm -rf .next", "lint": "next lint --max-warnings 0 && tsc", "prelint:fix": "rm -rf .next",