
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
dog-statsy
Advanced tools
A dogstatsd client.
$ npm install dog-statsy
const Client = require('dog-statsy')
const http = require('http')
const stats = new Client({})
setInterval(function(){
const start = new Date
http.get('http://yahoo.com', function(err, res){
const ms = new Date - start
stats.histogram('request.duration', ms, ['request:yahoo'])
})
}, 1000)
Initialize a client with the given options:
host
[localhost]port
[8125]prefix
optional prefix ('.' is appended)tags
array of tags to include in every callbufferSize
optional buffer size, if not defined, it will send the data immediatelyflushInterval
optional, only valid when bufferSize is defined. It will flush the buffer after the
interval in miliseconds (if not empty)Send gauge value.
Send meter value.
Send set value.
Send count value.
Increment by val
or 1.
Decrement by val
or 1.
Send histogram value.
Return histogram delta function.
Send timer value.
Return timer delta function.
Return a trace object.
Adds a step to a trace.
Completes a trace.
MIT
FAQs
dogstatsd client
The npm package dog-statsy receives a total of 1,371 weekly downloads. As such, dog-statsy popularity was classified as popular.
We found that dog-statsy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 151 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.