Package detail

@fiverr/statsd-client

fiverr16.1kMIT1.1.2

๐Ÿ“ˆ A feature packed, highly customisable StatsD client

StatsD, Graphite, Brubeck, DogStatsD

readme

@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