<commit_before>puppet-module-graphite
======================

Description
-----------
A Puppet report processor for sending metrics to a [graphite][graphite] server.

Requirements
------------

* Puppet
* A [graphite][graphite] server.

Installation & Usage
--------------------
1.  Install `puppet-module-graphite` as a module in your Puppet
    master's module path (`puppet master --genconfig | 'modulepath ='`)

2.  Update the `host`, `port`, and `prefix` settings in the
    `<puppet_config_dir>/graphite.yaml` file (example:
    `/etc/puppet/graphite.yaml`) with your graphite server's
    hostname/IP, the port graphite is listening on, and (optionally) a
    prefix you'd like added to the path of the metrics sent by the
    report processor. By default, metrics are prefixed with
    'puppet'. An example configuration file is included in
    `graphite-example.yaml`.

3.  Enable `pluginsync` and reports in `puppet.conf` (for your master
    and your agents.) Add `graphite` to the `reports` setting. Your
    `puppet.conf` might look something like this:

```conf
[master]
pluginsync = true
report = true
reports = store,graphite

[agent]
pluginsync = true
report = true
```

4.  Run Puppet on your master the usual way to get the report sync'ed
    as a plugin.

[graphite]: http://graphite.wikidot.com/<commit_msg>Whitespace changes to (hopefully) fix numbering.<commit_after>puppet-module-graphite
======================

Description
-----------
A Puppet report processor for sending metrics to a [graphite][graphite] server.

Requirements
------------

* Puppet
* A [graphite][graphite] server.

Installation & Usage
--------------------
1.  Install `puppet-module-graphite` as a module in your Puppet
    master's module path (`puppet master --genconfig | 'modulepath ='`)

2.  Update the `host`, `port`, and `prefix` settings in the
    `<puppet_config_dir>/graphite.yaml` file (example:
    `/etc/puppet/graphite.yaml`) with your graphite server's
    hostname/IP, the port graphite is listening on, and (optionally) a
    prefix you'd like added to the path of the metrics sent by the
    report processor. By default, metrics are prefixed with
    'puppet'. An example configuration file is included in
    `graphite-example.yaml`.

3.  Enable `pluginsync` and reports in `puppet.conf` (for your master
    and your agents.) Add `graphite` to the `reports` setting. Your
    `puppet.conf` might look something like this:
```conf
[master]
pluginsync = true
report = true
reports = store,graphite

[agent]
pluginsync = true
report = true
```
4.  Run Puppet on your master the usual way to get the report sync'ed
    as a plugin.

[graphite]: http://graphite.wikidot.com/
{'fraction_non_alphanumeric': 0.13945704722945332, 'fraction_numerical': 0.0029750836742283376, 'mean_word_length': 3.4316309719934104, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '271543', 'n_tokens_mistral': 831, 'n_tokens_neox': 803, 'n_words': 308}