https://github.com/fiverr/node-statsd-client
📈 A feature packed StatsD client with plenty of configuration options
https://github.com/fiverr/node-statsd-client
brubeck client dogstatsd graphite nodejs statsd
Last synced: 4 months ago
JSON representation
📈 A feature packed StatsD client with plenty of configuration options
- Host: GitHub
- URL: https://github.com/fiverr/node-statsd-client
- Owner: fiverr
- License: mit
- Created: 2019-03-04T09:56:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T14:11:57.000Z (about 1 year ago)
- Last Synced: 2025-06-02T10:02:27.972Z (5 months ago)
- Topics: brubeck, client, dogstatsd, graphite, nodejs, statsd
- Language: JavaScript
- Homepage: https://fiverr.github.io/node-statsd-client
- Size: 340 KB
- Stars: 6
- Watchers: 43
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# @fiverr/statsd-client [](https://www.npmjs.com/package/@fiverr/statsd-client) [](https://github.com/fiverr/node-statsd-client) [](https://circleci.com/gh/fiverr/workflows/node-statsd-client) [](https://fiverr.github.io/node-statsd-client)
## 📈 A feature packed, highly customisable StatsD client
> [See full documentation](https://fiverr.github.io/node-statsd-client)
### Get started quickly
```js
const SDC = require('@fiverr/statsd-client');const stats = new SDC({host: '127.0.0.1', port: '8125'});
stats.count('my_application_name.visit_count'); // 31 (pending bulk size)
```### Out-of-the box features and customisations
| | Features
| - | -
| 🛍 | StatsD metric types: `count`, `time`, `gauge`, `set`, `histogram`
| 🎩 | Instance sticky prefix (optional)
| 🔧 | Custom schemes support
| 🎁 | Preconfigured schemes: [DataDog](https://docs.datadoghq.com/tagging/#defining-tags), [Graphite](https://grafana.com/blog/2018/01/11/graphite-1.1-teaching-an-old-dog-new-tricks/) ([Carbon tags 🎉](https://graphite.readthedocs.io/en/latest/tags.html#carbon))
| 🏷 | Instance tags - pre-set tags for an instance or set tags when sending
| 🔮 | Sampling (sample rate)
| 🕸 | Protocols: `UDP`, `TCP`
| 🌎 | Protocol versions: `ipv4`, `ipv6`
| ⏲ | Custom flush period (Cutoff time for packets allows controlled traffic)
| 📦 | Custom MTU limit (maximum transmission unit)
| 🚨 | Error handling
| 🎈 | And then some