Merge pull request #12716 from Budibase/attach-user-to-spans
Enable dd-trace logging in QA to try and figure out why user info isn't being added to traces.
This commit is contained in:
commit
47d973c75a
|
@ -3,5 +3,9 @@ import apm from "dd-trace"
|
|||
// enable APM if configured
|
||||
if (process.env.DD_APM_ENABLED) {
|
||||
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",
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue