Skip to content

Commit 239db5e

Browse files
Google APIscopybara-github
authored andcommitted
feat: add monitor_window to ModelDeploymentMonitoringScheduleConfig proto in aiplatform v1/v1beta1 model_deployment_monitoring_job.proto
PiperOrigin-RevId: 453226330
1 parent 2fb7507 commit 239db5e

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,16 @@ message ModelDeploymentMonitoringScheduleConfig {
266266
// Required. The model monitoring job scheduling interval. It will be rounded up to next
267267
// full hour. This defines how often the monitoring jobs are triggered.
268268
google.protobuf.Duration monitor_interval = 1 [(google.api.field_behavior) = REQUIRED];
269+
270+
// The time window of the prediction data being included in each prediction
271+
// dataset. This window specifies how long the data should be collected from
272+
// historical model results for each run. If not set,
273+
// [ModelDeploymentMonitoringScheduleConfig.monitor_interval][google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig.monitor_interval] will be used.
274+
// e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the
275+
// monitor_window is set to be 3600, then data from 2022-01-08 13:30:00
276+
// to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the
277+
// monitoring statistics.
278+
google.protobuf.Duration monitor_window = 2;
269279
}
270280

271281
// Statistics and anomalies generated by Model Monitoring.

google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,16 @@ message ModelDeploymentMonitoringScheduleConfig {
266266
// Required. The model monitoring job scheduling interval. It will be rounded up to next
267267
// full hour. This defines how often the monitoring jobs are triggered.
268268
google.protobuf.Duration monitor_interval = 1 [(google.api.field_behavior) = REQUIRED];
269+
270+
// The time window of the prediction data being included in each prediction
271+
// dataset. This window specifies how long the data should be collected from
272+
// historical model results for each run. If not set,
273+
// [ModelDeploymentMonitoringScheduleConfig.monitor_interval][google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig.monitor_interval] will be used.
274+
// e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the
275+
// monitor_window is set to be 3600, then data from 2022-01-08 13:30:00
276+
// to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the
277+
// monitoring statistics.
278+
google.protobuf.Duration monitor_window = 2;
269279
}
270280

271281
// Statistics and anomalies generated by Model Monitoring.

0 commit comments

Comments
 (0)