Merge branch 'master' into fix/multi-step-form-block-layouts

This commit is contained in:
deanhannigan 2024-01-05 17:51:34 +00:00 committed by GitHub
commit 808ecf07f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -3,5 +3,9 @@ import apm from "dd-trace"
// enable APM if configured // enable APM if configured
if (process.env.DD_APM_ENABLED) { if (process.env.DD_APM_ENABLED) {
console.log("Starting dd-trace") console.log("Starting dd-trace")
apm.init() apm.init({
// @ts-ignore for some reason dd-trace types don't include this options,
// even though it's spoken about in the docs.
debug: process.env.DD_ENV === "qa",
})
} }