From 1d4294a845d2ab12007e40ee083902e99df35ccb Mon Sep 17 00:00:00 2001 From: Unbit Date: Fri, 15 Mar 2013 11:34:19 +0100 Subject: [PATCH] added some comment for the statsd plugin --- plugins/stats_pusher_statsd/plugin.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/plugins/stats_pusher_statsd/plugin.c b/plugins/stats_pusher_statsd/plugin.c index 3a673498..0d1cd37f 100644 --- a/plugins/stats_pusher_statsd/plugin.c +++ b/plugins/stats_pusher_statsd/plugin.c @@ -1,7 +1,22 @@ #include +/* + +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;