From 0f242bd06d0dacaf984f6a831afcaaf9f0281560 Mon Sep 17 00:00:00 2001 From: wtifs Date: Wed, 30 Aug 2023 15:01:40 +0800 Subject: [PATCH 1/3] feat: add message for cpu limiter --- api/v1/traffic_manage/ratelimit.proto | 12 + .../go/api/v1/traffic_manage/ratelimit.pb.go | 312 +++++++++++------- 2 files changed, 201 insertions(+), 123 deletions(-) diff --git a/api/v1/traffic_manage/ratelimit.proto b/api/v1/traffic_manage/ratelimit.proto index 004a4046..09028ec9 100644 --- a/api/v1/traffic_manage/ratelimit.proto +++ b/api/v1/traffic_manage/ratelimit.proto @@ -36,6 +36,8 @@ message Rule { QPS = 0; // 针对并发数进行限流 CONCURRENCY = 1; + // 针对CPU使用率进行限流 + CPU_BBR = 2; } Resource resource = 6; // 限流类型 @@ -211,4 +213,14 @@ message ClimbConfig { } ClimbThrottling throttling = 4; // 限流调整相关参数 +} + +// 自适应限流配额 +message SystemAmount { + // 采样窗口大小 + google.protobuf.Duration window = 1; + // 数据统计精度,决定滑动窗口的最小周期,滑窗的步长=window/precision + google.protobuf.UInt32Value precision = 2; + // 触发阈值 + google.protobuf.FloatValue threshold = 3; } \ No newline at end of file diff --git a/source/go/api/v1/traffic_manage/ratelimit.pb.go b/source/go/api/v1/traffic_manage/ratelimit.pb.go index 8af78ab3..5ecaa5e7 100644 --- a/source/go/api/v1/traffic_manage/ratelimit.pb.go +++ b/source/go/api/v1/traffic_manage/ratelimit.pb.go @@ -29,22 +29,26 @@ const ( Rule_QPS Rule_Resource = 0 // 针对并发数进行限流 Rule_CONCURRENCY Rule_Resource = 1 + // 针对CPU使用率进行限流 + Rule_CPU_BBR Rule_Resource = 2 ) var Rule_Resource_name = map[int32]string{ 0: "QPS", 1: "CONCURRENCY", + 2: "CPU_BBR", } var Rule_Resource_value = map[string]int32{ "QPS": 0, "CONCURRENCY": 1, + "CPU_BBR": 2, } func (x Rule_Resource) String() string { return proto.EnumName(Rule_Resource_name, int32(x)) } func (Rule_Resource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{1, 0} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1, 0} } // 限流类型 @@ -69,7 +73,7 @@ func (x Rule_Type) String() string { return proto.EnumName(Rule_Type_name, int32(x)) } func (Rule_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{1, 1} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1, 1} } // 限流阈值模 @@ -93,7 +97,7 @@ func (x Rule_AmountMode) String() string { return proto.EnumName(Rule_AmountMode_name, int32(x)) } func (Rule_AmountMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{1, 2} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1, 2} } // 与限流集群连接失败时降级模式 @@ -117,7 +121,7 @@ func (x Rule_FailoverType) String() string { return proto.EnumName(Rule_FailoverType_name, int32(x)) } func (Rule_FailoverType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{1, 3} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1, 3} } // label type for gateway request @@ -159,7 +163,7 @@ func (x MatchArgument_Type) String() string { return proto.EnumName(MatchArgument_Type_name, int32(x)) } func (MatchArgument_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{2, 0} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{2, 0} } // 同一服务下限流规则集合 @@ -177,7 +181,7 @@ func (m *RateLimit) Reset() { *m = RateLimit{} } func (m *RateLimit) String() string { return proto.CompactTextString(m) } func (*RateLimit) ProtoMessage() {} func (*RateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{0} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{0} } func (m *RateLimit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RateLimit.Unmarshal(m, b) @@ -272,7 +276,7 @@ func (m *Rule) Reset() { *m = Rule{} } func (m *Rule) String() string { return proto.CompactTextString(m) } func (*Rule) ProtoMessage() {} func (*Rule) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{1} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1} } func (m *Rule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Rule.Unmarshal(m, b) @@ -489,7 +493,7 @@ func (m *MatchArgument) Reset() { *m = MatchArgument{} } func (m *MatchArgument) String() string { return proto.CompactTextString(m) } func (*MatchArgument) ProtoMessage() {} func (*MatchArgument) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{2} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{2} } func (m *MatchArgument) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MatchArgument.Unmarshal(m, b) @@ -544,7 +548,7 @@ func (m *RateLimitCluster) Reset() { *m = RateLimitCluster{} } func (m *RateLimitCluster) String() string { return proto.CompactTextString(m) } func (*RateLimitCluster) ProtoMessage() {} func (*RateLimitCluster) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{3} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{3} } func (m *RateLimitCluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RateLimitCluster.Unmarshal(m, b) @@ -599,7 +603,7 @@ func (m *Amount) Reset() { *m = Amount{} } func (m *Amount) String() string { return proto.CompactTextString(m) } func (*Amount) ProtoMessage() {} func (*Amount) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{4} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{4} } func (m *Amount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Amount.Unmarshal(m, b) @@ -669,7 +673,7 @@ func (m *Report) Reset() { *m = Report{} } func (m *Report) String() string { return proto.CompactTextString(m) } func (*Report) ProtoMessage() {} func (*Report) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{5} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{5} } func (m *Report) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Report.Unmarshal(m, b) @@ -715,7 +719,7 @@ func (m *AmountAdjuster) Reset() { *m = AmountAdjuster{} } func (m *AmountAdjuster) String() string { return proto.CompactTextString(m) } func (*AmountAdjuster) ProtoMessage() {} func (*AmountAdjuster) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{6} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{6} } func (m *AmountAdjuster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AmountAdjuster.Unmarshal(m, b) @@ -757,7 +761,7 @@ func (m *ClimbConfig) Reset() { *m = ClimbConfig{} } func (m *ClimbConfig) String() string { return proto.CompactTextString(m) } func (*ClimbConfig) ProtoMessage() {} func (*ClimbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{7} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7} } func (m *ClimbConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig.Unmarshal(m, b) @@ -822,7 +826,7 @@ func (m *ClimbConfig_MetricConfig) Reset() { *m = ClimbConfig_MetricConf func (m *ClimbConfig_MetricConfig) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_MetricConfig) ProtoMessage() {} func (*ClimbConfig_MetricConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{7, 0} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 0} } func (m *ClimbConfig_MetricConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_MetricConfig.Unmarshal(m, b) @@ -876,7 +880,7 @@ func (m *ClimbConfig_TriggerPolicy) Reset() { *m = ClimbConfig_TriggerPo func (m *ClimbConfig_TriggerPolicy) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{7, 1} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 1} } func (m *ClimbConfig_TriggerPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy.Unmarshal(m, b) @@ -925,7 +929,7 @@ func (m *ClimbConfig_TriggerPolicy_ErrorRate) Reset() { *m = ClimbConfig func (m *ClimbConfig_TriggerPolicy_ErrorRate) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy_ErrorRate) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_ErrorRate) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{7, 1, 0} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 1, 0} } func (m *ClimbConfig_TriggerPolicy_ErrorRate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate.Unmarshal(m, b) @@ -991,7 +995,7 @@ func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) String() string { } func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{7, 1, 0, 0} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 1, 0, 0} } func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.Unmarshal(m, b) @@ -1046,7 +1050,7 @@ func (m *ClimbConfig_TriggerPolicy_SlowRate) Reset() { *m = ClimbConfig_ func (m *ClimbConfig_TriggerPolicy_SlowRate) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy_SlowRate) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_SlowRate) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{7, 1, 1} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 1, 1} } func (m *ClimbConfig_TriggerPolicy_SlowRate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate.Unmarshal(m, b) @@ -1106,7 +1110,7 @@ func (m *ClimbConfig_ClimbThrottling) Reset() { *m = ClimbConfig_ClimbTh func (m *ClimbConfig_ClimbThrottling) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_ClimbThrottling) ProtoMessage() {} func (*ClimbConfig_ClimbThrottling) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_75db226431fe691e, []int{7, 2} + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 2} } func (m *ClimbConfig_ClimbThrottling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_ClimbThrottling.Unmarshal(m, b) @@ -1182,6 +1186,64 @@ func (m *ClimbConfig_ClimbThrottling) GetTuneDownPeriod() *wrapperspb.Int32Value return nil } +// 自适应限流配额 +type SystemAmount struct { + // 采样窗口大小 + Window *durationpb.Duration `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` + // 数据统计精度,决定滑动窗口的最小周期,滑窗的步长=window/precision + Precision *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=precision,proto3" json:"precision,omitempty"` + // CPU阈值 + CpuThreshold *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=cpuThreshold,proto3" json:"cpuThreshold,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SystemAmount) Reset() { *m = SystemAmount{} } +func (m *SystemAmount) String() string { return proto.CompactTextString(m) } +func (*SystemAmount) ProtoMessage() {} +func (*SystemAmount) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{8} +} +func (m *SystemAmount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SystemAmount.Unmarshal(m, b) +} +func (m *SystemAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SystemAmount.Marshal(b, m, deterministic) +} +func (dst *SystemAmount) XXX_Merge(src proto.Message) { + xxx_messageInfo_SystemAmount.Merge(dst, src) +} +func (m *SystemAmount) XXX_Size() int { + return xxx_messageInfo_SystemAmount.Size(m) +} +func (m *SystemAmount) XXX_DiscardUnknown() { + xxx_messageInfo_SystemAmount.DiscardUnknown(m) +} + +var xxx_messageInfo_SystemAmount proto.InternalMessageInfo + +func (m *SystemAmount) GetWindow() *durationpb.Duration { + if m != nil { + return m.Window + } + return nil +} + +func (m *SystemAmount) GetPrecision() *wrapperspb.UInt32Value { + if m != nil { + return m.Precision + } + return nil +} + +func (m *SystemAmount) GetCpuThreshold() *wrapperspb.FloatValue { + if m != nil { + return m.CpuThreshold + } + return nil +} + func init() { proto.RegisterType((*RateLimit)(nil), "v1.RateLimit") proto.RegisterType((*Rule)(nil), "v1.Rule") @@ -1199,6 +1261,7 @@ func init() { proto.RegisterType((*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig)(nil), "v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig") proto.RegisterType((*ClimbConfig_TriggerPolicy_SlowRate)(nil), "v1.ClimbConfig.TriggerPolicy.SlowRate") proto.RegisterType((*ClimbConfig_ClimbThrottling)(nil), "v1.ClimbConfig.ClimbThrottling") + proto.RegisterType((*SystemAmount)(nil), "v1.SystemAmount") proto.RegisterEnum("v1.Rule_Resource", Rule_Resource_name, Rule_Resource_value) proto.RegisterEnum("v1.Rule_Type", Rule_Type_name, Rule_Type_value) proto.RegisterEnum("v1.Rule_AmountMode", Rule_AmountMode_name, Rule_AmountMode_value) @@ -1206,108 +1269,111 @@ func init() { proto.RegisterEnum("v1.MatchArgument_Type", MatchArgument_Type_name, MatchArgument_Type_value) } -func init() { proto.RegisterFile("ratelimit.proto", fileDescriptor_ratelimit_75db226431fe691e) } - -var fileDescriptor_ratelimit_75db226431fe691e = []byte{ - // 1590 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x72, 0xdb, 0xc6, - 0x15, 0x36, 0xf8, 0x27, 0xf2, 0x50, 0xa4, 0xe8, 0x75, 0xec, 0x22, 0x6c, 0x93, 0xba, 0x9c, 0xb4, - 0xf1, 0x74, 0x52, 0xb0, 0x52, 0xec, 0x38, 0x4d, 0x67, 0xea, 0x52, 0x14, 0x5d, 0xab, 0x43, 0x45, - 0xd2, 0x92, 0xf2, 0x34, 0xbd, 0xe1, 0x80, 0xc0, 0x8a, 0xda, 0x04, 0xc0, 0x32, 0x8b, 0x05, 0x65, - 0x5d, 0x77, 0x26, 0xb7, 0x7d, 0x8c, 0xf6, 0x15, 0x7a, 0xd1, 0x99, 0x3e, 0x41, 0xa7, 0x6f, 0xd0, - 0x67, 0xe8, 0x1b, 0x74, 0x76, 0xb1, 0x04, 0x01, 0xea, 0x87, 0xb0, 0x7d, 0x07, 0xed, 0xf9, 0xbe, - 0x73, 0xce, 0x9e, 0xfd, 0xf6, 0x9c, 0x15, 0x61, 0x87, 0xdb, 0x82, 0x78, 0xd4, 0xa7, 0xc2, 0x9a, - 0x73, 0x26, 0x18, 0x2a, 0x2c, 0x76, 0xdb, 0x1f, 0xcf, 0x18, 0x9b, 0x79, 0xa4, 0xab, 0x56, 0xa6, - 0xd1, 0x79, 0xf7, 0x92, 0xdb, 0xf3, 0x39, 0xe1, 0x61, 0x8c, 0xb9, 0x6e, 0x77, 0x23, 0x6e, 0x0b, - 0xca, 0x02, 0x6d, 0xaf, 0xfb, 0xcc, 0x25, 0x5e, 0xfc, 0x47, 0x87, 0x40, 0x0d, 0xdb, 0x82, 0x0c, - 0x65, 0x0c, 0xf4, 0x31, 0x94, 0x79, 0xe4, 0x91, 0xd0, 0x34, 0x1e, 0x17, 0x9f, 0xd4, 0xf7, 0xaa, - 0xd6, 0x62, 0xd7, 0xc2, 0x91, 0x47, 0x70, 0xbc, 0x8c, 0xbe, 0x84, 0x2a, 0x27, 0x0b, 0x1a, 0x52, - 0x16, 0x98, 0x85, 0xc7, 0xc6, 0x93, 0xfa, 0xde, 0x4f, 0xac, 0x38, 0x98, 0xb5, 0x0c, 0x66, 0x8d, - 0x04, 0xa7, 0xc1, 0xec, 0xb5, 0xed, 0x45, 0x04, 0x27, 0xe8, 0xce, 0x0f, 0x0d, 0x28, 0x49, 0x4f, - 0xe8, 0x33, 0x28, 0x50, 0xd7, 0x34, 0x72, 0x90, 0x0b, 0xd4, 0x45, 0x5f, 0xc0, 0x56, 0x48, 0xf8, - 0x82, 0x3a, 0x24, 0x57, 0xbc, 0x25, 0x18, 0x7d, 0x05, 0xb5, 0xc0, 0xf6, 0x49, 0x38, 0xb7, 0x1d, - 0x62, 0x16, 0x73, 0x30, 0x57, 0x70, 0xf4, 0x19, 0x54, 0xc2, 0x68, 0x1a, 0x12, 0x61, 0x96, 0x54, - 0x15, 0x3e, 0x58, 0x56, 0xc1, 0x1a, 0xa9, 0xe5, 0x41, 0x20, 0xf8, 0x15, 0xd6, 0x18, 0x59, 0x92, - 0x39, 0xa7, 0x8c, 0x53, 0x71, 0x65, 0x96, 0x6f, 0x09, 0x74, 0x76, 0x18, 0x88, 0xcf, 0xf7, 0x74, - 0x49, 0x96, 0x68, 0xf4, 0x2b, 0x59, 0xcc, 0x90, 0x45, 0xdc, 0x21, 0x66, 0xe5, 0xb1, 0xf1, 0xa4, - 0xb9, 0x77, 0x3f, 0x89, 0x84, 0xb5, 0x01, 0x27, 0x10, 0xf4, 0x33, 0x28, 0x89, 0xab, 0x39, 0x31, - 0xb7, 0x14, 0xb4, 0x91, 0x40, 0xc7, 0x57, 0x73, 0x82, 0x95, 0x49, 0x66, 0xee, 0xd9, 0x53, 0xe2, - 0x85, 0x66, 0x75, 0x2d, 0xf3, 0xa1, 0x5a, 0xd6, 0x99, 0xc7, 0x18, 0xf4, 0x09, 0x6c, 0xd9, 0x3e, - 0x8b, 0x02, 0x11, 0x9a, 0x35, 0x05, 0x07, 0x09, 0xef, 0xa9, 0x25, 0xbc, 0x34, 0xa1, 0xa7, 0x50, - 0xb1, 0x1d, 0x29, 0x1e, 0x13, 0x72, 0x94, 0x51, 0x63, 0xd1, 0x53, 0xd8, 0x72, 0x69, 0x68, 0x4f, - 0x3d, 0x62, 0xd6, 0x15, 0xad, 0x7d, 0x8d, 0xb6, 0xcf, 0x98, 0xa7, 0x4f, 0x4d, 0x43, 0x51, 0x07, - 0x2a, 0x9c, 0xcc, 0x19, 0x17, 0xe6, 0xb6, 0x22, 0xa9, 0x84, 0xb0, 0x5a, 0xc1, 0xda, 0x82, 0xf6, - 0xa0, 0xec, 0x08, 0xea, 0x13, 0xb3, 0x91, 0x23, 0x9d, 0x18, 0x2a, 0x39, 0xbe, 0xe2, 0x34, 0xf3, - 0x70, 0x14, 0x34, 0x23, 0xf5, 0x9d, 0xb7, 0x91, 0x3a, 0xda, 0x87, 0x86, 0x96, 0xe1, 0x44, 0xb0, - 0xef, 0x48, 0x60, 0xb6, 0x72, 0xd0, 0xb3, 0x14, 0x64, 0x41, 0xd5, 0x76, 0xbf, 0x8d, 0x42, 0x41, - 0xb8, 0x79, 0x5f, 0xd1, 0xd1, 0xea, 0x70, 0x7a, 0xda, 0x82, 0x13, 0x0c, 0xfa, 0x3d, 0x34, 0x38, - 0x99, 0x91, 0x37, 0x13, 0x87, 0xf9, 0x53, 0x1a, 0x10, 0x13, 0x6d, 0xac, 0x7a, 0x96, 0x80, 0x9e, - 0x42, 0x3d, 0x3e, 0xf2, 0x89, 0xec, 0x0e, 0xe6, 0x03, 0xa5, 0xb2, 0x07, 0x89, 0x80, 0xe2, 0xc8, - 0x47, 0xcc, 0x25, 0x18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, - 0x6f, 0xa1, 0xca, 0x37, 0xc4, 0xb7, 0x91, 0x3b, 0x23, 0xc9, 0x1b, 0xa2, 0xb2, 0xf1, 0x0d, 0x91, - 0xc1, 0xa3, 0x17, 0xb0, 0x2d, 0x94, 0xab, 0x13, 0xc2, 0x29, 0x73, 0xd5, 0x3f, 0xdd, 0x1b, 0x72, - 0xc9, 0x10, 0x50, 0x1f, 0x9a, 0x42, 0x57, 0x4d, 0xbb, 0xa8, 0x6e, 0x76, 0xb1, 0x46, 0xd9, 0xff, - 0xab, 0x01, 0xcf, 0x1d, 0xe6, 0x5b, 0x82, 0x04, 0x72, 0x36, 0x5b, 0x73, 0xe6, 0xd9, 0x9c, 0x86, - 0x96, 0xba, 0xfb, 0xe7, 0xd4, 0x89, 0x7f, 0xd4, 0xb1, 0xe7, 0x54, 0xf6, 0x10, 0xc1, 0xed, 0xf3, - 0x73, 0xea, 0x58, 0xbe, 0x1d, 0xd8, 0x33, 0xb2, 0xdf, 0x4c, 0xde, 0x84, 0x27, 0x32, 0xd2, 0x9f, - 0x0f, 0x66, 0x54, 0x5c, 0x44, 0x53, 0xcb, 0x61, 0x7e, 0x57, 0xfb, 0xf1, 0x49, 0x78, 0xd1, 0xcd, - 0xf8, 0xea, 0xc6, 0xef, 0xf8, 0xee, 0x8c, 0x75, 0xed, 0x39, 0xed, 0x2e, 0x76, 0xbb, 0xda, 0xeb, - 0x24, 0xf6, 0x3a, 0xad, 0xa8, 0xb4, 0x3f, 0xff, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x0e, - 0x70, 0x43, 0x98, 0x12, 0x00, 0x00, +func init() { proto.RegisterFile("ratelimit.proto", fileDescriptor_ratelimit_6080e5312ed7a83a) } + +var fileDescriptor_ratelimit_6080e5312ed7a83a = []byte{ + // 1637 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xd1, 0x72, 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a, 0x92, 0x19, 0xa2, 0xbc, 0x71, 0x86, 0xc8, 0xe0, + 0xd1, 0x33, 0xd8, 0x11, 0xca, 0xd5, 0x29, 0xe1, 0x94, 0x4d, 0xd4, 0x17, 0xf8, 0x86, 0x5c, 0x32, + 0x04, 0xd4, 0x85, 0x5d, 0xa1, 0xab, 0xa6, 0x5d, 0x54, 0x36, 0xbb, 0x58, 0xa3, 0x34, 0xff, 0x69, + 0xc0, 0xce, 0x60, 0x11, 0x0a, 0xe2, 0xeb, 0xf1, 0xe2, 0x3b, 0xbe, 0x60, 0x9e, 0xc1, 0x8e, 0x3b, + 0x8b, 0x56, 0x4d, 0xf3, 0x26, 0xd1, 0x3c, 0xf7, 0x98, 0x23, 0x74, 0x15, 0xd2, 0x84, 0xce, 0x9f, + 0x0d, 0x78, 0xea, 0x32, 0xdf, 0x16, 0x24, 0x90, 0xc3, 0x85, 0x3d, 0x63, 0x9e, 0xc3, 0x69, 0x68, + 0xab, 0xe6, 0x75, 0x41, 0xdd, 0xf8, 0x2f, 0x2a, 0x67, 0x46, 0x65, 0x13, 0x14, 0xdc, 0xb9, 0xb8, + 0xa0, 0xae, 0xed, 0x3b, 0x81, 0x33, 0x25, 0x9d, 0xdd, 0x64, 0xa8, 0x3d, 0x95, 0x71, 0xfe, 0x70, + 0x38, 0xa5, 0xe2, 0x32, 0x1a, 0xdb, 0x2e, 0xf3, 0x5b, 0xda, 0x8f, 0x4f, 0xc2, 0xcb, 0x56, 0xc6, + 0x57, 0x2b, 0xfe, 0x2a, 0x69, 0x4d, 0x59, 0xcb, 0x99, 0xd1, 0xd6, 0x7c, 0xbf, 0xa5, 0xbd, 0x8e, + 0x62, 0xaf, 0xe3, 0xb2, 0x4a, 0xfa, 0xb3, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x07, 0xff, + 0x09, 0x66, 0x13, 0x00, 0x00, } From 801965a1128ee7b7fee4b78e8142343cd6380927 Mon Sep 17 00:00:00 2001 From: wtifs Date: Wed, 30 Aug 2023 16:57:24 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=20rule=20?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v1/traffic_manage/ratelimit.proto | 6 +- .../go/api/v1/traffic_manage/ratelimit.pb.go | 320 +++++++++--------- 2 files changed, 169 insertions(+), 157 deletions(-) diff --git a/api/v1/traffic_manage/ratelimit.proto b/api/v1/traffic_manage/ratelimit.proto index 09028ec9..5606cd14 100644 --- a/api/v1/traffic_manage/ratelimit.proto +++ b/api/v1/traffic_manage/ratelimit.proto @@ -96,6 +96,8 @@ message Rule { google.protobuf.StringValue etime = 25; // 最大排队时长,单位秒 google.protobuf.UInt32Value max_queue_delay = 26 [json_name = "max_queue_delay"]; + // 系统资源限流配额 + SystemResourceAmount systemResourceAmount = 27; } message MatchArgument { @@ -215,8 +217,8 @@ message ClimbConfig { ClimbThrottling throttling = 4; // 限流调整相关参数 } -// 自适应限流配额 -message SystemAmount { +// 自适应限流阈值 +message SystemResourceAmount { // 采样窗口大小 google.protobuf.Duration window = 1; // 数据统计精度,决定滑动窗口的最小周期,滑窗的步长=window/precision diff --git a/source/go/api/v1/traffic_manage/ratelimit.pb.go b/source/go/api/v1/traffic_manage/ratelimit.pb.go index 5ecaa5e7..fa8f0c3d 100644 --- a/source/go/api/v1/traffic_manage/ratelimit.pb.go +++ b/source/go/api/v1/traffic_manage/ratelimit.pb.go @@ -48,7 +48,7 @@ func (x Rule_Resource) String() string { return proto.EnumName(Rule_Resource_name, int32(x)) } func (Rule_Resource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1, 0} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1, 0} } // 限流类型 @@ -73,7 +73,7 @@ func (x Rule_Type) String() string { return proto.EnumName(Rule_Type_name, int32(x)) } func (Rule_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1, 1} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1, 1} } // 限流阈值模 @@ -97,7 +97,7 @@ func (x Rule_AmountMode) String() string { return proto.EnumName(Rule_AmountMode_name, int32(x)) } func (Rule_AmountMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1, 2} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1, 2} } // 与限流集群连接失败时降级模式 @@ -121,7 +121,7 @@ func (x Rule_FailoverType) String() string { return proto.EnumName(Rule_FailoverType_name, int32(x)) } func (Rule_FailoverType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1, 3} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1, 3} } // label type for gateway request @@ -163,7 +163,7 @@ func (x MatchArgument_Type) String() string { return proto.EnumName(MatchArgument_Type_name, int32(x)) } func (MatchArgument_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{2, 0} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{2, 0} } // 同一服务下限流规则集合 @@ -181,7 +181,7 @@ func (m *RateLimit) Reset() { *m = RateLimit{} } func (m *RateLimit) String() string { return proto.CompactTextString(m) } func (*RateLimit) ProtoMessage() {} func (*RateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{0} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{0} } func (m *RateLimit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RateLimit.Unmarshal(m, b) @@ -266,17 +266,19 @@ type Rule struct { // 限流规则启用时间 Etime *wrapperspb.StringValue `protobuf:"bytes,25,opt,name=etime,proto3" json:"etime,omitempty"` // 最大排队时长,单位秒 - MaxQueueDelay *wrapperspb.UInt32Value `protobuf:"bytes,26,opt,name=max_queue_delay,proto3" json:"max_queue_delay,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MaxQueueDelay *wrapperspb.UInt32Value `protobuf:"bytes,26,opt,name=max_queue_delay,proto3" json:"max_queue_delay,omitempty"` + // 系统资源限流配额 + SystemResourceAmount *SystemResourceAmount `protobuf:"bytes,27,opt,name=systemResourceAmount,proto3" json:"systemResourceAmount,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Rule) Reset() { *m = Rule{} } func (m *Rule) String() string { return proto.CompactTextString(m) } func (*Rule) ProtoMessage() {} func (*Rule) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{1} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1} } func (m *Rule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Rule.Unmarshal(m, b) @@ -478,6 +480,13 @@ func (m *Rule) GetMaxQueueDelay() *wrapperspb.UInt32Value { return nil } +func (m *Rule) GetSystemResourceAmount() *SystemResourceAmount { + if m != nil { + return m.SystemResourceAmount + } + return nil +} + type MatchArgument struct { Type MatchArgument_Type `protobuf:"varint,1,opt,name=type,proto3,enum=v1.MatchArgument_Type" json:"type,omitempty"` // header key or query key @@ -493,7 +502,7 @@ func (m *MatchArgument) Reset() { *m = MatchArgument{} } func (m *MatchArgument) String() string { return proto.CompactTextString(m) } func (*MatchArgument) ProtoMessage() {} func (*MatchArgument) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{2} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{2} } func (m *MatchArgument) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MatchArgument.Unmarshal(m, b) @@ -548,7 +557,7 @@ func (m *RateLimitCluster) Reset() { *m = RateLimitCluster{} } func (m *RateLimitCluster) String() string { return proto.CompactTextString(m) } func (*RateLimitCluster) ProtoMessage() {} func (*RateLimitCluster) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{3} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{3} } func (m *RateLimitCluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RateLimitCluster.Unmarshal(m, b) @@ -603,7 +612,7 @@ func (m *Amount) Reset() { *m = Amount{} } func (m *Amount) String() string { return proto.CompactTextString(m) } func (*Amount) ProtoMessage() {} func (*Amount) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{4} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{4} } func (m *Amount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Amount.Unmarshal(m, b) @@ -673,7 +682,7 @@ func (m *Report) Reset() { *m = Report{} } func (m *Report) String() string { return proto.CompactTextString(m) } func (*Report) ProtoMessage() {} func (*Report) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{5} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{5} } func (m *Report) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Report.Unmarshal(m, b) @@ -719,7 +728,7 @@ func (m *AmountAdjuster) Reset() { *m = AmountAdjuster{} } func (m *AmountAdjuster) String() string { return proto.CompactTextString(m) } func (*AmountAdjuster) ProtoMessage() {} func (*AmountAdjuster) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{6} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{6} } func (m *AmountAdjuster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AmountAdjuster.Unmarshal(m, b) @@ -761,7 +770,7 @@ func (m *ClimbConfig) Reset() { *m = ClimbConfig{} } func (m *ClimbConfig) String() string { return proto.CompactTextString(m) } func (*ClimbConfig) ProtoMessage() {} func (*ClimbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7} } func (m *ClimbConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig.Unmarshal(m, b) @@ -826,7 +835,7 @@ func (m *ClimbConfig_MetricConfig) Reset() { *m = ClimbConfig_MetricConf func (m *ClimbConfig_MetricConfig) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_MetricConfig) ProtoMessage() {} func (*ClimbConfig_MetricConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 0} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 0} } func (m *ClimbConfig_MetricConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_MetricConfig.Unmarshal(m, b) @@ -880,7 +889,7 @@ func (m *ClimbConfig_TriggerPolicy) Reset() { *m = ClimbConfig_TriggerPo func (m *ClimbConfig_TriggerPolicy) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 1} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 1} } func (m *ClimbConfig_TriggerPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy.Unmarshal(m, b) @@ -929,7 +938,7 @@ func (m *ClimbConfig_TriggerPolicy_ErrorRate) Reset() { *m = ClimbConfig func (m *ClimbConfig_TriggerPolicy_ErrorRate) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy_ErrorRate) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_ErrorRate) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 1, 0} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 1, 0} } func (m *ClimbConfig_TriggerPolicy_ErrorRate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate.Unmarshal(m, b) @@ -995,7 +1004,7 @@ func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) String() string { } func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 1, 0, 0} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 1, 0, 0} } func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.Unmarshal(m, b) @@ -1050,7 +1059,7 @@ func (m *ClimbConfig_TriggerPolicy_SlowRate) Reset() { *m = ClimbConfig_ func (m *ClimbConfig_TriggerPolicy_SlowRate) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy_SlowRate) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_SlowRate) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 1, 1} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 1, 1} } func (m *ClimbConfig_TriggerPolicy_SlowRate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate.Unmarshal(m, b) @@ -1110,7 +1119,7 @@ func (m *ClimbConfig_ClimbThrottling) Reset() { *m = ClimbConfig_ClimbTh func (m *ClimbConfig_ClimbThrottling) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_ClimbThrottling) ProtoMessage() {} func (*ClimbConfig_ClimbThrottling) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{7, 2} + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 2} } func (m *ClimbConfig_ClimbThrottling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_ClimbThrottling.Unmarshal(m, b) @@ -1186,60 +1195,60 @@ func (m *ClimbConfig_ClimbThrottling) GetTuneDownPeriod() *wrapperspb.Int32Value return nil } -// 自适应限流配额 -type SystemAmount struct { +// 自适应限流阈值 +type SystemResourceAmount struct { // 采样窗口大小 Window *durationpb.Duration `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` // 数据统计精度,决定滑动窗口的最小周期,滑窗的步长=window/precision Precision *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=precision,proto3" json:"precision,omitempty"` - // CPU阈值 - CpuThreshold *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=cpuThreshold,proto3" json:"cpuThreshold,omitempty"` + // 触发阈值 + Threshold *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=threshold,proto3" json:"threshold,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *SystemAmount) Reset() { *m = SystemAmount{} } -func (m *SystemAmount) String() string { return proto.CompactTextString(m) } -func (*SystemAmount) ProtoMessage() {} -func (*SystemAmount) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_6080e5312ed7a83a, []int{8} +func (m *SystemResourceAmount) Reset() { *m = SystemResourceAmount{} } +func (m *SystemResourceAmount) String() string { return proto.CompactTextString(m) } +func (*SystemResourceAmount) ProtoMessage() {} +func (*SystemResourceAmount) Descriptor() ([]byte, []int) { + return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{8} } -func (m *SystemAmount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemAmount.Unmarshal(m, b) +func (m *SystemResourceAmount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SystemResourceAmount.Unmarshal(m, b) } -func (m *SystemAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemAmount.Marshal(b, m, deterministic) +func (m *SystemResourceAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SystemResourceAmount.Marshal(b, m, deterministic) } -func (dst *SystemAmount) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemAmount.Merge(dst, src) +func (dst *SystemResourceAmount) XXX_Merge(src proto.Message) { + xxx_messageInfo_SystemResourceAmount.Merge(dst, src) } -func (m *SystemAmount) XXX_Size() int { - return xxx_messageInfo_SystemAmount.Size(m) +func (m *SystemResourceAmount) XXX_Size() int { + return xxx_messageInfo_SystemResourceAmount.Size(m) } -func (m *SystemAmount) XXX_DiscardUnknown() { - xxx_messageInfo_SystemAmount.DiscardUnknown(m) +func (m *SystemResourceAmount) XXX_DiscardUnknown() { + xxx_messageInfo_SystemResourceAmount.DiscardUnknown(m) } -var xxx_messageInfo_SystemAmount proto.InternalMessageInfo +var xxx_messageInfo_SystemResourceAmount proto.InternalMessageInfo -func (m *SystemAmount) GetWindow() *durationpb.Duration { +func (m *SystemResourceAmount) GetWindow() *durationpb.Duration { if m != nil { return m.Window } return nil } -func (m *SystemAmount) GetPrecision() *wrapperspb.UInt32Value { +func (m *SystemResourceAmount) GetPrecision() *wrapperspb.UInt32Value { if m != nil { return m.Precision } return nil } -func (m *SystemAmount) GetCpuThreshold() *wrapperspb.FloatValue { +func (m *SystemResourceAmount) GetThreshold() *wrapperspb.FloatValue { if m != nil { - return m.CpuThreshold + return m.Threshold } return nil } @@ -1261,7 +1270,7 @@ func init() { proto.RegisterType((*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig)(nil), "v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig") proto.RegisterType((*ClimbConfig_TriggerPolicy_SlowRate)(nil), "v1.ClimbConfig.TriggerPolicy.SlowRate") proto.RegisterType((*ClimbConfig_ClimbThrottling)(nil), "v1.ClimbConfig.ClimbThrottling") - proto.RegisterType((*SystemAmount)(nil), "v1.SystemAmount") + proto.RegisterType((*SystemResourceAmount)(nil), "v1.SystemResourceAmount") proto.RegisterEnum("v1.Rule_Resource", Rule_Resource_name, Rule_Resource_value) proto.RegisterEnum("v1.Rule_Type", Rule_Type_name, Rule_Type_value) proto.RegisterEnum("v1.Rule_AmountMode", Rule_AmountMode_name, Rule_AmountMode_value) @@ -1269,111 +1278,112 @@ func init() { proto.RegisterEnum("v1.MatchArgument_Type", MatchArgument_Type_name, MatchArgument_Type_value) } -func init() { proto.RegisterFile("ratelimit.proto", fileDescriptor_ratelimit_6080e5312ed7a83a) } - -var fileDescriptor_ratelimit_6080e5312ed7a83a = []byte{ - // 1637 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xd1, 0x72, 0x1b, 0x49, - 0x15, 0xcd, 0x48, 0xb2, 0x2c, 0x5d, 0x59, 0xf6, 0xa4, 0xb3, 0x09, 0xb3, 0x82, 0x5d, 0x82, 0x0a, - 0xd8, 0x14, 0xb5, 0x8c, 0xb0, 0x37, 0xd9, 0x2c, 0x4b, 0x15, 0x41, 0x92, 0x15, 0x62, 0x4a, 0x5e, - 0xdb, 0x2d, 0x39, 0x45, 0x78, 0x51, 0x8d, 0x46, 0x6d, 0xb9, 0x77, 0x67, 0xa6, 0xb5, 0x3d, 0x3d, - 0x72, 0xf4, 0x4c, 0x15, 0xaf, 0x3c, 0xf0, 0x11, 0xf0, 0x0b, 0x3c, 0x40, 0xf1, 0x05, 0x14, 0x7f, - 0xc0, 0x37, 0xf0, 0x07, 0x54, 0xf7, 0xb4, 0x46, 0x33, 0x72, 0x6c, 0x4d, 0x92, 0xaa, 0x7d, 0x1b, - 0xf5, 0x3d, 0xe7, 0xde, 0xdb, 0xb7, 0xcf, 0xdc, 0xbe, 0x23, 0xd8, 0xe3, 0x8e, 0x20, 0x1e, 0xf5, - 0xa9, 0xb0, 0x67, 0x9c, 0x09, 0x86, 0x0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0xed, 0x3b, 0x81, 0x33, 0x25, 0x9d, 0xdd, 0x64, 0xa8, 0x3d, 0x95, 0x71, 0xfe, 0x70, - 0x38, 0xa5, 0xe2, 0x32, 0x1a, 0xdb, 0x2e, 0xf3, 0x5b, 0xda, 0x8f, 0x4f, 0xc2, 0xcb, 0x56, 0xc6, - 0x57, 0x2b, 0xfe, 0x2a, 0x69, 0x4d, 0x59, 0xcb, 0x99, 0xd1, 0xd6, 0x7c, 0xbf, 0xa5, 0xbd, 0x8e, - 0x62, 0xaf, 0xe3, 0xb2, 0x4a, 0xfa, 0xb3, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x07, 0xff, - 0x09, 0x66, 0x13, 0x00, 0x00, +func init() { proto.RegisterFile("ratelimit.proto", fileDescriptor_ratelimit_fefd9d07bd36fe0f) } + +var fileDescriptor_ratelimit_fefd9d07bd36fe0f = []byte{ + // 1654 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdd, 0x72, 0xdb, 0xc6, + 0x15, 0x36, 0x48, 0x8a, 0x22, 0x0f, 0x45, 0x09, 0x5e, 0xff, 0x14, 0x61, 0x9a, 0xd4, 0xe5, 0xb4, + 0x8d, 0xa7, 0x93, 0x82, 0x95, 0x62, 0xc7, 0x49, 0x3a, 0x53, 0x97, 0xa4, 0xe8, 0x5a, 0x1d, 0x2a, + 0x92, 0x96, 0x94, 0xa7, 0xee, 0x0d, 0x07, 0x04, 0x57, 0xd4, 0x26, 0x00, 0x96, 0x59, 0x2c, 0x28, + 0xeb, 0xba, 0x33, 0xbd, 0xed, 0x63, 0xb4, 0xaf, 0xd0, 0x8b, 0xce, 0xe4, 0x09, 0x3a, 0x7d, 0x83, + 0x4e, 0x1f, 0xa1, 0x6f, 0xd0, 0xd9, 0xc5, 0x12, 0x04, 0xa8, 0x1f, 0xc2, 0xf6, 0x4c, 0xee, 0xa0, + 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b9, 0xcc, 0xb7, 0x05, 0x09, 0xe4, 0xf3, 0xc2, 0x9e, 0x31, 0xcf, 0xe1, 0x34, + 0xb4, 0x55, 0xfb, 0x3a, 0xa3, 0x6e, 0xfc, 0x2f, 0x2f, 0x67, 0x46, 0x65, 0x1b, 0x14, 0xdc, 0x39, + 0x3b, 0xa3, 0xae, 0xed, 0x3b, 0x81, 0x33, 0x25, 0x9d, 0xed, 0xe4, 0x59, 0x7b, 0x2c, 0x37, 0xf9, + 0xd3, 0xfe, 0x94, 0x8a, 0xf3, 0x68, 0x6c, 0xbb, 0xcc, 0x6f, 0x69, 0x3f, 0x3e, 0x09, 0xcf, 0x5b, + 0x19, 0x5f, 0xad, 0x38, 0x51, 0xad, 0x29, 0x6b, 0x39, 0x33, 0xda, 0x9a, 0xef, 0xb6, 0xb4, 0xd7, + 0x51, 0xec, 0x75, 0x5c, 0x56, 0x11, 0x7f, 0xf6, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x72, 0xff, + 0x98, 0x36, 0xb6, 0x13, 0x00, 0x00, } From 64d2e8b0030371a6dfc214b12438d6c9472b438f Mon Sep 17 00:00:00 2001 From: wtifs Date: Thu, 31 Aug 2023 10:48:49 +0800 Subject: [PATCH 3/3] remove system amount --- api/v1/traffic_manage/ratelimit.proto | 14 +- .../go/api/v1/traffic_manage/ratelimit.pb.go | 332 +++++++----------- 2 files changed, 131 insertions(+), 215 deletions(-) diff --git a/api/v1/traffic_manage/ratelimit.proto b/api/v1/traffic_manage/ratelimit.proto index 5606cd14..b1fe16da 100644 --- a/api/v1/traffic_manage/ratelimit.proto +++ b/api/v1/traffic_manage/ratelimit.proto @@ -37,7 +37,7 @@ message Rule { // 针对并发数进行限流 CONCURRENCY = 1; // 针对CPU使用率进行限流 - CPU_BBR = 2; + CPU = 2; } Resource resource = 6; // 限流类型 @@ -96,8 +96,6 @@ message Rule { google.protobuf.StringValue etime = 25; // 最大排队时长,单位秒 google.protobuf.UInt32Value max_queue_delay = 26 [json_name = "max_queue_delay"]; - // 系统资源限流配额 - SystemResourceAmount systemResourceAmount = 27; } message MatchArgument { @@ -215,14 +213,4 @@ message ClimbConfig { } ClimbThrottling throttling = 4; // 限流调整相关参数 -} - -// 自适应限流阈值 -message SystemResourceAmount { - // 采样窗口大小 - google.protobuf.Duration window = 1; - // 数据统计精度,决定滑动窗口的最小周期,滑窗的步长=window/precision - google.protobuf.UInt32Value precision = 2; - // 触发阈值 - google.protobuf.FloatValue threshold = 3; } \ No newline at end of file diff --git a/source/go/api/v1/traffic_manage/ratelimit.pb.go b/source/go/api/v1/traffic_manage/ratelimit.pb.go index fa8f0c3d..b75d10a8 100644 --- a/source/go/api/v1/traffic_manage/ratelimit.pb.go +++ b/source/go/api/v1/traffic_manage/ratelimit.pb.go @@ -30,25 +30,25 @@ const ( // 针对并发数进行限流 Rule_CONCURRENCY Rule_Resource = 1 // 针对CPU使用率进行限流 - Rule_CPU_BBR Rule_Resource = 2 + Rule_CPU Rule_Resource = 2 ) var Rule_Resource_name = map[int32]string{ 0: "QPS", 1: "CONCURRENCY", - 2: "CPU_BBR", + 2: "CPU", } var Rule_Resource_value = map[string]int32{ "QPS": 0, "CONCURRENCY": 1, - "CPU_BBR": 2, + "CPU": 2, } func (x Rule_Resource) String() string { return proto.EnumName(Rule_Resource_name, int32(x)) } func (Rule_Resource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1, 0} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{1, 0} } // 限流类型 @@ -73,7 +73,7 @@ func (x Rule_Type) String() string { return proto.EnumName(Rule_Type_name, int32(x)) } func (Rule_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1, 1} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{1, 1} } // 限流阈值模 @@ -97,7 +97,7 @@ func (x Rule_AmountMode) String() string { return proto.EnumName(Rule_AmountMode_name, int32(x)) } func (Rule_AmountMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1, 2} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{1, 2} } // 与限流集群连接失败时降级模式 @@ -121,7 +121,7 @@ func (x Rule_FailoverType) String() string { return proto.EnumName(Rule_FailoverType_name, int32(x)) } func (Rule_FailoverType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1, 3} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{1, 3} } // label type for gateway request @@ -163,7 +163,7 @@ func (x MatchArgument_Type) String() string { return proto.EnumName(MatchArgument_Type_name, int32(x)) } func (MatchArgument_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{2, 0} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{2, 0} } // 同一服务下限流规则集合 @@ -181,7 +181,7 @@ func (m *RateLimit) Reset() { *m = RateLimit{} } func (m *RateLimit) String() string { return proto.CompactTextString(m) } func (*RateLimit) ProtoMessage() {} func (*RateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{0} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{0} } func (m *RateLimit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RateLimit.Unmarshal(m, b) @@ -266,19 +266,17 @@ type Rule struct { // 限流规则启用时间 Etime *wrapperspb.StringValue `protobuf:"bytes,25,opt,name=etime,proto3" json:"etime,omitempty"` // 最大排队时长,单位秒 - MaxQueueDelay *wrapperspb.UInt32Value `protobuf:"bytes,26,opt,name=max_queue_delay,proto3" json:"max_queue_delay,omitempty"` - // 系统资源限流配额 - SystemResourceAmount *SystemResourceAmount `protobuf:"bytes,27,opt,name=systemResourceAmount,proto3" json:"systemResourceAmount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MaxQueueDelay *wrapperspb.UInt32Value `protobuf:"bytes,26,opt,name=max_queue_delay,proto3" json:"max_queue_delay,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Rule) Reset() { *m = Rule{} } func (m *Rule) String() string { return proto.CompactTextString(m) } func (*Rule) ProtoMessage() {} func (*Rule) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{1} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{1} } func (m *Rule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Rule.Unmarshal(m, b) @@ -480,13 +478,6 @@ func (m *Rule) GetMaxQueueDelay() *wrapperspb.UInt32Value { return nil } -func (m *Rule) GetSystemResourceAmount() *SystemResourceAmount { - if m != nil { - return m.SystemResourceAmount - } - return nil -} - type MatchArgument struct { Type MatchArgument_Type `protobuf:"varint,1,opt,name=type,proto3,enum=v1.MatchArgument_Type" json:"type,omitempty"` // header key or query key @@ -502,7 +493,7 @@ func (m *MatchArgument) Reset() { *m = MatchArgument{} } func (m *MatchArgument) String() string { return proto.CompactTextString(m) } func (*MatchArgument) ProtoMessage() {} func (*MatchArgument) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{2} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{2} } func (m *MatchArgument) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MatchArgument.Unmarshal(m, b) @@ -557,7 +548,7 @@ func (m *RateLimitCluster) Reset() { *m = RateLimitCluster{} } func (m *RateLimitCluster) String() string { return proto.CompactTextString(m) } func (*RateLimitCluster) ProtoMessage() {} func (*RateLimitCluster) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{3} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{3} } func (m *RateLimitCluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RateLimitCluster.Unmarshal(m, b) @@ -612,7 +603,7 @@ func (m *Amount) Reset() { *m = Amount{} } func (m *Amount) String() string { return proto.CompactTextString(m) } func (*Amount) ProtoMessage() {} func (*Amount) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{4} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{4} } func (m *Amount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Amount.Unmarshal(m, b) @@ -682,7 +673,7 @@ func (m *Report) Reset() { *m = Report{} } func (m *Report) String() string { return proto.CompactTextString(m) } func (*Report) ProtoMessage() {} func (*Report) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{5} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{5} } func (m *Report) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Report.Unmarshal(m, b) @@ -728,7 +719,7 @@ func (m *AmountAdjuster) Reset() { *m = AmountAdjuster{} } func (m *AmountAdjuster) String() string { return proto.CompactTextString(m) } func (*AmountAdjuster) ProtoMessage() {} func (*AmountAdjuster) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{6} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{6} } func (m *AmountAdjuster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AmountAdjuster.Unmarshal(m, b) @@ -770,7 +761,7 @@ func (m *ClimbConfig) Reset() { *m = ClimbConfig{} } func (m *ClimbConfig) String() string { return proto.CompactTextString(m) } func (*ClimbConfig) ProtoMessage() {} func (*ClimbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{7} } func (m *ClimbConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig.Unmarshal(m, b) @@ -835,7 +826,7 @@ func (m *ClimbConfig_MetricConfig) Reset() { *m = ClimbConfig_MetricConf func (m *ClimbConfig_MetricConfig) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_MetricConfig) ProtoMessage() {} func (*ClimbConfig_MetricConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 0} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{7, 0} } func (m *ClimbConfig_MetricConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_MetricConfig.Unmarshal(m, b) @@ -889,7 +880,7 @@ func (m *ClimbConfig_TriggerPolicy) Reset() { *m = ClimbConfig_TriggerPo func (m *ClimbConfig_TriggerPolicy) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 1} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{7, 1} } func (m *ClimbConfig_TriggerPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy.Unmarshal(m, b) @@ -938,7 +929,7 @@ func (m *ClimbConfig_TriggerPolicy_ErrorRate) Reset() { *m = ClimbConfig func (m *ClimbConfig_TriggerPolicy_ErrorRate) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy_ErrorRate) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_ErrorRate) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 1, 0} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{7, 1, 0} } func (m *ClimbConfig_TriggerPolicy_ErrorRate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate.Unmarshal(m, b) @@ -1004,7 +995,7 @@ func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) String() string { } func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 1, 0, 0} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{7, 1, 0, 0} } func (m *ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig.Unmarshal(m, b) @@ -1059,7 +1050,7 @@ func (m *ClimbConfig_TriggerPolicy_SlowRate) Reset() { *m = ClimbConfig_ func (m *ClimbConfig_TriggerPolicy_SlowRate) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_TriggerPolicy_SlowRate) ProtoMessage() {} func (*ClimbConfig_TriggerPolicy_SlowRate) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 1, 1} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{7, 1, 1} } func (m *ClimbConfig_TriggerPolicy_SlowRate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_TriggerPolicy_SlowRate.Unmarshal(m, b) @@ -1119,7 +1110,7 @@ func (m *ClimbConfig_ClimbThrottling) Reset() { *m = ClimbConfig_ClimbTh func (m *ClimbConfig_ClimbThrottling) String() string { return proto.CompactTextString(m) } func (*ClimbConfig_ClimbThrottling) ProtoMessage() {} func (*ClimbConfig_ClimbThrottling) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{7, 2} + return fileDescriptor_ratelimit_877afde254f0cad2, []int{7, 2} } func (m *ClimbConfig_ClimbThrottling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClimbConfig_ClimbThrottling.Unmarshal(m, b) @@ -1195,64 +1186,6 @@ func (m *ClimbConfig_ClimbThrottling) GetTuneDownPeriod() *wrapperspb.Int32Value return nil } -// 自适应限流阈值 -type SystemResourceAmount struct { - // 采样窗口大小 - Window *durationpb.Duration `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` - // 数据统计精度,决定滑动窗口的最小周期,滑窗的步长=window/precision - Precision *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=precision,proto3" json:"precision,omitempty"` - // 触发阈值 - Threshold *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=threshold,proto3" json:"threshold,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SystemResourceAmount) Reset() { *m = SystemResourceAmount{} } -func (m *SystemResourceAmount) String() string { return proto.CompactTextString(m) } -func (*SystemResourceAmount) ProtoMessage() {} -func (*SystemResourceAmount) Descriptor() ([]byte, []int) { - return fileDescriptor_ratelimit_fefd9d07bd36fe0f, []int{8} -} -func (m *SystemResourceAmount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemResourceAmount.Unmarshal(m, b) -} -func (m *SystemResourceAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemResourceAmount.Marshal(b, m, deterministic) -} -func (dst *SystemResourceAmount) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemResourceAmount.Merge(dst, src) -} -func (m *SystemResourceAmount) XXX_Size() int { - return xxx_messageInfo_SystemResourceAmount.Size(m) -} -func (m *SystemResourceAmount) XXX_DiscardUnknown() { - xxx_messageInfo_SystemResourceAmount.DiscardUnknown(m) -} - -var xxx_messageInfo_SystemResourceAmount proto.InternalMessageInfo - -func (m *SystemResourceAmount) GetWindow() *durationpb.Duration { - if m != nil { - return m.Window - } - return nil -} - -func (m *SystemResourceAmount) GetPrecision() *wrapperspb.UInt32Value { - if m != nil { - return m.Precision - } - return nil -} - -func (m *SystemResourceAmount) GetThreshold() *wrapperspb.FloatValue { - if m != nil { - return m.Threshold - } - return nil -} - func init() { proto.RegisterType((*RateLimit)(nil), "v1.RateLimit") proto.RegisterType((*Rule)(nil), "v1.Rule") @@ -1270,7 +1203,6 @@ func init() { proto.RegisterType((*ClimbConfig_TriggerPolicy_ErrorRate_SpecialConfig)(nil), "v1.ClimbConfig.TriggerPolicy.ErrorRate.SpecialConfig") proto.RegisterType((*ClimbConfig_TriggerPolicy_SlowRate)(nil), "v1.ClimbConfig.TriggerPolicy.SlowRate") proto.RegisterType((*ClimbConfig_ClimbThrottling)(nil), "v1.ClimbConfig.ClimbThrottling") - proto.RegisterType((*SystemResourceAmount)(nil), "v1.SystemResourceAmount") proto.RegisterEnum("v1.Rule_Resource", Rule_Resource_name, Rule_Resource_value) proto.RegisterEnum("v1.Rule_Type", Rule_Type_name, Rule_Type_value) proto.RegisterEnum("v1.Rule_AmountMode", Rule_AmountMode_name, Rule_AmountMode_value) @@ -1278,112 +1210,108 @@ func init() { proto.RegisterEnum("v1.MatchArgument_Type", MatchArgument_Type_name, MatchArgument_Type_value) } -func init() { proto.RegisterFile("ratelimit.proto", fileDescriptor_ratelimit_fefd9d07bd36fe0f) } - -var fileDescriptor_ratelimit_fefd9d07bd36fe0f = []byte{ - // 1654 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdd, 0x72, 0xdb, 0xc6, - 0x15, 0x36, 0x48, 0x8a, 0x22, 0x0f, 0x45, 0x09, 0x5e, 0xff, 0x14, 0x61, 0x9a, 0xd4, 0xe5, 0xb4, - 0x8d, 0xa7, 0x93, 0x82, 0x95, 0x62, 0xc7, 0x49, 0x3a, 0x53, 0x97, 0xa4, 0xe8, 0x5a, 0x1d, 0x2a, - 0x92, 0x96, 0x94, 0xa7, 0xee, 0x0d, 0x07, 0x04, 0x57, 0xd4, 0x26, 0x00, 0x96, 0x59, 0x2c, 0x28, - 0xeb, 0xba, 0x33, 0xbd, 0xed, 0x63, 0xb4, 0xaf, 0xd0, 0x8b, 0xce, 0xe4, 0x09, 0x3a, 0x7d, 0x83, - 0x4e, 0x1f, 0xa1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37, 0x29, 0xe7, 0x85, 0xc7, 0x1c, 0xa1, 0xa9, 0x09, 0xba, 0xf3, - 0x57, 0x03, 0x9e, 0xb9, 0xcc, 0xb7, 0x05, 0x09, 0xe4, 0xf3, 0xc2, 0x9e, 0x31, 0xcf, 0xe1, 0x34, - 0xb4, 0x55, 0xfb, 0x3a, 0xa3, 0x6e, 0xfc, 0x2f, 0x2f, 0x67, 0x46, 0x65, 0x1b, 0x14, 0xdc, 0x39, - 0x3b, 0xa3, 0xae, 0xed, 0x3b, 0x81, 0x33, 0x25, 0x9d, 0xed, 0xe4, 0x59, 0x7b, 0x2c, 0x37, 0xf9, - 0xd3, 0xfe, 0x94, 0x8a, 0xf3, 0x68, 0x6c, 0xbb, 0xcc, 0x6f, 0x69, 0x3f, 0x3e, 0x09, 0xcf, 0x5b, - 0x19, 0x5f, 0xad, 0x38, 0x51, 0xad, 0x29, 0x6b, 0x39, 0x33, 0xda, 0x9a, 0xef, 0xb6, 0xb4, 0xd7, - 0x51, 0xec, 0x75, 0x5c, 0x56, 0x11, 0x7f, 0xf6, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x72, 0xff, - 0x98, 0x36, 0xb6, 0x13, 0x00, 0x00, +func init() { proto.RegisterFile("ratelimit.proto", fileDescriptor_ratelimit_877afde254f0cad2) } + +var fileDescriptor_ratelimit_877afde254f0cad2 = []byte{ + // 1598 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x72, 0xdb, 0xc6, + 0x15, 0x36, 0x48, 0x8a, 0x22, 0x0f, 0x45, 0x09, 0x5e, 0xc7, 0x2e, 0xc2, 0x36, 0xa9, 0xcb, 0x69, + 0x1b, 0x4f, 0x27, 0x01, 0x2b, 0xc5, 0x8e, 0xd3, 0x74, 0xa6, 0x2e, 0x45, 0xd1, 0xb5, 0x3a, 0x54, + 0x24, 0x2d, 0x29, 0x4f, 0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