Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adaptive lookback seconds for monovertex #2299

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
170 changes: 123 additions & 47 deletions pkg/apis/proto/mvtxdaemon/mvtxdaemon.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 69 additions & 0 deletions pkg/apis/proto/mvtxdaemon/mvtxdaemon.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions pkg/apis/proto/mvtxdaemon/mvtxdaemon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ message GetMonoVertexStatusResponse {
MonoVertexStatus status = 1;
}

message GetMonoVertexLookbackResponse {
google.protobuf.DoubleValue lookback = 1;
}

// MonoVertexDaemonService is a grpc service that is used to provide APIs for giving any MonoVertex information.
service MonoVertexDaemonService {

Expand All @@ -59,4 +63,8 @@ service MonoVertexDaemonService {
option (google.api.http).get = "/api/v1/status";
};

rpc GetMonoVertexLookback (google.protobuf.Empty) returns (GetMonoVertexLookbackResponse) {
option (google.api.http).get = "/api/v1/lookback";
};

}
Loading
Loading