<commit_before>## Example Agent Install

1. Download the latest version
2. Extract to the location you want to run the agent from
3. Copy `config/template_newrelic_plugin.yml` to `config/newrelic_plugin.yml`
4. Edit `config/newrelic_plugin.yml` and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key
5. Run `sudo newrelic_passenger_agent` (passenger-memory-stats needs sudo to get the exact memory values)
6. Setup monitoring/autostart to keep the agent running continuously

## People to thank

The extraction of most values was copied from the munin-plugins-rails gem by <NAME>:
https://github.com/barttenbrinke/munin-plugins-rails

The Agent was built using the example provided by newrelic:
https://github.com/newrelic-platform/newrelic_example_plugin
<commit_msg>forgot bundle install step<commit_after>## Example Agent Install

1. Download the latest version
2. Extract to the location you want to run the agent from
3. `bundle install --deployment` to get the necessary gems
4. Copy `config/template_newrelic_plugin.yml` to `config/newrelic_plugin.yml`
5. Edit `config/newrelic_plugin.yml` and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key
6. Run `sudo newrelic_passenger_agent` (passenger-memory-stats needs sudo to get the exact memory values)
7. Setup monitoring/autostart to keep the agent running continuously

## People to thank

The extraction of most values was copied from the munin-plugins-rails gem by <NAME>:
https://github.com/barttenbrinke/munin-plugins-rails

The Agent was built using the example provided by newrelic:
https://github.com/newrelic-platform/newrelic_example_plugin

{'fraction_non_alphanumeric': 0.07037943696450429, 'fraction_numerical': 0.00795593635250918, 'mean_word_length': 5.240458015267175, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2784136', 'n_tokens_mistral': 497, 'n_tokens_neox': 473, 'n_words': 188}