Comparing version 1.24.10 to 1.27.0
@@ -216,9 +216,9 @@ /* | ||
if (tags) { | ||
var ts = new Date().getTime() | ||
tagLines = tags.map(function (t) { | ||
var line = 'tgs ' + new Date().getTime() + ' ' + t.trim() | ||
logger.debug(tagLines) | ||
var line = ts + '\ttgs\t' + ts + '\t' + t.trim() | ||
line = JSON.stringify({body: line}) | ||
return line | ||
}) | ||
tagLines = tagLines.join('\n') | ||
logger.debug(tagLines) | ||
} | ||
@@ -314,3 +314,5 @@ return tagLines | ||
} | ||
return lines + self.getTagLines() | ||
var bulkRequest = lines + self.getTagLines() | ||
logger.debug('Bulk Request:\n' +bulkRequest) | ||
return bulkRequest | ||
} | ||
@@ -317,0 +319,0 @@ |
{ | ||
"name": "spm-agent", | ||
"version": "1.24.10", | ||
"version": "1.27.0", | ||
"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
51923
922