
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
instrumental
Advanced tools
A node.js agent for instrumentalapp.com. It supports the full collector protocol.
npm install instrumental
The only settings that should need changing are api_key
and perhaps max_queue_size
if you have very frequent/infrequent data.
I = require('instrumental')
I.setup({
// from here: https://instrumentalapp.com/docs/setup
api_key : "your_api_key",
// optional, default shown
hostname : 'instrumentalapp.com',
// optional, default shown
port : 8000,
// optional, default shown. disconnect from the server
// after this many milliseconds.
timeout : 10000,
// optional, default shown. metrics will only be sent
// to the server when this many have been queued,
// reconnecting if necessary.
max_queue_size : 100,
}, function (is_api_key_valid) {
// optional!
//
// this is called everytime the agent connects
// to the server to send metrics. it can indicate
// a successful or unsuccessful connection based on
// is_api_key_valid.
});
I.increment('metric.name', /* increment_by = 1, timestamp = now */);
I.gauge('metric.name', 82.12, /* timestamp = now */);
I.gauge_absolute('metric.name', 12.12, /* timestamp = now */);
I.notice('This is a notice', /* duration = 0, timestamp = now */);
// this forces the agent to send all current metrics to the server.
// good to call when the server is shutting down or similar
I.flush();
FAQs
An agent for instrumentalapp.com. Supports the full collector protocol.
The npm package instrumental receives a total of 2 weekly downloads. As such, instrumental popularity was classified as not popular.
We found that instrumental 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.