statsd-tail

command module
v0.0.0-...-477a878 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2025 License: MIT Imports: 10 Imported by: 0

README

statsd-tail

Listens for statsd (in Datadog's dialect) and pretty-prints it on the console.

> statsd-tail
foo.bar  map[key:value]  1
foo.bar  map[key:value]  2
...

Getting it

Provided a working Go-setup, install the code with

go install github.com/kbb29/statsd-tail@latest

run with

go run github.com/kbb29/statsd-tail -h

or

~/go/bin/statsd-tail -h

you can specify the --host, --port to listen on you can specify the --interval at which you want metrics to be aggregated and displayed (set to 0 to dump the metrics as they arrive)

TODO

add test script using https://pkg.go.dev/github.com/smira/go-statsd to generate stats

License

MIT - Do what you want!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL