18.7. Clara Stop RPC

Requests utilization data for all Clara Platform managed GPUs.

rpc Utilization(ClaraUtilizationRequest) returns (stream ClaraUtilizationResponse);


18.8. ClaraUtilizationRequest

message ClaraUtilizationRequest {
  RequestHeader header = 1;
  bool watch = 2;
}

18.8.1. Properties

18.8.1.2. watch

type: bool

Determines if requested GPU utilization data is for a snapshot or streamed.

  • When true, GPU utilization metrics will be continuously streamed to the caller, until the caller terminates the connection.

  • When false, only a single snapshot of current GPU utilization will be provided.


18.9. ClaraUtilizationResponse

message ClaraUtilizationResponse {
  ResponseHeader header = 1;
  repeated GpuUtilization gpu_metrics = 2;
}

Clara Deploy SDK Pipelines service will respond to any utilization request with a ClaraUtilizationResponse message. Requestors can use the response message to determine the result of their request.

18.9.1. Properties

18.9.1.1. header

type: message

Standard RPC response header.

See ResponseHeader for details.

18.9.1.2. gpu_metrics

type: list

Utilization data for all Clara Platform managed GPUs.

See GpuUtilization for details.