segmentio / stats

Go package for abstracting stats collection
https://godoc.org/github.com/segmentio/stats
MIT License
208 stars 32 forks source link

Grafana #56

Closed achille-roussel closed 7 years ago

achille-roussel commented 7 years ago

This PR adds HTTP handlers that implement the simple-json-datasource API so we can build custom grafana datasources.

The documentation on that grafana-plugin isn't great so I left a couple of notes in the code on things that I may have to revisit at some point, however it worked well when I tested it.

There isn't much to review as this is mostly boilerplate code, I just want to let you guys know that this is now an option we have for building visualizations of custom metric collection systems.

Links: