An open API service indexing awesome lists of open source software.

https://github.com/regadas/martini-xstatsd

Martini handler to get handler stats to statsd
https://github.com/regadas/martini-xstatsd

Last synced: about 1 year ago
JSON representation

Martini handler to get handler stats to statsd

Awesome Lists containing this project

README

          

## go-xstatsd ##

```go
import(
"github.com/go-martini/martini"
"github.com/regadas/go-xstatsd"
sh "github.com/regadas/martini-xstatsd"
)

func main(){
m := martini.Classic()

stats := statsd.New("127.0.0.1:8125", "test.prefix")

m.Use(sh.HandlerMetrics(stats))

m.Run()
}
```