summaryrefslogtreecommitdiff
path: root/proto/jobs/v1beta/jobs.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/jobs/v1beta/jobs.proto')
-rw-r--r--proto/jobs/v1beta/jobs.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/proto/jobs/v1beta/jobs.proto b/proto/jobs/v1beta/jobs.proto
index 68d2ed97..c030c0df 100644
--- a/proto/jobs/v1beta/jobs.proto
+++ b/proto/jobs/v1beta/jobs.proto
@@ -43,3 +43,18 @@ message Options {
message HeaderValue {
repeated string value = 1;
}
+
+message Stats {
+ repeated Stat Stats = 1;
+}
+
+// Stat used as a response for the Stats RPC call
+message Stat {
+ string pipeline = 1;
+ string driver = 2;
+ string queue = 3;
+ int64 active = 4;
+ int64 delayed = 5;
+ int64 reserved = 6;
+ bool ready = 7;
+}