dd-trace
Version:
Datadog APM tracing client for JavaScript
16 lines (12 loc) • 307 B
JavaScript
const snapshotKinds = Object.freeze({
PERIODIC: 'periodic',
ON_SHUTDOWN: 'on_shutdown',
ON_OUT_OF_MEMORY: 'on_oom'
})
const oomExportStrategies = Object.freeze({
PROCESS: 'process',
ASYNC_CALLBACK: 'async',
LOGS: 'logs'
})
module.exports = { snapshotKinds, oomExportStrategies }