* Adding new simple test to relay package
* Adding metric testing on relay
* Adding new metric to relay
* Adding new test section to check on metrics
* Fixing linting problems on new code
* Adding license headers on file
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
Add some metrics to the statsd relay.
* The number of StatsD packets relayed.
* The number lines that were too long to relay.
Also convert main.go to use promauto for metric registration.
Signed-off-by: SuperQ <superq@gmail.com>
Add a simple statsd packet output relay that buffers and forwards raw
statsd lines.
* Only supports UDP output.
* Has a hard-coded buffering timeout of 1 second.
Closes: https://github.com/prometheus/statsd_exporter/issues/95
Signed-off-by: SuperQ <superq@gmail.com>