增加网站每日独立IP统计

This commit is contained in:
GoEdgeLab
2024-04-12 18:52:15 +08:00
parent a194d6b7f5
commit 58e508c8e3
7 changed files with 191 additions and 146 deletions

View File

@@ -21,4 +21,5 @@ message ServerBandwidthStat {
int64 countAttackRequests = 14; // 总攻击请求数
int64 userPlanId = 15; // 绑定的用户套餐ID
int64 countWebsocketConnections = 16; // Websocket连接数
int64 countIPs = 17; // 总IP数
}

View File

@@ -16,9 +16,10 @@ message ServerDailyStat {
int64 countAttackRequests = 8;
int64 attackBytes = 9;
bool checkTrafficLimiting = 10;
int64 planId = 11;
string day = 12;
int64 planId = 11; // 套餐ID
string day = 12; // 日期 YYYYMMDD
string hour = 13;
string timeFrom = 14;
string timeTo = 15;
int64 countIPs = 17; // 独立IP数量
}