<commit_before>InfluxDB UDP export for Varnish Cache
=====================================

This is a C-implementation of exporter for Varnish Cache to InfluxDB.

It uses the UDP data format and aims to use as little resources as possible.

Feature(s):
* export Varnish counters as often as you want.

Future possible features:
* extract varnishlog Timestamp records to store ttfb and similar to InfluxDB.

As a minor bonus point, it illustrates how to use CMake when building software
that uses the Varnish shared memory segment.

Contact
-------

Written by <NAME> <<EMAIL>>.<commit_msg>Improve documentation.<commit_after>InfluxDB UDP export for Varnish Cache
=====================================

This is a C-implementation of exporter for Varnish Cache to InfluxDB.

It uses the UDP data format and aims to use as little resources as possible.

Future possible features:
* extract varnishlog Timestamp records to store ttfb and similar to InfluxDB.

As a minor bonus point, it illustrates how to use CMake when building software
that uses the Varnish shared memory segment.

Example
-------

With an InfluxDB server running on influxdb.example.com, and a UDP listener on
port 4444, use this command:

::

    $ influxstat influxdb.example.com 4444


Default tags are "service=varnish,hostname=$HOSTNAME". To add additional ones
add "-P foo=bar,tag2=value".

See https://github.com/influxdata/influxdb/blob/master/services/udp/README.md#config-examples
on how to enable UDP on the server side.


Contact
-------

Written by <NAME> <<EMAIL>>.
{'fraction_non_alphanumeric': 0.11384217335058215, 'fraction_numerical': 0.005821474773609315, 'mean_word_length': 4.409090909090909, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, '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': '6105917', 'n_tokens_mistral': 459, 'n_tokens_neox': 419, 'n_words': 196}