<commit_before>GraphiteReceiver
================
A vmware statsfeeder receiver to export the directly into graphite.

Sample Config
-------------
A detailed config can be found in the directory sample.

```
<receiver>
    <name>graphite</name>
    <class>de.synaxon.graphitereceiver.MetricsReceiver</class>
    <properties>
        <!--  Set the file name. Files will be rolled over on the hour -->
        <property>
            <name>host</name>
            <value>metrics.zentrale.de</value>
        </property>
        <property>
            <name>port</name>
            <value>2003</value>
        </property>
    </properties>
</receiver>
```

Development
-----------
You need to install the dependencies into your local mvn repository via mvn install!
```
mvn install:install-file -DgroupId=com.vmware.tools -Dversion=4.1 -Dpackaging=jar -DgeneratePom=true -DartifactId=statsfeeder-common -Dfile=statsfeeder-common-4.1.jar
mvn install:install-file -DgroupId=com.vmware.tools -Dversion=4.1 -Dpackaging=jar -DgeneratePom=true -DartifactId=statsfeeder-core -Dfile=statsfeeder-core-4.1.jar
```

Call
----
```
StatsFeeder.bat -h vcenter -u user -p password -c config/sampleConfig.xml
```
<commit_msg>[~TASK] updated configuration and readme.<commit_after>GraphiteReceiver
================
A vmware statsfeeder receiver to export the directly into graphite.

Sample Config
-------------
A detailed config can be found in the directory sample.

```
<receiver>
    <name>graphite</name>
    <class>de.synaxon.graphitereceiver.MetricsReceiver</class>
    <properties>
        <!--  Set the file name. Files will be rolled over on the hour -->
        <property>
            <name>host</name>
            <value>graphite server</value>
        </property>
        <property>
            <name>port</name>
            <value>2003</value>
        </property>
    </properties>
</receiver>
```

Development
-----------
You need to install the dependencies into your local mvn repository via mvn install!
```
mvn install:install-file -DgroupId=com.vmware.tools -Dversion=4.1 -Dpackaging=jar -DgeneratePom=true -DartifactId=statsfeeder-common -Dfile=statsfeeder-common-4.1.jar
mvn install:install-file -DgroupId=com.vmware.tools -Dversion=4.1 -Dpackaging=jar -DgeneratePom=true -DartifactId=statsfeeder-core -Dfile=statsfeeder-core-4.1.jar
```

Call
----
```
StatsFeeder.bat -h vcenter -u user -p password -c config/sampleConfig.xml
```

{'fraction_non_alphanumeric': 0.1506172839506173, 'fraction_numerical': 0.009876543209876543, 'mean_word_length': 3.0449251247920133, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2026369', 'n_tokens_mistral': 781, 'n_tokens_neox': 736, 'n_words': 185}