kisielk / gostatsd

An implementation of Etsy's statsd in Go
MIT License
91 stars 10 forks source link

Pluggable servers/backends #4

Open rgarcia opened 10 years ago

rgarcia commented 10 years ago

Our problem: we'd like an easy way to test new metrics via the command line, e.g. run <some command that outputs metrics> | <some statsd-like program> and have metrics flushed to stdout periodically.

In statsd terms I think what we want is a stdin "server" and a stdout "backend", packaged as a nice command-line tool.

Are pluggable servers/backends something you want in gostatsd? Or would the suggested approach be to write a tool that uses gostatsd as a library (specifically MetricAggregator) and gives it input via stdin and flushes its output to stdout?

kisielk commented 10 years ago

I certainly think a modular front-end / back-end would be nice to have.