added some comment for the statsd plugin

This commit is contained in:
Unbit
2013-03-15 11:34:19 +01:00
parent 12cfdd9864
commit 1d4294a845
+15
View File
@@ -1,7 +1,22 @@
#include <uwsgi.h>
/*
this is a stats pusher plugin for the statsd server:
--stats-push statsd:address[,prefix]
example:
--stats-push statsd:127.0.0.1:8125,myinstance
it is pretty minimal, but will be extended after the 2.0 metric subsystem will be released
*/
extern struct uwsgi_server uwsgi;
// configuration of a statsd node
struct statsd_node {
int fd;
union uwsgi_sockaddr addr;