<commit_before>Nolo
========

Nolo is a simple, flexible metric API to multiple metric collectors

Most of the time, all a metrics system really needs is an identifier
and a value. So the simplest possible plugin should just do that:

    % ./app_plugin
    connections_open 216
    requests 153

Of course many collector systems support extra metadata, so it should
be easy to include this as well:

    % ./app_plugin
    # host=darkstar
    connections_open 216 time=1200928930 type=uint16
    requests 153 release=2.24.2.4271 type=uint8

This is a shorthand way of writing:

    % ./app_plugin
    connections_open 216 time=1200928930 type=uint16 host=darkstar
    requests 153 release=2.24.2.4271 type=uint8 host=darkstar

Collector adaptors are free to use these metadata pairs as they like.
Some will ignore them entirely, others will only use the ones that are
meaningful, and a some will store them all. Refer to the individual
adapter for how your system works.<commit_msg>multiline metadata is a half baked idea. we can try it once we have a real parser<commit_after>Nolo
========

Nolo is a simple, flexible metric API to multiple metric collectors

Most of the time, all a metrics system really needs is an identifier
and a value. So the simplest possible plugin should just do that:

    % ./app_plugin
    connections_open 216
    requests 153

Of course many collector systems support extra metadata, so it should
be easy to include this as well:

    % ./app_plugin
    connections_open 216 time=1200928930 type=uint16 host=darkstar
    requests 153 release=2.24.2.4271 type=uint8 host=darkstar

Collector adaptors are free to use these metadata pairs as they like.
Some will ignore them entirely, others will only use the ones that are
meaningful, and a some will store them all. Refer to the individual
adapter for how your system works.
{'fraction_non_alphanumeric': 0.04741379310344827, 'fraction_numerical': 0.050107758620689655, 'mean_word_length': 3.96524064171123, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '2416273', 'n_tokens_mistral': 559, 'n_tokens_neox': 484, 'n_words': 260}