コード例 #1
0
ファイル: plugin.c プロジェクト: CommerceRack/uwsgi
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);
}