Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
logzio-nodejs-metrics
Advanced tools
NodeJS metrics shipper for Logz.io. Based on the logzio-nodejs logger, it will send metrics to your Logz.io metrics account.
var metricsShipper = require('logzio-nodejs-metrics').createMetrics({
token: '__YOUR_API_TOKEN__',
});
// sending metrics with send(metrics, dimensions)
metricsShipper.send(
{ cpu: 0.2, memory: 200 },
{ host: 'my-host', env: 'PROD' },
);
Note: If logzio-js is used as part of a serverless service (AWS Lambda, Azure Functions, Google Cloud Functions, etc.), add logger.sendAndClose()
at the end of the run.
http
, https
or udp
. Default: http
listener.logz.io
http
is 8070
and 8071
is for https
2000
(2 sec)100
.3
false
@timestamp_nano
Default: false
false
1.0.0
npm install
to install required dependenciesnpm test
to run unit testsFAQs
A nodejs implementation for sending metrics to Logz.io
The npm package logzio-nodejs-metrics receives a total of 1,422 weekly downloads. As such, logzio-nodejs-metrics popularity was classified as popular.
We found that logzio-nodejs-metrics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.