From f79994dd1cf85f20f82bb5aec32ac2403fde5c37 Mon Sep 17 00:00:00 2001 From: nutrina Date: Fri, 29 Mar 2024 09:12:44 +0200 Subject: [PATCH] fix(app): forgot to take configured site & service via env vars for datadog logs (#2360) --- app/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pages/index.tsx b/app/pages/index.tsx index 8deefe1011..c7824af275 100644 --- a/app/pages/index.tsx +++ b/app/pages/index.tsx @@ -34,10 +34,10 @@ datadogRum.init({ datadogLogs.init({ clientToken: process.env.NEXT_PUBLIC_DATADOG_CLIENT_TOKEN || "", - site: "datadoghq.eu", + site: process.env.NEXT_PUBLIC_DATADOG_SITE || "", forwardErrorsToLogs: true, sampleRate: 100, - service: `passport-frontend`, + service: process.env.NEXT_PUBLIC_DATADOG_SERVICE || "", env: process.env.NEXT_PUBLIC_DATADOG_ENV || "", });