statistics.NewStatistics(&sendMsgCount,config.Config.ModuleName.LongConnSvrName,fmt.Sprintf("%d second recv to msg_gateway sendMsgCount",sendMsgCount),300)
statistics.NewStatistics(&userCount,config.Config.ModuleName.LongConnSvrName,fmt.Sprintf("%d second add user conn",userCount),300)
statistics.NewStatistics(&sendMsgAllCount,config.Config.ModuleName.LongConnSvrName,fmt.Sprintf("%d second recv to msg_gateway sendMsgCount",constant.StatisticsTimeInterval),constant.StatisticsTimeInterval)
statistics.NewStatistics(&userCount,config.Config.ModuleName.LongConnSvrName,fmt.Sprintf("%d second add user conn",constant.StatisticsTimeInterval),constant.StatisticsTimeInterval)
statistics.NewStatistics(&mc.singleMsgCount,config.Config.ModuleName.MsgTransferName,"singleMsgCount insert to mongo ",300)
statistics.NewStatistics(&mc.groupMsgCount,config.Config.ModuleName.MsgTransferName,"groupMsgCount insert to mongo ",300)
statistics.NewStatistics(&mc.singleMsgSuccessCount,config.Config.ModuleName.MsgTransferName,fmt.Sprintf("%d second singleMsgCount insert to mongo",constant.StatisticsTimeInterval),constant.StatisticsTimeInterval)
statistics.NewStatistics(&mc.groupMsgCount,config.Config.ModuleName.MsgTransferName,fmt.Sprintf("%d second groupMsgCount insert to mongo",constant.StatisticsTimeInterval),constant.StatisticsTimeInterval)
statistics.NewStatistics(&count,config.Config.ModuleName.PushName,fmt.Sprintf("%d second push to msg_gateway count",300),300)
statistics.NewStatistics(&successCount,config.Config.ModuleName.PushName,fmt.Sprintf("%d second push to msg_gateway count",constant.StatisticsTimeInterval),constant.StatisticsTimeInterval)