7.1.7 • Published 5 years ago

hot-shots-posix v7.1.7

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

hot-shots-posix

A StatsD client forked from https://github.com/brightcove/hot-shots with additional support for POSIX-compliant systems.

npm version

API Documentation and usage

Quick Start

const StatsD = require('hot-shots-posix');

// Create the client
const client = new StatsD({
  path: '/path/to/uds',
  protocol: 'unix_dgram',
  errorHandler: (err) => {
    console.error(err);
  }
});

// Start emitting metrics.
client.incremment('my.stat');
client.decrement('my.stat');

Requirements

  • Node.js >= 6.0.0

Development

To bootstrap your development environment:

  1. Clone hot-shots-posix
  2. Run npm install

Tests

  • npm run test - runs all tests
  • npm run test-unit - runs unit tests
  • npm run test-integration - runs integration tests
  • npm run lint - runs linter

License

hot-shots-posix is licensed under the MIT license.

7.1.7

5 years ago

7.1.6

5 years ago

7.1.5

5 years ago

7.1.4

5 years ago

7.1.3

5 years ago

7.1.2

5 years ago

7.1.1

5 years ago