Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 3.99 KB

README.md

File metadata and controls

30 lines (24 loc) · 3.99 KB

@fiverr/statsd-client

📈 A feature packed, highly customisable StatsD client

See full documentation

Get started quickly

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, Graphite (Carbon tags 🎉)
🏷 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