0.1.0 • Published 6 years ago

hot-shots-deux v0.1.0

Weekly downloads
8
License
ISC
Repository
-
Last release
6 years ago

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