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>