Comparing version 2.0.7 to 2.0.8
@@ -33,3 +33,3 @@ /* | ||
this.spmSender = new SpmSender(config.get('tokens.spm'), 0, spmUrl) | ||
this.influxSender = new InfluxSender(config.get('tokens.spm'), config.get('transmitInterval'), spmUrl) | ||
this.influxSender = new InfluxSender(config.get('tokens.monitoring') || config.get('tokens.spm'), config.get('transmitInterval'), spmUrl) | ||
events.EventEmitter.call(this) | ||
@@ -36,0 +36,0 @@ /** |
@@ -29,3 +29,2 @@ /* | ||
process.env.LOGSENE_RECEIVER_URL = 'https://logsene-receiver.sematext.com' | ||
return | ||
} | ||
@@ -117,2 +116,6 @@ } | ||
Object.assign(this, rc) | ||
if (rc && rc.tokens && rc.tokens.monitoring) { | ||
// to be backward compatible | ||
rc.tokens.spm = rc.tokens.monitoring | ||
} | ||
this.rcFlat = flatten(this) | ||
@@ -119,0 +122,0 @@ return this |
{ | ||
"name": "spm-agent", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "Node.js agent framework for SPM by Sematext", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
78063
1498