dd-trace
Version:
Datadog APM tracing client for JavaScript
17 lines (15 loc) • 433 B
JavaScript
module.exports = function getDebuggerConfig (config) {
return {
commitSHA: config.commitSHA,
debug: config.debug,
dynamicInstrumentation: config.dynamicInstrumentation,
hostname: config.hostname,
logLevel: config.logLevel,
port: config.port,
repositoryUrl: config.repositoryUrl,
runtimeId: config.tags['runtime-id'],
service: config.service,
url: config.url?.toString(),
}
}