示例#1
0
static void stats_pusher_statsd_init(void) {
        struct uwsgi_stats_pusher *usp = uwsgi_register_stats_pusher("statsd", stats_pusher_statsd);
	// we use a custom format not the JSON one
	usp->raw = 1;
}
示例#2
0
文件: plugin.c 项目: AGoodId/uwsgi
static void stats_pusher_mongodb_init(void) {
        uwsgi_register_stats_pusher("mongodb", stats_pusher_mongodb);
}
示例#3
0
文件: carbon.c 项目: suchkultur/uwsgi
static void carbon_register() {
	u_carbon.pusher = uwsgi_register_stats_pusher("carbon", carbon_push);
}