Skip to content

Commit 7bb6d50

Browse files
author
Braden Olsen
committed
Adds event stream statistics to job results
Adds event stream statistics to the SubmitJobResultsRequest to provide more insight into the state and performance of event streams. The new EventStreamStats message includes stream name, status, maximum jobs, running jobs, completed jobs, and queued jobs.
1 parent ebb0e11 commit 7bb6d50

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tcnapi/exile/gate/v2/public.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ message SubmitJobResultsRequest {
632632
SystemProperties system_properties = 10; // System properties
633633
repeated HikariPoolMetrics hikari_pool_metrics = 11; // Hikari pool metrics
634634
ConfigDetails config_details = 12; // Config details
635+
EventStreamStats event_stream_stats = 13; // Event stream statistics
635636
message OperatingSystem {
636637
string name = 1; // OS name (e.g., "Linux", "Windows")
637638
string version = 2; // OS version
@@ -826,6 +827,14 @@ message SubmitJobResultsRequest {
826827
string certificate_name = 2; // Certificate name from the config file
827828
string certificate_description = 3; // Certificate description from the config file
828829
}
830+
message EventStreamStats {
831+
string stream_name = 1; // Name of the event stream
832+
string status = 2; // Status of the event stream (e.g., "running", "stopped")
833+
int32 max_jobs = 3; // Maximum number of jobs that can be processed simultaneously
834+
int32 running_jobs = 4; // Number of currently running jobs
835+
int64 completed_jobs = 5; // Total number of completed jobs
836+
int32 queued_jobs = 6; // Number of jobs currently queued
837+
}
829838
}
830839

831840
/**

0 commit comments

Comments
 (0)