Reputation: 93
I have heard that we can create our own backend for StatsD.
Is it possible?? If yes, then please guide me about how it is done.
Thank you.
Upvotes: 3
Views: 2740
Reputation: 1990
This is indeed possible. You can find an example of 3 backends in the statsd project on github.com.
https://github.com/etsy/statsd/tree/master/backends
As for a guide on how to do so the best option, would be to read over those 3 example as it really depends on where your hoping to send the data on how to write the backend for statsd.
In the examples there is 2 examples of a sending the data over a remote socket and one example writing the output to a file ( console ).
Upvotes: 4