* add datadog apm * datadog init not start * extra env vars for DD APM * add datadog apm * datadog init not start * extra env vars for DD APM * add datadog apm * remove space * Enable typescript integration with apm agents * Fix typo --------- Co-authored-by: Jonny <Jonny McCullagh> Co-authored-by: Rory Powell <rory.codes@gmail.com>
7 lines
140 B
TypeScript
7 lines
140 B
TypeScript
import apm from "dd-trace"
|
|
|
|
// enable APM if configured
|
|
if (process.env.DD_APM_ENABLED) {
|
|
console.log("Starting dd-trace")
|
|
apm.init()
|
|
}
|