v1.5.1 增强程序稳定性
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: service_node_value.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -349,86 +350,49 @@ func (x *SumAllNodeValueStatsResponse) GetAvgLoad5Min() float32 {
|
||||
|
||||
var File_service_node_value_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_node_value_proto_rawDesc = []byte{
|
||||
0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x19,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
|
||||
0x41, 0x74, 0x22, 0x6d, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x72,
|
||||
0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x72,
|
||||
0x61, 0x6e, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67,
|
||||
0x65, 0x22, 0x47, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x53, 0x75,
|
||||
0x6d, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61,
|
||||
0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xaa, 0x03, 0x0a, 0x1c, 0x53, 0x75,
|
||||
0x6d, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61,
|
||||
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x1a, 0x74, 0x6f,
|
||||
0x74, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x42, 0x79, 0x74, 0x65, 0x73, 0x50,
|
||||
0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a,
|
||||
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x42, 0x79, 0x74, 0x65,
|
||||
0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x76,
|
||||
0x67, 0x43, 0x50, 0x55, 0x55, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52,
|
||||
0x0b, 0x61, 0x76, 0x67, 0x43, 0x50, 0x55, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x6d, 0x61, 0x78, 0x43, 0x50, 0x55, 0x55, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x02, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x43, 0x50, 0x55, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x24,
|
||||
0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x50, 0x55, 0x43, 0x6f, 0x72, 0x65, 0x73, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x50, 0x55, 0x43,
|
||||
0x6f, 0x72, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x76, 0x67, 0x4d, 0x65, 0x6d, 0x6f, 0x72,
|
||||
0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x61, 0x76,
|
||||
0x67, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x0e,
|
||||
0x6d, 0x61, 0x78, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06,
|
||||
0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55,
|
||||
0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d,
|
||||
0x6f, 0x72, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10,
|
||||
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73,
|
||||
0x12, 0x20, 0x0a, 0x0b, 0x61, 0x76, 0x67, 0x4c, 0x6f, 0x61, 0x64, 0x31, 0x6d, 0x69, 0x6e, 0x18,
|
||||
0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x61, 0x76, 0x67, 0x4c, 0x6f, 0x61, 0x64, 0x31, 0x6d,
|
||||
0x69, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x4c, 0x6f, 0x61, 0x64, 0x31, 0x6d, 0x69,
|
||||
0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x4c, 0x6f, 0x61, 0x64,
|
||||
0x31, 0x6d, 0x69, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x76, 0x67, 0x4c, 0x6f, 0x61, 0x64, 0x35,
|
||||
0x6d, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x61, 0x76, 0x67, 0x4c, 0x6f,
|
||||
0x61, 0x64, 0x35, 0x6d, 0x69, 0x6e, 0x32, 0xf5, 0x01, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x0f, 0x63,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x6c, 0x69,
|
||||
0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x19, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x73, 0x75, 0x6d, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x53, 0x75, 0x6d, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x53, 0x75, 0x6d, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06,
|
||||
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_service_node_value_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x18service_node_value.proto\x12\x02pb\x1a\x19models/rpc_messages.proto\x1a\x1dmodels/model_node_value.proto\"h\n" +
|
||||
"\x16CreateNodeValueRequest\x12\x12\n" +
|
||||
"\x04item\x18\x01 \x01(\tR\x04item\x12\x1c\n" +
|
||||
"\tvalueJSON\x18\x02 \x01(\fR\tvalueJSON\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\"m\n" +
|
||||
"\x15ListNodeValuesRequest\x12\x12\n" +
|
||||
"\x04role\x18\x01 \x01(\tR\x04role\x12\x16\n" +
|
||||
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x12\n" +
|
||||
"\x04item\x18\x03 \x01(\tR\x04item\x12\x14\n" +
|
||||
"\x05range\x18\n" +
|
||||
" \x01(\tR\x05range\"G\n" +
|
||||
"\x16ListNodeValuesResponse\x12-\n" +
|
||||
"\n" +
|
||||
"nodeValues\x18\x01 \x03(\v2\r.pb.NodeValueR\n" +
|
||||
"nodeValues\"\x1d\n" +
|
||||
"\x1bSumAllNodeValueStatsRequest\"\xaa\x03\n" +
|
||||
"\x1cSumAllNodeValueStatsResponse\x12>\n" +
|
||||
"\x1atotalTrafficBytesPerSecond\x18\x01 \x01(\x03R\x1atotalTrafficBytesPerSecond\x12 \n" +
|
||||
"\vavgCPUUsage\x18\x02 \x01(\x02R\vavgCPUUsage\x12 \n" +
|
||||
"\vmaxCPUUsage\x18\x03 \x01(\x02R\vmaxCPUUsage\x12$\n" +
|
||||
"\rtotalCPUCores\x18\x04 \x01(\x05R\rtotalCPUCores\x12&\n" +
|
||||
"\x0eavgMemoryUsage\x18\x05 \x01(\x02R\x0eavgMemoryUsage\x12&\n" +
|
||||
"\x0emaxMemoryUsage\x18\x06 \x01(\x02R\x0emaxMemoryUsage\x12*\n" +
|
||||
"\x10totalMemoryBytes\x18\a \x01(\x03R\x10totalMemoryBytes\x12 \n" +
|
||||
"\vavgLoad1min\x18\b \x01(\x02R\vavgLoad1min\x12 \n" +
|
||||
"\vmaxLoad1min\x18\t \x01(\x02R\vmaxLoad1min\x12 \n" +
|
||||
"\vavgLoad5min\x18\n" +
|
||||
" \x01(\x02R\vavgLoad5min2\xf5\x01\n" +
|
||||
"\x10NodeValueService\x12=\n" +
|
||||
"\x0fcreateNodeValue\x12\x1a.pb.CreateNodeValueRequest\x1a\x0e.pb.RPCSuccess\x12G\n" +
|
||||
"\x0elistNodeValues\x12\x19.pb.ListNodeValuesRequest\x1a\x1a.pb.ListNodeValuesResponse\x12Y\n" +
|
||||
"\x14sumAllNodeValueStats\x12\x1f.pb.SumAllNodeValueStatsRequest\x1a .pb.SumAllNodeValueStatsResponseB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_service_node_value_proto_rawDescOnce sync.Once
|
||||
file_service_node_value_proto_rawDescData = file_service_node_value_proto_rawDesc
|
||||
file_service_node_value_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_service_node_value_proto_rawDescGZIP() []byte {
|
||||
file_service_node_value_proto_rawDescOnce.Do(func() {
|
||||
file_service_node_value_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_node_value_proto_rawDescData)
|
||||
file_service_node_value_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_node_value_proto_rawDesc), len(file_service_node_value_proto_rawDesc)))
|
||||
})
|
||||
return file_service_node_value_proto_rawDescData
|
||||
}
|
||||
@@ -469,7 +433,7 @@ func file_service_node_value_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_node_value_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_node_value_proto_rawDesc), len(file_service_node_value_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
@@ -480,7 +444,6 @@ func file_service_node_value_proto_init() {
|
||||
MessageInfos: file_service_node_value_proto_msgTypes,
|
||||
}.Build()
|
||||
File_service_node_value_proto = out.File
|
||||
file_service_node_value_proto_rawDesc = nil
|
||||
file_service_node_value_proto_goTypes = nil
|
||||
file_service_node_value_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user