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)
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 |