目录结构
models.py
handler.py
counter.py
db.py
model.py:数据库模型声明
TotalStorageStat
FileOpsStat
UserTrafficStat
UserAcivityStat
UserTraffic
MonthlyUserTraffic
MonthlySysTraffic
counter.py:
文件结构
update_hash_record
save_traffic_info
FileOpsCounter
TotalStorageCounter
TrafficInfoCounter
MonthlyTrafficCounter
UserActivityCounter
db.py
文件结构
get_org_id
get_user_activity_stats_by_day
get_org_user_activity_stats_by_day
_get_total_storage_stats
get_total_storage_stats_by_day
get_org_storage_stats_by_day
get_user_traffic_by_day
get_org_traffic_by_day
get_system_traffic_by_day
get_all_user_traffic_by_month
get_all_orgs_traffic_by_month
get_user_traffic_by_month
handlers.py
目录结构
UserLoginEventHandler
FileStatsEventHandler
register_handlers
|