diff --git a/GrpcPython/OutlierDetection/outliers.proto b/GrpcPython/OutlierDetection/outliers.proto new file mode 100644 index 0000000..3f9bf57 --- /dev/null +++ b/GrpcPython/OutlierDetection/outliers.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + import "google/protobuf/timestamp.proto"; + package pb; + + option go_package = "github.com/mskKandula/python-go/grpc/pb"; + + message Metric { + google.protobuf.Timestamp time = 1; + string name = 2; + double value = 3; + } + + message OutliersRequest { + repeated Metric metrics = 1; + } + + message OutliersResponse { + repeated int32 indices = 1; + } + + service Outliers { + rpc Detect(OutliersRequest) returns (OutliersResponse) {} + } \ No newline at end of file