Skip to content

Commit 5d1dd8e

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add RayMetricSpec to persistent resource
PiperOrigin-RevId: 609073560
1 parent 64497b3 commit 5d1dd8e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/persistent_resource.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ message RaySpec {
237237
// set.
238238
string head_node_resource_pool_id = 7
239239
[(google.api.field_behavior) = OPTIONAL];
240+
241+
// Optional. Ray metrics configurations.
242+
RayMetricSpec ray_metric_spec = 8 [(google.api.field_behavior) = OPTIONAL];
240243
}
241244

242245
// Persistent Cluster runtime information as output
@@ -274,3 +277,9 @@ message ServiceAccountSpec {
274277
// Required if any containers are specified in `ResourceRuntimeSpec`.
275278
string service_account = 2 [(google.api.field_behavior) = OPTIONAL];
276279
}
280+
281+
// Configuration for the Ray metrics.
282+
message RayMetricSpec {
283+
// Optional. Flag to disable the Ray metrics collection.
284+
bool disabled = 1 [(google.api.field_behavior) = OPTIONAL];
285+
}

0 commit comments

Comments
 (0)