Skip to content

Commit

Permalink
feat: add monitor_window to ModelDeploymentMonitoringScheduleConfig p…
Browse files Browse the repository at this point in the history
…roto in aiplatform v1/v1beta1 model_deployment_monitoring_job.proto

PiperOrigin-RevId: 453226330
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 6, 2022
1 parent 2fb7507 commit 239db5e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto
Expand Up @@ -266,6 +266,16 @@ message ModelDeploymentMonitoringScheduleConfig {
// Required. The model monitoring job scheduling interval. It will be rounded up to next
// full hour. This defines how often the monitoring jobs are triggered.
google.protobuf.Duration monitor_interval = 1 [(google.api.field_behavior) = REQUIRED];

// The time window of the prediction data being included in each prediction
// dataset. This window specifies how long the data should be collected from
// historical model results for each run. If not set,
// [ModelDeploymentMonitoringScheduleConfig.monitor_interval][google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig.monitor_interval] will be used.
// e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the
// monitor_window is set to be 3600, then data from 2022-01-08 13:30:00
// to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the
// monitoring statistics.
google.protobuf.Duration monitor_window = 2;
}

// Statistics and anomalies generated by Model Monitoring.
Expand Down
Expand Up @@ -266,6 +266,16 @@ message ModelDeploymentMonitoringScheduleConfig {
// Required. The model monitoring job scheduling interval. It will be rounded up to next
// full hour. This defines how often the monitoring jobs are triggered.
google.protobuf.Duration monitor_interval = 1 [(google.api.field_behavior) = REQUIRED];

// The time window of the prediction data being included in each prediction
// dataset. This window specifies how long the data should be collected from
// historical model results for each run. If not set,
// [ModelDeploymentMonitoringScheduleConfig.monitor_interval][google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig.monitor_interval] will be used.
// e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the
// monitor_window is set to be 3600, then data from 2022-01-08 13:30:00
// to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the
// monitoring statistics.
google.protobuf.Duration monitor_window = 2;
}

// Statistics and anomalies generated by Model Monitoring.
Expand Down

0 comments on commit 239db5e

Please sign in to comment.