NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4884 most downloaded on npm
Node.js client for StatsD, DogStatsD, and Telegraf
Last release 21 days ago
13 Sep 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
115 releases · first in 2015
@almandsky Fix useDefaultRoute to work again after abstract transports
@hayes Add unref method to transport interface
@runk Add new protocol, stream, and a stream parameter for specifying it.
One column per quarter.
@runk Code refactoring to have abstract transports
@NinjaBanjo @msiebuhr Add udsGracefulErrorHandling, ensuring uds handles socket errors gracefully
@msiebuhr Fix crasher when closing Unix Datagram Sockets without callback
@jfirebaugh Fix cacheDns option when obtaining host from DD_AGENT_HOST
@paguillama Fix user defined tag example on README optional parameters
@ahmed-mez Add support for env variables DD_AGENT_HOST, DD_DOGSTATSD_PORT, and DD_ENTITY_ID
@bdeitte Fix errorHandler to only happen again on errors
@bdeitte Ensure close() call always sends data before closing
@bdeitte Make non-options in constructor more deprecated
Stop using "new Buffer", that is deprecated, and use Buffer.from() instead
@bdeitte Major upgrade to the codebase to be more modern, overhaul tests, and many small tweaks. Most of this is internal to the project, but there are a few changes to note for everyone:
Everything else done here should be internal facing. Those changes include:
* @stieg Add mockBuffer to types
@blimmer: Add increment doc snippet
@chrismatheson: Fix timer to have duration in microseconds (was nanoseconds)
@michalholasek Clean up code formatting and split up tests
@Willyham Add support for recording buffers in mock mode
@singerb correct close() type definition
* @mjesuele Fix time in timer
@MattySheikh Typescript: add socket type for StatsD class
@drewen TypeScript: add overload types for stats functions
@emou Typescript declaration for the 'timer' method
@drewen Split up single file, add code coverage capabilities
@jasonsack Fixups for new useDefaultRoute option
@RobGraham Added distribution() support for DataDog v6
distribution() support for DataDog v6@tanelso2 Added support for using default route on Linux
@ericapisani Add timer decorator function
@lautis Pass key-value tags as objects
@punya-asapp Add childClient to TypeScript types
@jgwmaxwell TypeScript typings, resolving the default export issue and missing options from last time. This is being marked as a major release, in cau
@Jiggmin concat prefix and suffix in check function
@Jiggmin Add backwards compatibility for global_tags
@bdeitte Revert TypeScript typings, which ended up not being semver minor
* @jgwmaxwell TypeScript typings
@jsocol Support default value with tags in increment
* @RijulB Global sample rate
@RandomSeeded Fix callbacks not being triggered when using buffers
@ggoodman Allow socket errors to be handled with errorHandler
@mhahn Add support for DataDog service checks
@ash2k date_happened should be seconds, not milliseconds
@ash2k Support multiline text in DataDog events
@ash2k Support a client-wide error handler used in case no callback is provided and to handle various exceptions.
@ash2k Method to create child clients. (This is not a backwards-incompatible change but is rather large.)
@arlolra/@bdeitte Move DNS errors when caching them to send() and use callback when possible
@Pchelolo Ensure messages not larger then maxBufferSize
@bdeitte Fix increment(name, 0) to send a 0 count instead of 1
@bdeitte Document and expand on close API
@mmoulton Fix multiple tags with Telegraf
* @bdeitte Doc updates
@mmoulton Add options.telegraf to enable support for Telegraf's StatsD line protocol format
@jjofseattle Add options.maxBufferSize and options.bufferFlushInterval
@ainsleyc Thrown error when cacheDNS flag fails to resolve DNS name
@bdeitte Add the event API used by DogStatsD
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →