<commit_before>nodejs-munin
============

A [Munin](http://munin-monitoring.org) stats catcher & plugin for node.js applications.
Allows node.js apps to collect stats and report them on-demand to a [Munin](http://munin-monitoring.org) node.

Inspired by [StatsD](https://github.com/etsy/statsd). StatsD uses Graphite, but I had an existing Munin-based graph infrastructure, so this works with Munin.

Still under development. Code was copied from a site where it's used in production, but is not yet generic enough for common use.

By [<NAME>, New Leaf Digital](http://newleafdigital.com)
<commit_msg>Readme: example munin plugin configuration<commit_after>nodejs-munin
============

A [Munin](http://munin-monitoring.org) stats catcher & plugin for node.js applications.
Allows node.js apps to collect stats and report them on-demand to a [Munin](http://munin-monitoring.org) node.

Inspired by [StatsD](https://github.com/etsy/statsd). StatsD uses Graphite, but I had an existing Munin-based graph infrastructure, so this works with Munin.

Still under development. Code was copied from a site where it's used in production, but is not yet generic enough for common use.

Example [munin plugin](http://munin.readthedocs.org/en/latest/plugin/use.html#configuring) configuration:
```
[munin_nodejs_*]
env.statsHost 127.0.0.1
env.statsPort 8082
env.statsPath /stats
```

By [<NAME>, New Leaf Digital](http://newleafdigital.com)

{'fraction_non_alphanumeric': 0.1212333566923616, 'fraction_numerical': 0.00700770847932726, 'mean_word_length': 4.925311203319502, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '6009798', 'n_tokens_mistral': 454, 'n_tokens_neox': 429, 'n_words': 155}