
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
@entropy/winston-elasticsearch-apm
Advanced tools
Winston transport to send error stacks to Elasticsearch APM
Winston transport to send error stacks to Elasticsearch APM
npm install @entropy/winston-elasticsearch-apm --save
Winston@3
var winston = require('winston');
var ElasticsearchApm = require('@entropy/winston-elasticsearch-apm');
var apm = require('elastic-apm-node').start({
serviceName: 'app',
serverUrl: 'http://localhost:8200',
});
var logger = winston.createLogger({
transports: [
new ElasticsearchApm({ apm: apm })
]
});
logger.log({ level: "error", message: err });
Winston@2
var winston = require('winston');
var ElasticsearchApm = require('@entropy/winston-elasticsearch-apm/legacy');
var apm = require('elastic-apm-node').start({
serviceName: 'app',
serverUrl: 'http://localhost:8200',
});
var logger = new winston.Logger();
logger.add(ElasticsearchApm, { apm: apm });
logger.error(err);
A running APM server is required to run tests
npm test
FAQs
Winston transport to send error stacks to Elasticsearch APM
The npm package @entropy/winston-elasticsearch-apm receives a total of 216 weekly downloads. As such, @entropy/winston-elasticsearch-apm popularity was classified as not popular.
We found that @entropy/winston-elasticsearch-apm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.