Skip to content

Commit

Permalink
fix(app): forgot to take configured site & service via env vars for d…
Browse files Browse the repository at this point in the history
…atadog logs (passportxyz#2360)
  • Loading branch information
nutrina authored Mar 29, 2024
1 parent e42d0bb commit f79994d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 || "",
});

Expand Down

0 comments on commit f79994d

Please sign in to comment.