@contrast/agentify
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -140,8 +140,14 @@ /* | ||
logDiagnosticFiles() { | ||
const { config, getEffectiveConfig, getSystemInfo } = this.core; | ||
const { agentName, agentVersion, config, getEffectiveConfig, getSystemInfo } = this.core; | ||
if (config.agent.diagnostics.enable !== false) { | ||
const effectiveConfig = JSON.stringify(getEffectiveConfig(), null, 2).concat('\n\n'); | ||
const systemInfo = JSON.stringify(getSystemInfo(), null, 2).concat('\n\n'); | ||
let systemInfo = getSystemInfo(); | ||
systemInfo.Contrast.Agent = { | ||
Name: agentName, | ||
Version: agentVersion, | ||
}; | ||
systemInfo = JSON.stringify(systemInfo, null, 2).concat('\n\n'); | ||
if (!config.agent.diagnostics.quiet) { | ||
@@ -148,0 +154,0 @@ fs.writeFileSync(1, effectiveConfig, 'utf8'); |
{ | ||
"name": "@contrast/agentify", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Configures Contrast agent services and instrumentation within an application", | ||
@@ -19,2 +19,2 @@ "license": "SEE LICENSE IN LICENSE", | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20948
571