Files
EdgeCommon/pkg/rpc/protos/models/model_server_bandwidth_stat.proto
2024-04-12 18:52:15 +08:00

25 lines
836 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto3";
option go_package = "./pb";
package pb;
// 带宽统计数据
message ServerBandwidthStat {
int64 id = 1; // ID
int64 userId = 2; // 用户ID
int64 serverId = 3; //服务ID
string day = 4; // 日期格式YYYYMMDD
string timeAt = 5; // 时间格式HHII
int64 bytes = 6; // 峰值带宽字节
int64 totalBytes = 9; // 总流量
int64 bits = 7; // 峰值带宽比特
int64 nodeRegionId = 8; // 节点所在区域ID
int64 cachedBytes = 10; // 总缓存流量
int64 attackBytes = 11; // 总攻击流量
int64 countRequests = 12; // 总请求数
int64 countCachedRequests = 13; // 总缓存请求数
int64 countAttackRequests = 14; // 总攻击请求数
int64 userPlanId = 15; // 绑定的用户套餐ID
int64 countWebsocketConnections = 16; // Websocket连接数
int64 countIPs = 17; // 总IP数
}