Files
foxhunt/proto/health.proto
jgrusewski ed1ab8ed88 feat: create consolidated proto/ directory at workspace root
Merge monitoring_service training metrics into trading_service system health
monitoring.proto. All 11 proto files now in one canonical location.

Merged monitoring.proto has 13 RPCs (10 system + 3 training) with all
message types from both source protos preserved. Added cpu_percent,
memory_used_mb, memory_total_mb fields to GetLiveTrainingMetricsResponse.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:15:11 +01:00

32 lines
724 B
Protocol Buffer

syntax = "proto3";
package grpc.health.v1;
// Health check service definition
service Health {
// Check the health status of the service
rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
// Watch for health status changes
rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse);
}
// Health check request
message HealthCheckRequest {
// Service name to check (empty for overall service health)
string service = 1;
}
// Health check response
message HealthCheckResponse {
// Health status
ServingStatus status = 1;
}
// Serving status enum
enum ServingStatus {
UNKNOWN = 0;
SERVING = 1;
NOT_SERVING = 2;
SERVICE_UNKNOWN = 3; // Used when the requested service is unknown
}