hot-shots-deux
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i hot-shots-deux

Weekly Downloads

2

Version

0.1.0

License

ISC

Last publish

Collaborators

  • lautis