@fiverr/statsd-client

    1.1.0ย โ€ขย Publicย โ€ขย Published

    @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

    Install

    npm i @fiverr/statsd-client

    DownloadsWeekly Downloads

    1,897

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    26.6 kB

    Total Files

    18

    Last publish

    Collaborators

    • fiverrit
    • omrilotan
    • michael5r