budibase/packages/server/src/ddApm.ts

8 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()
}