Skip to content

Hot Shots (Node.js StatsD client) wrapper with key-value Datadog/Telegraf tags

License

Notifications You must be signed in to change notification settings

lautis/hot-shots-deux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hot Shots Deux

Wrapper for hot-shots statsd client that adds key-value telegraf tags handling.

Build Status

Usage

var StatsD = require('hot-shots'),
var Deux = require('hot-shots-deux').default;
var client = new Deux(new StatsD());
client.increment("metric", 1, 1, { "key": "value" });

If the tags contain a reserved character (:, |, @), that will be replaced with an underscore (_).

All functionality from hot-shots should be implemented in the wrapper class.

Name

Why is this project named hot-shots-deux? Because:

  • Hot Shots Part Deux is a much better movie than Hot Shots

About

Hot Shots (Node.js StatsD client) wrapper with key-value Datadog/Telegraf tags

Resources

License

Stars

Watchers

Forks

Packages

No packages published