mod_stats:record_status() record stat to db