Skip to content

Commit

Permalink
feat: Add RayMetricSpec to persistent resource
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609073560
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 21, 2024
1 parent 64497b3 commit 5d1dd8e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions google/cloud/aiplatform/v1beta1/persistent_resource.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ message RaySpec {
// set.
string head_node_resource_pool_id = 7
[(google.api.field_behavior) = OPTIONAL];

// Optional. Ray metrics configurations.
RayMetricSpec ray_metric_spec = 8 [(google.api.field_behavior) = OPTIONAL];
}

// Persistent Cluster runtime information as output
Expand Down Expand Up @@ -274,3 +277,9 @@ message ServiceAccountSpec {
// Required if any containers are specified in `ResourceRuntimeSpec`.
string service_account = 2 [(google.api.field_behavior) = OPTIONAL];
}

// Configuration for the Ray metrics.
message RayMetricSpec {
// Optional. Flag to disable the Ray metrics collection.
bool disabled = 1 [(google.api.field_behavior) = OPTIONAL];
}

0 comments on commit 5d1dd8e

Please sign in to comment.