Skip to content

Commit f26b1c8

Browse files
Google APIscopybara-github
authored andcommitted
feat: Online Prediction DeployModel API to support custom metrics based autoscaling
PiperOrigin-RevId: 790876508
1 parent 9452da5 commit f26b1c8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

google/cloud/aiplatform/v1beta1/machine_resources.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,12 @@ message AutoscalingMetricSpec {
276276
// percentage, the machine replicas change. The default value is 60
277277
// (representing 60%) if not provided.
278278
int32 target = 2;
279+
280+
// Optional. The Cloud Monitoring monitored resource labels used for metrics
281+
// filtering. See Cloud Monitoring Labels
282+
// https://cloud.google.com/monitoring/api/v3/metric-model#generic-label-info
283+
map<string, string> monitored_resource_labels = 3
284+
[(google.api.field_behavior) = OPTIONAL];
279285
}
280286

281287
// A set of Shielded Instance options.

0 commit comments

Comments
 (0)