1882 lines
74 KiB
Go
1882 lines
74 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// source: service_server_stat_board.proto
|
||
|
||
package pb
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
// 读取所有看板
|
||
type FindAllEnabledServerStatBoardsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllEnabledServerStatBoardsRequest) Reset() {
|
||
*x = FindAllEnabledServerStatBoardsRequest{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindAllEnabledServerStatBoardsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindAllEnabledServerStatBoardsRequest) ProtoMessage() {}
|
||
|
||
func (x *FindAllEnabledServerStatBoardsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[0]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindAllEnabledServerStatBoardsRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindAllEnabledServerStatBoardsRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *FindAllEnabledServerStatBoardsRequest) GetNodeClusterId() int64 {
|
||
if x != nil {
|
||
return x.NodeClusterId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindAllEnabledServerStatBoardsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ServerStatBoards []*ServerStatBoard `protobuf:"bytes,1,rep,name=serverStatBoards,proto3" json:"serverStatBoards,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindAllEnabledServerStatBoardsResponse) Reset() {
|
||
*x = FindAllEnabledServerStatBoardsResponse{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindAllEnabledServerStatBoardsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindAllEnabledServerStatBoardsResponse) ProtoMessage() {}
|
||
|
||
func (x *FindAllEnabledServerStatBoardsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[1]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindAllEnabledServerStatBoardsResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindAllEnabledServerStatBoardsResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *FindAllEnabledServerStatBoardsResponse) GetServerStatBoards() []*ServerStatBoard {
|
||
if x != nil {
|
||
return x.ServerStatBoards
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 组合集群看板数据
|
||
type ComposeServerStatNodeClusterBoardRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardRequest) Reset() {
|
||
*x = ComposeServerStatNodeClusterBoardRequest{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeClusterBoardRequest) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[2]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeClusterBoardRequest.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeClusterBoardRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardRequest) GetNodeClusterId() int64 {
|
||
if x != nil {
|
||
return x.NodeClusterId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatNodeClusterBoardResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CountActiveNodes int64 `protobuf:"varint,1,opt,name=countActiveNodes,proto3" json:"countActiveNodes,omitempty"` // 在线节点
|
||
CountInactiveNodes int64 `protobuf:"varint,2,opt,name=countInactiveNodes,proto3" json:"countInactiveNodes,omitempty"` // 离线节点
|
||
CountServers int64 `protobuf:"varint,3,opt,name=countServers,proto3" json:"countServers,omitempty"` // 服务数量
|
||
CountUsers int64 `protobuf:"varint,4,opt,name=countUsers,proto3" json:"countUsers,omitempty"` // 用户数量
|
||
MonthlyTrafficBytes int64 `protobuf:"varint,5,opt,name=monthlyTrafficBytes,proto3" json:"monthlyTrafficBytes,omitempty"` // 当月流量
|
||
DailyTrafficBytes int64 `protobuf:"varint,6,opt,name=dailyTrafficBytes,proto3" json:"dailyTrafficBytes,omitempty"` // 当日流量
|
||
LastDailyTrafficBytes int64 `protobuf:"varint,7,opt,name=lastDailyTrafficBytes,proto3" json:"lastDailyTrafficBytes,omitempty"` // 昨日流量
|
||
DailyTrafficStats []*ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat `protobuf:"bytes,30,rep,name=dailyTrafficStats,proto3" json:"dailyTrafficStats,omitempty"`
|
||
HourlyTrafficStats []*ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat `protobuf:"bytes,31,rep,name=hourlyTrafficStats,proto3" json:"hourlyTrafficStats,omitempty"`
|
||
TopNodeStats []*ComposeServerStatNodeClusterBoardResponse_NodeStat `protobuf:"bytes,32,rep,name=topNodeStats,proto3" json:"topNodeStats,omitempty"`
|
||
CpuNodeValues []*NodeValue `protobuf:"bytes,34,rep,name=cpuNodeValues,proto3" json:"cpuNodeValues,omitempty"`
|
||
MemoryNodeValues []*NodeValue `protobuf:"bytes,35,rep,name=memoryNodeValues,proto3" json:"memoryNodeValues,omitempty"`
|
||
LoadNodeValues []*NodeValue `protobuf:"bytes,36,rep,name=loadNodeValues,proto3" json:"loadNodeValues,omitempty"`
|
||
MetricDataCharts []*MetricDataChart `protobuf:"bytes,37,rep,name=metricDataCharts,proto3" json:"metricDataCharts,omitempty"` // 指标图表
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) Reset() {
|
||
*x = ComposeServerStatNodeClusterBoardResponse{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeClusterBoardResponse) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[3]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeClusterBoardResponse.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeClusterBoardResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetCountActiveNodes() int64 {
|
||
if x != nil {
|
||
return x.CountActiveNodes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetCountInactiveNodes() int64 {
|
||
if x != nil {
|
||
return x.CountInactiveNodes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetCountServers() int64 {
|
||
if x != nil {
|
||
return x.CountServers
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetCountUsers() int64 {
|
||
if x != nil {
|
||
return x.CountUsers
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetMonthlyTrafficBytes() int64 {
|
||
if x != nil {
|
||
return x.MonthlyTrafficBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetDailyTrafficBytes() int64 {
|
||
if x != nil {
|
||
return x.DailyTrafficBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetLastDailyTrafficBytes() int64 {
|
||
if x != nil {
|
||
return x.LastDailyTrafficBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetDailyTrafficStats() []*ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat {
|
||
if x != nil {
|
||
return x.DailyTrafficStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetHourlyTrafficStats() []*ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat {
|
||
if x != nil {
|
||
return x.HourlyTrafficStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetTopNodeStats() []*ComposeServerStatNodeClusterBoardResponse_NodeStat {
|
||
if x != nil {
|
||
return x.TopNodeStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetCpuNodeValues() []*NodeValue {
|
||
if x != nil {
|
||
return x.CpuNodeValues
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetMemoryNodeValues() []*NodeValue {
|
||
if x != nil {
|
||
return x.MemoryNodeValues
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetLoadNodeValues() []*NodeValue {
|
||
if x != nil {
|
||
return x.LoadNodeValues
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse) GetMetricDataCharts() []*MetricDataChart {
|
||
if x != nil {
|
||
return x.MetricDataCharts
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 组合节点看板数据
|
||
type ComposeServerStatNodeBoardRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardRequest) Reset() {
|
||
*x = ComposeServerStatNodeBoardRequest{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeBoardRequest) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeBoardRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[4]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeBoardRequest.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeBoardRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardRequest) GetNodeId() int64 {
|
||
if x != nil {
|
||
return x.NodeId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatNodeBoardResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
IsActive bool `protobuf:"varint,1,opt,name=isActive,proto3" json:"isActive,omitempty"`
|
||
TrafficInBytes int64 `protobuf:"varint,2,opt,name=trafficInBytes,proto3" json:"trafficInBytes,omitempty"`
|
||
TrafficOutBytes int64 `protobuf:"varint,3,opt,name=trafficOutBytes,proto3" json:"trafficOutBytes,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,5,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
CountConnections int64 `protobuf:"varint,6,opt,name=countConnections,proto3" json:"countConnections,omitempty"`
|
||
CacheDiskSize int64 `protobuf:"varint,7,opt,name=cacheDiskSize,proto3" json:"cacheDiskSize,omitempty"`
|
||
CacheMemorySize int64 `protobuf:"varint,8,opt,name=cacheMemorySize,proto3" json:"cacheMemorySize,omitempty"`
|
||
CpuUsage float32 `protobuf:"fixed32,9,opt,name=cpuUsage,proto3" json:"cpuUsage,omitempty"`
|
||
MemoryUsage float32 `protobuf:"fixed32,10,opt,name=memoryUsage,proto3" json:"memoryUsage,omitempty"`
|
||
MemoryTotalSize int64 `protobuf:"varint,11,opt,name=memoryTotalSize,proto3" json:"memoryTotalSize,omitempty"`
|
||
Load float32 `protobuf:"fixed32,12,opt,name=load,proto3" json:"load,omitempty"`
|
||
MonthlyTrafficBytes int64 `protobuf:"varint,13,opt,name=monthlyTrafficBytes,proto3" json:"monthlyTrafficBytes,omitempty"` // 当月流量
|
||
DailyTrafficBytes int64 `protobuf:"varint,14,opt,name=dailyTrafficBytes,proto3" json:"dailyTrafficBytes,omitempty"` // 当日流量
|
||
LastDailyTrafficBytes int64 `protobuf:"varint,15,opt,name=lastDailyTrafficBytes,proto3" json:"lastDailyTrafficBytes,omitempty"` // 昨日流量
|
||
DailyTrafficStats []*ComposeServerStatNodeBoardResponse_DailyTrafficStat `protobuf:"bytes,31,rep,name=dailyTrafficStats,proto3" json:"dailyTrafficStats,omitempty"`
|
||
HourlyTrafficStats []*ComposeServerStatNodeBoardResponse_HourlyTrafficStat `protobuf:"bytes,32,rep,name=hourlyTrafficStats,proto3" json:"hourlyTrafficStats,omitempty"`
|
||
CpuNodeValues []*NodeValue `protobuf:"bytes,34,rep,name=cpuNodeValues,proto3" json:"cpuNodeValues,omitempty"` // CPU数据
|
||
MemoryNodeValues []*NodeValue `protobuf:"bytes,35,rep,name=memoryNodeValues,proto3" json:"memoryNodeValues,omitempty"` // 内存数据
|
||
LoadNodeValues []*NodeValue `protobuf:"bytes,36,rep,name=loadNodeValues,proto3" json:"loadNodeValues,omitempty"` // 负载数据
|
||
CacheDirsValues []*NodeValue `protobuf:"bytes,38,rep,name=cacheDirsValues,proto3" json:"cacheDirsValues,omitempty"` // 缓存目录数据
|
||
NetworkPacketsValues []*NodeValue `protobuf:"bytes,39,rep,name=networkPacketsValues,proto3" json:"networkPacketsValues,omitempty"` // 网络数据包数据
|
||
MetricDataCharts []*MetricDataChart `protobuf:"bytes,37,rep,name=metricDataCharts,proto3" json:"metricDataCharts,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) Reset() {
|
||
*x = ComposeServerStatNodeBoardResponse{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeBoardResponse) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[5]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeBoardResponse.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeBoardResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetIsActive() bool {
|
||
if x != nil {
|
||
return x.IsActive
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetTrafficInBytes() int64 {
|
||
if x != nil {
|
||
return x.TrafficInBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetTrafficOutBytes() int64 {
|
||
if x != nil {
|
||
return x.TrafficOutBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetCountConnections() int64 {
|
||
if x != nil {
|
||
return x.CountConnections
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetCacheDiskSize() int64 {
|
||
if x != nil {
|
||
return x.CacheDiskSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetCacheMemorySize() int64 {
|
||
if x != nil {
|
||
return x.CacheMemorySize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetCpuUsage() float32 {
|
||
if x != nil {
|
||
return x.CpuUsage
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetMemoryUsage() float32 {
|
||
if x != nil {
|
||
return x.MemoryUsage
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetMemoryTotalSize() int64 {
|
||
if x != nil {
|
||
return x.MemoryTotalSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetLoad() float32 {
|
||
if x != nil {
|
||
return x.Load
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetMonthlyTrafficBytes() int64 {
|
||
if x != nil {
|
||
return x.MonthlyTrafficBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetDailyTrafficBytes() int64 {
|
||
if x != nil {
|
||
return x.DailyTrafficBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetLastDailyTrafficBytes() int64 {
|
||
if x != nil {
|
||
return x.LastDailyTrafficBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetDailyTrafficStats() []*ComposeServerStatNodeBoardResponse_DailyTrafficStat {
|
||
if x != nil {
|
||
return x.DailyTrafficStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetHourlyTrafficStats() []*ComposeServerStatNodeBoardResponse_HourlyTrafficStat {
|
||
if x != nil {
|
||
return x.HourlyTrafficStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetCpuNodeValues() []*NodeValue {
|
||
if x != nil {
|
||
return x.CpuNodeValues
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetMemoryNodeValues() []*NodeValue {
|
||
if x != nil {
|
||
return x.MemoryNodeValues
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetLoadNodeValues() []*NodeValue {
|
||
if x != nil {
|
||
return x.LoadNodeValues
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetCacheDirsValues() []*NodeValue {
|
||
if x != nil {
|
||
return x.CacheDirsValues
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetNetworkPacketsValues() []*NodeValue {
|
||
if x != nil {
|
||
return x.NetworkPacketsValues
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse) GetMetricDataCharts() []*MetricDataChart {
|
||
if x != nil {
|
||
return x.MetricDataCharts
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 组合服务看板数据
|
||
type ComposeServerStatBoardRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardRequest) Reset() {
|
||
*x = ComposeServerStatBoardRequest{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatBoardRequest) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatBoardRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[6]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatBoardRequest.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatBoardRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardRequest) GetServerId() int64 {
|
||
if x != nil {
|
||
return x.ServerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatBoardResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
MinutelyPeekBandwidthBytes int64 `protobuf:"varint,5,opt,name=minutelyPeekBandwidthBytes,proto3" json:"minutelyPeekBandwidthBytes,omitempty"` // 当前带宽(N分钟峰值)
|
||
DailyPeekBandwidthBytes int64 `protobuf:"varint,2,opt,name=dailyPeekBandwidthBytes,proto3" json:"dailyPeekBandwidthBytes,omitempty"` // 当天带宽峰值
|
||
MonthlyPeekBandwidthBytes int64 `protobuf:"varint,3,opt,name=monthlyPeekBandwidthBytes,proto3" json:"monthlyPeekBandwidthBytes,omitempty"` // 当月带宽峰值
|
||
LastMonthlyPeekBandwidthBytes int64 `protobuf:"varint,4,opt,name=lastMonthlyPeekBandwidthBytes,proto3" json:"lastMonthlyPeekBandwidthBytes,omitempty"` // 上个月带宽峰值
|
||
DailyCountIPs int64 `protobuf:"varint,9,opt,name=dailyCountIPs,proto3" json:"dailyCountIPs,omitempty"` // 当天独立IP
|
||
DailyTrafficBytes int64 `protobuf:"varint,10,opt,name=dailyTrafficBytes,proto3" json:"dailyTrafficBytes,omitempty"` // 当天流量
|
||
BandwidthPercentile int32 `protobuf:"varint,7,opt,name=bandwidthPercentile,proto3" json:"bandwidthPercentile,omitempty"`
|
||
MinutelyBandwidthStats []*ServerBandwidthStat `protobuf:"bytes,1,rep,name=minutelyBandwidthStats,proto3" json:"minutelyBandwidthStats,omitempty"` // 分钟级的带宽统计
|
||
MinutelyNthBandwidthStat *ServerBandwidthStat `protobuf:"bytes,8,opt,name=minutelyNthBandwidthStat,proto3" json:"minutelyNthBandwidthStat,omitempty"`
|
||
DailyTrafficStats []*ComposeServerStatBoardResponse_DailyTrafficStat `protobuf:"bytes,30,rep,name=dailyTrafficStats,proto3" json:"dailyTrafficStats,omitempty"`
|
||
HourlyTrafficStats []*ComposeServerStatBoardResponse_HourlyTrafficStat `protobuf:"bytes,31,rep,name=hourlyTrafficStats,proto3" json:"hourlyTrafficStats,omitempty"`
|
||
TopNodeStats []*ComposeServerStatBoardResponse_NodeStat `protobuf:"bytes,32,rep,name=topNodeStats,proto3" json:"topNodeStats,omitempty"`
|
||
TopCountryStats []*ComposeServerStatBoardResponse_CountryStat `protobuf:"bytes,35,rep,name=topCountryStats,proto3" json:"topCountryStats,omitempty"`
|
||
MetricDataCharts []*MetricDataChart `protobuf:"bytes,34,rep,name=metricDataCharts,proto3" json:"metricDataCharts,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) Reset() {
|
||
*x = ComposeServerStatBoardResponse{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatBoardResponse) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatBoardResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[7]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatBoardResponse.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatBoardResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetMinutelyPeekBandwidthBytes() int64 {
|
||
if x != nil {
|
||
return x.MinutelyPeekBandwidthBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetDailyPeekBandwidthBytes() int64 {
|
||
if x != nil {
|
||
return x.DailyPeekBandwidthBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetMonthlyPeekBandwidthBytes() int64 {
|
||
if x != nil {
|
||
return x.MonthlyPeekBandwidthBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetLastMonthlyPeekBandwidthBytes() int64 {
|
||
if x != nil {
|
||
return x.LastMonthlyPeekBandwidthBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetDailyCountIPs() int64 {
|
||
if x != nil {
|
||
return x.DailyCountIPs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetDailyTrafficBytes() int64 {
|
||
if x != nil {
|
||
return x.DailyTrafficBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetBandwidthPercentile() int32 {
|
||
if x != nil {
|
||
return x.BandwidthPercentile
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetMinutelyBandwidthStats() []*ServerBandwidthStat {
|
||
if x != nil {
|
||
return x.MinutelyBandwidthStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetMinutelyNthBandwidthStat() *ServerBandwidthStat {
|
||
if x != nil {
|
||
return x.MinutelyNthBandwidthStat
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetDailyTrafficStats() []*ComposeServerStatBoardResponse_DailyTrafficStat {
|
||
if x != nil {
|
||
return x.DailyTrafficStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetHourlyTrafficStats() []*ComposeServerStatBoardResponse_HourlyTrafficStat {
|
||
if x != nil {
|
||
return x.HourlyTrafficStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetTopNodeStats() []*ComposeServerStatBoardResponse_NodeStat {
|
||
if x != nil {
|
||
return x.TopNodeStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetTopCountryStats() []*ComposeServerStatBoardResponse_CountryStat {
|
||
if x != nil {
|
||
return x.TopCountryStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse) GetMetricDataCharts() []*MetricDataChart {
|
||
if x != nil {
|
||
return x.MetricDataCharts
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 矩阵数据
|
||
type MetricDataChart struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
MetricChart *MetricChart `protobuf:"bytes,1,opt,name=metricChart,proto3" json:"metricChart,omitempty"`
|
||
MetricStats []*MetricStat `protobuf:"bytes,2,rep,name=metricStats,proto3" json:"metricStats,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *MetricDataChart) Reset() {
|
||
*x = MetricDataChart{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *MetricDataChart) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MetricDataChart) ProtoMessage() {}
|
||
|
||
func (x *MetricDataChart) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[8]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use MetricDataChart.ProtoReflect.Descriptor instead.
|
||
func (*MetricDataChart) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *MetricDataChart) GetMetricChart() *MetricChart {
|
||
if x != nil {
|
||
return x.MetricChart
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *MetricDataChart) GetMetricStats() []*MetricStat {
|
||
if x != nil {
|
||
return x.MetricStats
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 日流量统计
|
||
type ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
|
||
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) Reset() {
|
||
*x = ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[9]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{3, 0}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) GetDay() string {
|
||
if x != nil {
|
||
return x.Day
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) GetCachedBytes() int64 {
|
||
if x != nil {
|
||
return x.CachedBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) GetCountCachedRequests() int64 {
|
||
if x != nil {
|
||
return x.CountCachedRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 小时流量统计
|
||
type ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Hour string `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour,omitempty"`
|
||
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) Reset() {
|
||
*x = ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[10]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{3, 1}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) GetHour() string {
|
||
if x != nil {
|
||
return x.Hour
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) GetCachedBytes() int64 {
|
||
if x != nil {
|
||
return x.CachedBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) GetCountCachedRequests() int64 {
|
||
if x != nil {
|
||
return x.CountCachedRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 节点统计
|
||
type ComposeServerStatNodeClusterBoardResponse_NodeStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
||
NodeName string `protobuf:"bytes,2,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
Bytes int64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) Reset() {
|
||
*x = ComposeServerStatNodeClusterBoardResponse_NodeStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeClusterBoardResponse_NodeStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[11]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeClusterBoardResponse_NodeStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeClusterBoardResponse_NodeStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{3, 2}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) GetNodeId() int64 {
|
||
if x != nil {
|
||
return x.NodeId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) GetNodeName() string {
|
||
if x != nil {
|
||
return x.NodeName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeClusterBoardResponse_NodeStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatNodeBoardResponse_DailyTrafficStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
|
||
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) Reset() {
|
||
*x = ComposeServerStatNodeBoardResponse_DailyTrafficStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeBoardResponse_DailyTrafficStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[12]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeBoardResponse_DailyTrafficStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeBoardResponse_DailyTrafficStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{5, 0}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) GetDay() string {
|
||
if x != nil {
|
||
return x.Day
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) GetCachedBytes() int64 {
|
||
if x != nil {
|
||
return x.CachedBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) GetCountCachedRequests() int64 {
|
||
if x != nil {
|
||
return x.CountCachedRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_DailyTrafficStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatNodeBoardResponse_HourlyTrafficStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Hour string `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour,omitempty"`
|
||
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) Reset() {
|
||
*x = ComposeServerStatNodeBoardResponse_HourlyTrafficStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatNodeBoardResponse_HourlyTrafficStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[13]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatNodeBoardResponse_HourlyTrafficStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatNodeBoardResponse_HourlyTrafficStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{5, 1}
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) GetHour() string {
|
||
if x != nil {
|
||
return x.Hour
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) GetCachedBytes() int64 {
|
||
if x != nil {
|
||
return x.CachedBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) GetCountCachedRequests() int64 {
|
||
if x != nil {
|
||
return x.CountCachedRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatNodeBoardResponse_HourlyTrafficStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatBoardResponse_DailyTrafficStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
|
||
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) Reset() {
|
||
*x = ComposeServerStatBoardResponse_DailyTrafficStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatBoardResponse_DailyTrafficStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[14]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatBoardResponse_DailyTrafficStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatBoardResponse_DailyTrafficStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{7, 0}
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) GetDay() string {
|
||
if x != nil {
|
||
return x.Day
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) GetCachedBytes() int64 {
|
||
if x != nil {
|
||
return x.CachedBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) GetCountCachedRequests() int64 {
|
||
if x != nil {
|
||
return x.CountCachedRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_DailyTrafficStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatBoardResponse_HourlyTrafficStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Hour string `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour,omitempty"`
|
||
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) Reset() {
|
||
*x = ComposeServerStatBoardResponse_HourlyTrafficStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatBoardResponse_HourlyTrafficStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[15]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatBoardResponse_HourlyTrafficStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatBoardResponse_HourlyTrafficStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{7, 1}
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) GetHour() string {
|
||
if x != nil {
|
||
return x.Hour
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) GetCachedBytes() int64 {
|
||
if x != nil {
|
||
return x.CachedBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) GetCountCachedRequests() int64 {
|
||
if x != nil {
|
||
return x.CountCachedRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_HourlyTrafficStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatBoardResponse_NodeStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
||
NodeName string `protobuf:"bytes,2,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
Bytes int64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) Reset() {
|
||
*x = ComposeServerStatBoardResponse_NodeStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatBoardResponse_NodeStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[16]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatBoardResponse_NodeStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatBoardResponse_NodeStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{7, 2}
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) GetNodeId() int64 {
|
||
if x != nil {
|
||
return x.NodeId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) GetNodeName() string {
|
||
if x != nil {
|
||
return x.NodeName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_NodeStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ComposeServerStatBoardResponse_CountryStat struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CountryName string `protobuf:"bytes,1,opt,name=countryName,proto3" json:"countryName,omitempty"`
|
||
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
||
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
||
Percent float32 `protobuf:"fixed32,4,opt,name=percent,proto3" json:"percent,omitempty"` // 流量占比
|
||
CountAttackRequests int64 `protobuf:"varint,6,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
||
AttackBytes int64 `protobuf:"varint,7,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) Reset() {
|
||
*x = ComposeServerStatBoardResponse_CountryStat{}
|
||
mi := &file_service_server_stat_board_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ComposeServerStatBoardResponse_CountryStat) ProtoMessage() {}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_server_stat_board_proto_msgTypes[17]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ComposeServerStatBoardResponse_CountryStat.ProtoReflect.Descriptor instead.
|
||
func (*ComposeServerStatBoardResponse_CountryStat) Descriptor() ([]byte, []int) {
|
||
return file_service_server_stat_board_proto_rawDescGZIP(), []int{7, 3}
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) GetCountryName() string {
|
||
if x != nil {
|
||
return x.CountryName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) GetBytes() int64 {
|
||
if x != nil {
|
||
return x.Bytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) GetCountRequests() int64 {
|
||
if x != nil {
|
||
return x.CountRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) GetPercent() float32 {
|
||
if x != nil {
|
||
return x.Percent
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) GetCountAttackRequests() int64 {
|
||
if x != nil {
|
||
return x.CountAttackRequests
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ComposeServerStatBoardResponse_CountryStat) GetAttackBytes() int64 {
|
||
if x != nil {
|
||
return x.AttackBytes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_service_server_stat_board_proto protoreflect.FileDescriptor
|
||
|
||
const file_service_server_stat_board_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x1fservice_server_stat_board.proto\x12\x02pb\x1a$models/model_server_stat_board.proto\x1a\x1dmodels/model_node_value.proto\x1a\x1fmodels/model_metric_chart.proto\x1a\x1emodels/model_metric_stat.proto\x1a(models/model_server_bandwidth_stat.proto\"M\n" +
|
||
"%FindAllEnabledServerStatBoardsRequest\x12$\n" +
|
||
"\rnodeClusterId\x18\x01 \x01(\x03R\rnodeClusterId\"i\n" +
|
||
"&FindAllEnabledServerStatBoardsResponse\x12?\n" +
|
||
"\x10serverStatBoards\x18\x01 \x03(\v2\x13.pb.ServerStatBoardR\x10serverStatBoards\"P\n" +
|
||
"(ComposeServerStatNodeClusterBoardRequest\x12$\n" +
|
||
"\rnodeClusterId\x18\x01 \x01(\x03R\rnodeClusterId\"\xee\f\n" +
|
||
")ComposeServerStatNodeClusterBoardResponse\x12*\n" +
|
||
"\x10countActiveNodes\x18\x01 \x01(\x03R\x10countActiveNodes\x12.\n" +
|
||
"\x12countInactiveNodes\x18\x02 \x01(\x03R\x12countInactiveNodes\x12\"\n" +
|
||
"\fcountServers\x18\x03 \x01(\x03R\fcountServers\x12\x1e\n" +
|
||
"\n" +
|
||
"countUsers\x18\x04 \x01(\x03R\n" +
|
||
"countUsers\x120\n" +
|
||
"\x13monthlyTrafficBytes\x18\x05 \x01(\x03R\x13monthlyTrafficBytes\x12,\n" +
|
||
"\x11dailyTrafficBytes\x18\x06 \x01(\x03R\x11dailyTrafficBytes\x124\n" +
|
||
"\x15lastDailyTrafficBytes\x18\a \x01(\x03R\x15lastDailyTrafficBytes\x12l\n" +
|
||
"\x11dailyTrafficStats\x18\x1e \x03(\v2>.pb.ComposeServerStatNodeClusterBoardResponse.DailyTrafficStatR\x11dailyTrafficStats\x12o\n" +
|
||
"\x12hourlyTrafficStats\x18\x1f \x03(\v2?.pb.ComposeServerStatNodeClusterBoardResponse.HourlyTrafficStatR\x12hourlyTrafficStats\x12Z\n" +
|
||
"\ftopNodeStats\x18 \x03(\v26.pb.ComposeServerStatNodeClusterBoardResponse.NodeStatR\ftopNodeStats\x123\n" +
|
||
"\rcpuNodeValues\x18\" \x03(\v2\r.pb.NodeValueR\rcpuNodeValues\x129\n" +
|
||
"\x10memoryNodeValues\x18# \x03(\v2\r.pb.NodeValueR\x10memoryNodeValues\x125\n" +
|
||
"\x0eloadNodeValues\x18$ \x03(\v2\r.pb.NodeValueR\x0eloadNodeValues\x12?\n" +
|
||
"\x10metricDataCharts\x18% \x03(\v2\x13.pb.MetricDataChartR\x10metricDataCharts\x1a\x88\x02\n" +
|
||
"\x10DailyTrafficStat\x12\x10\n" +
|
||
"\x03day\x18\x01 \x01(\tR\x03day\x12\x14\n" +
|
||
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12 \n" +
|
||
"\vcachedBytes\x18\x03 \x01(\x03R\vcachedBytes\x12$\n" +
|
||
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x120\n" +
|
||
"\x13countCachedRequests\x18\x05 \x01(\x03R\x13countCachedRequests\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\x1a\x8b\x02\n" +
|
||
"\x11HourlyTrafficStat\x12\x12\n" +
|
||
"\x04hour\x18\x01 \x01(\tR\x04hour\x12\x14\n" +
|
||
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12 \n" +
|
||
"\vcachedBytes\x18\x03 \x01(\x03R\vcachedBytes\x12$\n" +
|
||
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x120\n" +
|
||
"\x13countCachedRequests\x18\x05 \x01(\x03R\x13countCachedRequests\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\x1a\xce\x01\n" +
|
||
"\bNodeStat\x12\x16\n" +
|
||
"\x06nodeId\x18\x01 \x01(\x03R\x06nodeId\x12\x1a\n" +
|
||
"\bnodeName\x18\x02 \x01(\tR\bnodeName\x12$\n" +
|
||
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x12\x14\n" +
|
||
"\x05bytes\x18\x04 \x01(\x03R\x05bytes\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\";\n" +
|
||
"!ComposeServerStatNodeBoardRequest\x12\x16\n" +
|
||
"\x06nodeId\x18\x01 \x01(\x03R\x06nodeId\"\xc6\r\n" +
|
||
"\"ComposeServerStatNodeBoardResponse\x12\x1a\n" +
|
||
"\bisActive\x18\x01 \x01(\bR\bisActive\x12&\n" +
|
||
"\x0etrafficInBytes\x18\x02 \x01(\x03R\x0etrafficInBytes\x12(\n" +
|
||
"\x0ftrafficOutBytes\x18\x03 \x01(\x03R\x0ftrafficOutBytes\x12$\n" +
|
||
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x120\n" +
|
||
"\x13countAttackRequests\x18\x05 \x01(\x03R\x13countAttackRequests\x12*\n" +
|
||
"\x10countConnections\x18\x06 \x01(\x03R\x10countConnections\x12$\n" +
|
||
"\rcacheDiskSize\x18\a \x01(\x03R\rcacheDiskSize\x12(\n" +
|
||
"\x0fcacheMemorySize\x18\b \x01(\x03R\x0fcacheMemorySize\x12\x1a\n" +
|
||
"\bcpuUsage\x18\t \x01(\x02R\bcpuUsage\x12 \n" +
|
||
"\vmemoryUsage\x18\n" +
|
||
" \x01(\x02R\vmemoryUsage\x12(\n" +
|
||
"\x0fmemoryTotalSize\x18\v \x01(\x03R\x0fmemoryTotalSize\x12\x12\n" +
|
||
"\x04load\x18\f \x01(\x02R\x04load\x120\n" +
|
||
"\x13monthlyTrafficBytes\x18\r \x01(\x03R\x13monthlyTrafficBytes\x12,\n" +
|
||
"\x11dailyTrafficBytes\x18\x0e \x01(\x03R\x11dailyTrafficBytes\x124\n" +
|
||
"\x15lastDailyTrafficBytes\x18\x0f \x01(\x03R\x15lastDailyTrafficBytes\x12e\n" +
|
||
"\x11dailyTrafficStats\x18\x1f \x03(\v27.pb.ComposeServerStatNodeBoardResponse.DailyTrafficStatR\x11dailyTrafficStats\x12h\n" +
|
||
"\x12hourlyTrafficStats\x18 \x03(\v28.pb.ComposeServerStatNodeBoardResponse.HourlyTrafficStatR\x12hourlyTrafficStats\x123\n" +
|
||
"\rcpuNodeValues\x18\" \x03(\v2\r.pb.NodeValueR\rcpuNodeValues\x129\n" +
|
||
"\x10memoryNodeValues\x18# \x03(\v2\r.pb.NodeValueR\x10memoryNodeValues\x125\n" +
|
||
"\x0eloadNodeValues\x18$ \x03(\v2\r.pb.NodeValueR\x0eloadNodeValues\x127\n" +
|
||
"\x0fcacheDirsValues\x18& \x03(\v2\r.pb.NodeValueR\x0fcacheDirsValues\x12A\n" +
|
||
"\x14networkPacketsValues\x18' \x03(\v2\r.pb.NodeValueR\x14networkPacketsValues\x12?\n" +
|
||
"\x10metricDataCharts\x18% \x03(\v2\x13.pb.MetricDataChartR\x10metricDataCharts\x1a\x88\x02\n" +
|
||
"\x10DailyTrafficStat\x12\x10\n" +
|
||
"\x03day\x18\x01 \x01(\tR\x03day\x12\x14\n" +
|
||
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12 \n" +
|
||
"\vcachedBytes\x18\x03 \x01(\x03R\vcachedBytes\x12$\n" +
|
||
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x120\n" +
|
||
"\x13countCachedRequests\x18\x05 \x01(\x03R\x13countCachedRequests\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\x1a\x8b\x02\n" +
|
||
"\x11HourlyTrafficStat\x12\x12\n" +
|
||
"\x04hour\x18\x01 \x01(\tR\x04hour\x12\x14\n" +
|
||
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12 \n" +
|
||
"\vcachedBytes\x18\x03 \x01(\x03R\vcachedBytes\x12$\n" +
|
||
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x120\n" +
|
||
"\x13countCachedRequests\x18\x05 \x01(\x03R\x13countCachedRequests\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\";\n" +
|
||
"\x1dComposeServerStatBoardRequest\x12\x1a\n" +
|
||
"\bserverId\x18\x01 \x01(\x03R\bserverId\"\xc5\x0f\n" +
|
||
"\x1eComposeServerStatBoardResponse\x12>\n" +
|
||
"\x1aminutelyPeekBandwidthBytes\x18\x05 \x01(\x03R\x1aminutelyPeekBandwidthBytes\x128\n" +
|
||
"\x17dailyPeekBandwidthBytes\x18\x02 \x01(\x03R\x17dailyPeekBandwidthBytes\x12<\n" +
|
||
"\x19monthlyPeekBandwidthBytes\x18\x03 \x01(\x03R\x19monthlyPeekBandwidthBytes\x12D\n" +
|
||
"\x1dlastMonthlyPeekBandwidthBytes\x18\x04 \x01(\x03R\x1dlastMonthlyPeekBandwidthBytes\x12$\n" +
|
||
"\rdailyCountIPs\x18\t \x01(\x03R\rdailyCountIPs\x12,\n" +
|
||
"\x11dailyTrafficBytes\x18\n" +
|
||
" \x01(\x03R\x11dailyTrafficBytes\x120\n" +
|
||
"\x13bandwidthPercentile\x18\a \x01(\x05R\x13bandwidthPercentile\x12O\n" +
|
||
"\x16minutelyBandwidthStats\x18\x01 \x03(\v2\x17.pb.ServerBandwidthStatR\x16minutelyBandwidthStats\x12S\n" +
|
||
"\x18minutelyNthBandwidthStat\x18\b \x01(\v2\x17.pb.ServerBandwidthStatR\x18minutelyNthBandwidthStat\x12a\n" +
|
||
"\x11dailyTrafficStats\x18\x1e \x03(\v23.pb.ComposeServerStatBoardResponse.DailyTrafficStatR\x11dailyTrafficStats\x12d\n" +
|
||
"\x12hourlyTrafficStats\x18\x1f \x03(\v24.pb.ComposeServerStatBoardResponse.HourlyTrafficStatR\x12hourlyTrafficStats\x12O\n" +
|
||
"\ftopNodeStats\x18 \x03(\v2+.pb.ComposeServerStatBoardResponse.NodeStatR\ftopNodeStats\x12X\n" +
|
||
"\x0ftopCountryStats\x18# \x03(\v2..pb.ComposeServerStatBoardResponse.CountryStatR\x0ftopCountryStats\x12?\n" +
|
||
"\x10metricDataCharts\x18\" \x03(\v2\x13.pb.MetricDataChartR\x10metricDataCharts\x1a\x88\x02\n" +
|
||
"\x10DailyTrafficStat\x12\x10\n" +
|
||
"\x03day\x18\x01 \x01(\tR\x03day\x12\x14\n" +
|
||
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12 \n" +
|
||
"\vcachedBytes\x18\x03 \x01(\x03R\vcachedBytes\x12$\n" +
|
||
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x120\n" +
|
||
"\x13countCachedRequests\x18\x05 \x01(\x03R\x13countCachedRequests\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\x1a\x8b\x02\n" +
|
||
"\x11HourlyTrafficStat\x12\x12\n" +
|
||
"\x04hour\x18\x01 \x01(\tR\x04hour\x12\x14\n" +
|
||
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12 \n" +
|
||
"\vcachedBytes\x18\x03 \x01(\x03R\vcachedBytes\x12$\n" +
|
||
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x120\n" +
|
||
"\x13countCachedRequests\x18\x05 \x01(\x03R\x13countCachedRequests\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\x1a\xce\x01\n" +
|
||
"\bNodeStat\x12\x16\n" +
|
||
"\x06nodeId\x18\x01 \x01(\x03R\x06nodeId\x12\x1a\n" +
|
||
"\bnodeName\x18\x02 \x01(\tR\bnodeName\x12$\n" +
|
||
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x12\x14\n" +
|
||
"\x05bytes\x18\x04 \x01(\x03R\x05bytes\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\x1a\xd9\x01\n" +
|
||
"\vCountryStat\x12 \n" +
|
||
"\vcountryName\x18\x01 \x01(\tR\vcountryName\x12\x14\n" +
|
||
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12$\n" +
|
||
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x12\x18\n" +
|
||
"\apercent\x18\x04 \x01(\x02R\apercent\x120\n" +
|
||
"\x13countAttackRequests\x18\x06 \x01(\x03R\x13countAttackRequests\x12 \n" +
|
||
"\vattackBytes\x18\a \x01(\x03R\vattackBytes\"v\n" +
|
||
"\x0fMetricDataChart\x121\n" +
|
||
"\vmetricChart\x18\x01 \x01(\v2\x0f.pb.MetricChartR\vmetricChart\x120\n" +
|
||
"\vmetricStats\x18\x02 \x03(\v2\x0e.pb.MetricStatR\vmetricStats2\xe2\x03\n" +
|
||
"\x16ServerStatBoardService\x12w\n" +
|
||
"\x1efindAllEnabledServerStatBoards\x12).pb.FindAllEnabledServerStatBoardsRequest\x1a*.pb.FindAllEnabledServerStatBoardsResponse\x12\x80\x01\n" +
|
||
"!composeServerStatNodeClusterBoard\x12,.pb.ComposeServerStatNodeClusterBoardRequest\x1a-.pb.ComposeServerStatNodeClusterBoardResponse\x12k\n" +
|
||
"\x1acomposeServerStatNodeBoard\x12%.pb.ComposeServerStatNodeBoardRequest\x1a&.pb.ComposeServerStatNodeBoardResponse\x12_\n" +
|
||
"\x16composeServerStatBoard\x12!.pb.ComposeServerStatBoardRequest\x1a\".pb.ComposeServerStatBoardResponseB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_server_stat_board_proto_rawDescOnce sync.Once
|
||
file_service_server_stat_board_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_service_server_stat_board_proto_rawDescGZIP() []byte {
|
||
file_service_server_stat_board_proto_rawDescOnce.Do(func() {
|
||
file_service_server_stat_board_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_server_stat_board_proto_rawDesc), len(file_service_server_stat_board_proto_rawDesc)))
|
||
})
|
||
return file_service_server_stat_board_proto_rawDescData
|
||
}
|
||
|
||
var file_service_server_stat_board_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
||
var file_service_server_stat_board_proto_goTypes = []any{
|
||
(*FindAllEnabledServerStatBoardsRequest)(nil), // 0: pb.FindAllEnabledServerStatBoardsRequest
|
||
(*FindAllEnabledServerStatBoardsResponse)(nil), // 1: pb.FindAllEnabledServerStatBoardsResponse
|
||
(*ComposeServerStatNodeClusterBoardRequest)(nil), // 2: pb.ComposeServerStatNodeClusterBoardRequest
|
||
(*ComposeServerStatNodeClusterBoardResponse)(nil), // 3: pb.ComposeServerStatNodeClusterBoardResponse
|
||
(*ComposeServerStatNodeBoardRequest)(nil), // 4: pb.ComposeServerStatNodeBoardRequest
|
||
(*ComposeServerStatNodeBoardResponse)(nil), // 5: pb.ComposeServerStatNodeBoardResponse
|
||
(*ComposeServerStatBoardRequest)(nil), // 6: pb.ComposeServerStatBoardRequest
|
||
(*ComposeServerStatBoardResponse)(nil), // 7: pb.ComposeServerStatBoardResponse
|
||
(*MetricDataChart)(nil), // 8: pb.MetricDataChart
|
||
(*ComposeServerStatNodeClusterBoardResponse_DailyTrafficStat)(nil), // 9: pb.ComposeServerStatNodeClusterBoardResponse.DailyTrafficStat
|
||
(*ComposeServerStatNodeClusterBoardResponse_HourlyTrafficStat)(nil), // 10: pb.ComposeServerStatNodeClusterBoardResponse.HourlyTrafficStat
|
||
(*ComposeServerStatNodeClusterBoardResponse_NodeStat)(nil), // 11: pb.ComposeServerStatNodeClusterBoardResponse.NodeStat
|
||
(*ComposeServerStatNodeBoardResponse_DailyTrafficStat)(nil), // 12: pb.ComposeServerStatNodeBoardResponse.DailyTrafficStat
|
||
(*ComposeServerStatNodeBoardResponse_HourlyTrafficStat)(nil), // 13: pb.ComposeServerStatNodeBoardResponse.HourlyTrafficStat
|
||
(*ComposeServerStatBoardResponse_DailyTrafficStat)(nil), // 14: pb.ComposeServerStatBoardResponse.DailyTrafficStat
|
||
(*ComposeServerStatBoardResponse_HourlyTrafficStat)(nil), // 15: pb.ComposeServerStatBoardResponse.HourlyTrafficStat
|
||
(*ComposeServerStatBoardResponse_NodeStat)(nil), // 16: pb.ComposeServerStatBoardResponse.NodeStat
|
||
(*ComposeServerStatBoardResponse_CountryStat)(nil), // 17: pb.ComposeServerStatBoardResponse.CountryStat
|
||
(*ServerStatBoard)(nil), // 18: pb.ServerStatBoard
|
||
(*NodeValue)(nil), // 19: pb.NodeValue
|
||
(*ServerBandwidthStat)(nil), // 20: pb.ServerBandwidthStat
|
||
(*MetricChart)(nil), // 21: pb.MetricChart
|
||
(*MetricStat)(nil), // 22: pb.MetricStat
|
||
}
|
||
var file_service_server_stat_board_proto_depIdxs = []int32{
|
||
18, // 0: pb.FindAllEnabledServerStatBoardsResponse.serverStatBoards:type_name -> pb.ServerStatBoard
|
||
9, // 1: pb.ComposeServerStatNodeClusterBoardResponse.dailyTrafficStats:type_name -> pb.ComposeServerStatNodeClusterBoardResponse.DailyTrafficStat
|
||
10, // 2: pb.ComposeServerStatNodeClusterBoardResponse.hourlyTrafficStats:type_name -> pb.ComposeServerStatNodeClusterBoardResponse.HourlyTrafficStat
|
||
11, // 3: pb.ComposeServerStatNodeClusterBoardResponse.topNodeStats:type_name -> pb.ComposeServerStatNodeClusterBoardResponse.NodeStat
|
||
19, // 4: pb.ComposeServerStatNodeClusterBoardResponse.cpuNodeValues:type_name -> pb.NodeValue
|
||
19, // 5: pb.ComposeServerStatNodeClusterBoardResponse.memoryNodeValues:type_name -> pb.NodeValue
|
||
19, // 6: pb.ComposeServerStatNodeClusterBoardResponse.loadNodeValues:type_name -> pb.NodeValue
|
||
8, // 7: pb.ComposeServerStatNodeClusterBoardResponse.metricDataCharts:type_name -> pb.MetricDataChart
|
||
12, // 8: pb.ComposeServerStatNodeBoardResponse.dailyTrafficStats:type_name -> pb.ComposeServerStatNodeBoardResponse.DailyTrafficStat
|
||
13, // 9: pb.ComposeServerStatNodeBoardResponse.hourlyTrafficStats:type_name -> pb.ComposeServerStatNodeBoardResponse.HourlyTrafficStat
|
||
19, // 10: pb.ComposeServerStatNodeBoardResponse.cpuNodeValues:type_name -> pb.NodeValue
|
||
19, // 11: pb.ComposeServerStatNodeBoardResponse.memoryNodeValues:type_name -> pb.NodeValue
|
||
19, // 12: pb.ComposeServerStatNodeBoardResponse.loadNodeValues:type_name -> pb.NodeValue
|
||
19, // 13: pb.ComposeServerStatNodeBoardResponse.cacheDirsValues:type_name -> pb.NodeValue
|
||
19, // 14: pb.ComposeServerStatNodeBoardResponse.networkPacketsValues:type_name -> pb.NodeValue
|
||
8, // 15: pb.ComposeServerStatNodeBoardResponse.metricDataCharts:type_name -> pb.MetricDataChart
|
||
20, // 16: pb.ComposeServerStatBoardResponse.minutelyBandwidthStats:type_name -> pb.ServerBandwidthStat
|
||
20, // 17: pb.ComposeServerStatBoardResponse.minutelyNthBandwidthStat:type_name -> pb.ServerBandwidthStat
|
||
14, // 18: pb.ComposeServerStatBoardResponse.dailyTrafficStats:type_name -> pb.ComposeServerStatBoardResponse.DailyTrafficStat
|
||
15, // 19: pb.ComposeServerStatBoardResponse.hourlyTrafficStats:type_name -> pb.ComposeServerStatBoardResponse.HourlyTrafficStat
|
||
16, // 20: pb.ComposeServerStatBoardResponse.topNodeStats:type_name -> pb.ComposeServerStatBoardResponse.NodeStat
|
||
17, // 21: pb.ComposeServerStatBoardResponse.topCountryStats:type_name -> pb.ComposeServerStatBoardResponse.CountryStat
|
||
8, // 22: pb.ComposeServerStatBoardResponse.metricDataCharts:type_name -> pb.MetricDataChart
|
||
21, // 23: pb.MetricDataChart.metricChart:type_name -> pb.MetricChart
|
||
22, // 24: pb.MetricDataChart.metricStats:type_name -> pb.MetricStat
|
||
0, // 25: pb.ServerStatBoardService.findAllEnabledServerStatBoards:input_type -> pb.FindAllEnabledServerStatBoardsRequest
|
||
2, // 26: pb.ServerStatBoardService.composeServerStatNodeClusterBoard:input_type -> pb.ComposeServerStatNodeClusterBoardRequest
|
||
4, // 27: pb.ServerStatBoardService.composeServerStatNodeBoard:input_type -> pb.ComposeServerStatNodeBoardRequest
|
||
6, // 28: pb.ServerStatBoardService.composeServerStatBoard:input_type -> pb.ComposeServerStatBoardRequest
|
||
1, // 29: pb.ServerStatBoardService.findAllEnabledServerStatBoards:output_type -> pb.FindAllEnabledServerStatBoardsResponse
|
||
3, // 30: pb.ServerStatBoardService.composeServerStatNodeClusterBoard:output_type -> pb.ComposeServerStatNodeClusterBoardResponse
|
||
5, // 31: pb.ServerStatBoardService.composeServerStatNodeBoard:output_type -> pb.ComposeServerStatNodeBoardResponse
|
||
7, // 32: pb.ServerStatBoardService.composeServerStatBoard:output_type -> pb.ComposeServerStatBoardResponse
|
||
29, // [29:33] is the sub-list for method output_type
|
||
25, // [25:29] is the sub-list for method input_type
|
||
25, // [25:25] is the sub-list for extension type_name
|
||
25, // [25:25] is the sub-list for extension extendee
|
||
0, // [0:25] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_service_server_stat_board_proto_init() }
|
||
func file_service_server_stat_board_proto_init() {
|
||
if File_service_server_stat_board_proto != nil {
|
||
return
|
||
}
|
||
file_models_model_server_stat_board_proto_init()
|
||
file_models_model_node_value_proto_init()
|
||
file_models_model_metric_chart_proto_init()
|
||
file_models_model_metric_stat_proto_init()
|
||
file_models_model_server_bandwidth_stat_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_server_stat_board_proto_rawDesc), len(file_service_server_stat_board_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 18,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_service_server_stat_board_proto_goTypes,
|
||
DependencyIndexes: file_service_server_stat_board_proto_depIdxs,
|
||
MessageInfos: file_service_server_stat_board_proto_msgTypes,
|
||
}.Build()
|
||
File_service_server_stat_board_proto = out.File
|
||
file_service_server_stat_board_proto_goTypes = nil
|
||
file_service_server_stat_board_proto_depIdxs = nil
|
||
}
|