Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Backend for StatsD

Tags:

backend

statsd

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.

like image 408
Exo Avatar asked May 22 '26 11:05

Exo


1 Answers

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 ).

like image 200
dannyla Avatar answered May 26 '26 15:05

dannyla



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!