完善阈值细节

This commit is contained in:
刘祥超
2021-05-05 19:51:46 +08:00
parent 1e9e9bff5e
commit 6b2324d386
5 changed files with 274 additions and 182 deletions

View File

@@ -3,10 +3,12 @@ option go_package = "./pb";
package pb;
import "models/model_node.proto";
message NodeThreshold {
int64 id = 1;
int64 clusterId = 2;
int64 nodeId = 3;
Node node = 3;
string item = 4;
string param = 5;
string operator = 6;
@@ -16,4 +18,5 @@ message NodeThreshold {
string durationUnit = 10;
string sumMethod = 11;
bool isOn = 12;
int32 notifyDuration = 13;
}