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; }
static void stats_pusher_mongodb_init(void) { uwsgi_register_stats_pusher("mongodb", stats_pusher_mongodb); }
static void carbon_register() { u_carbon.pusher = uwsgi_register_stats_pusher("carbon", carbon_push); }