
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
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,150 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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.