<commit_before># numbat-emitter

[Numbat](http://www.arkive.org/numbat/myrmecobius-fasciatus/)-powered metrics emitter. See [numbat-collector](https://github.com/ceejbot/numbat-collector) for the matching metrics collector.

[![Dependencies](https://david-dm.org/ceejbot/opsbot.png)](https://david-dm.org/ceejbot/opsbot)  
[![Tests](http://img.shields.io/travis/ceejbot/numbat-emitter.svg?style=flat)](http://travis-ci.org/ceejbot/numbat-emitter)

## Usage

```javascript
var Emitter = require('numbat-emitter');

var emitter = Emitter.createClient({
    host: 'localhost',
    port: 8000,
    node: 'www-1'
});
emitter.send({ service: 'httpd.latency', metric: 30 });
emitter.send({ service: 'disk.used.percent', metric: 36 });
emitter.send({ service: 'heartbeat'});
```

## License

[ISC](http://opensource.org/licenses/ISC)<commit_msg>I like flat badges that trigger Travis builds.<commit_after># numbat-emitter

[Numbat](http://www.arkive.org/numbat/myrmecobius-fasciatus/)-powered metrics emitter. See [numbat-collector](https://github.com/ceejbot/numbat-collector) for the matching metrics collector.

[![Dependencies](https://david-dm.org/ceejbot/opsbot.png)](https://david-dm.org/ceejbot/opsbot)  
[![Tests](http://img.shields.io/travis/ceejbot/numbat-emitter.svg?style=flat)](http://travis-ci.org/ceejbot/numbat-emitter)  
[![Coverage](http://img.shields.io/badge/coverage-92%25-green.svg?style=flat)]

## Usage

```javascript
var Emitter = require('numbat-emitter');

var emitter = Emitter.createClient({
    host: 'localhost',
    port: 8000,
    node: 'www-1'
});
emitter.send({ service: 'httpd.latency', metric: 30 });
emitter.send({ service: 'disk.used.percent', metric: 36 });
emitter.send({ service: 'heartbeat'});
```

## License

[ISC](http://opensource.org/licenses/ISC)
{'fraction_non_alphanumeric': 0.19519015659955258, 'fraction_numerical': 0.012304250559284116, 'mean_word_length': 5.2334494773519165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3643866', 'n_tokens_mistral': 692, 'n_tokens_neox': 645, 'n_words': 93}