Skip to content

fiverr/node-statsd-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

34 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

@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