<commit_before># riemann-gw
A golang RESTful gateway for submitting riemann data

# json object
state - string: ok, success, critical, etc

host - string: hostname of submitter

service - string: name of service

metric - string representation of a number, re "5"

ttl [optional] - string representation of a number, re: "10", defaults to 10

tags [optional] - list of tags, re: ['test','one','two','three']}

# building for linux on a mac
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v fake/riemann-gw/gw.go

# testing with python (since there's that annoying protobuf+python3 issue)
```python
#!/usr/bin/env python<commit_msg>document cleanup<commit_after># riemann-gw
A golang RESTful gateway for submitting riemann data

# json object
state - string: ok, success, critical, etc

host - string: hostname of submitter

service - string: name of service

metric - string representation of a number: "5"

ttl [optional] - string representation of a number: "10"  (defaults to 10)

tags [optional] - list: ['test','one','two','three']

# building for linux on a mac
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v fake/riemann-gw/gw.go

# testing with python (since there's that annoying protobuf+python3 issue)
```python
#!/usr/bin/env python
{'fraction_non_alphanumeric': 0.107457898957498, 'fraction_numerical': 0.014434643143544507, 'mean_word_length': 4.672727272727273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4832404', 'n_tokens_mistral': 413, 'n_tokens_neox': 388, 'n_words': 155}