<commit_before># Configure the redis_info-collectd-plugin

<LoadPlugin python>
  Globals true
</LoadPlugin>

<Plugin python>
  ModulePath "/opt/collectd/lib/collectd/plugins/python"
  Import "redis_info"

  <Module redis_info>
    Host "<%= @host %>"
    Port <%= @port %>
    Verbose false
  </Module>
</Plugin><commit_msg>Use the correct ModulePath for the redis_info plugin location<commit_after># Configure the redis_info-collectd-plugin

<LoadPlugin python>
  Globals true
</LoadPlugin>

<Plugin python>
  ModulePath "/usr/lib/collectd/python"
  Import "redis_info"

  <Module redis_info>
    Host "<%= @host %>"
    Port <%= @port %>
    Verbose false
  </Module>
</Plugin>
{'fraction_non_alphanumeric': 0.12960235640648013, 'fraction_numerical': 0.0, 'mean_word_length': 4.037037037037037, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '7058050', 'n_tokens_mistral': 243, 'n_tokens_neox': 232, 'n_words': 57}