{"id":"82092d65-84be-40c6-8369-d9c8a4ea4200","task":"Detect drift with SageMaker Model Monitor","domain":"amazonaws.com","steps":["Enable data capture on the inference endpoint by adding a DataCaptureConfig to the endpoint configuration, specifying a destination S3 URI and a capture percentage","Create a baseline from a representative dataset using a DefaultModelMonitor.suggest_baseline() job, which generates constraint and statistics JSON files in S3","Create a monitoring schedule: monitor.create_monitoring_schedule(monitor_schedule_name='my-schedule', endpoint_input=endpoint_name, output_s3_uri='s3://your-bucket/monitor-output', statistics=baseline_stats_uri, constraints=baseline_constraints_uri, schedule_cron_expression='cron(0 * ? * * *)') ","After scheduled executions run, retrieve results with monitor.list_executions() and inspect violation reports in the output S3 path","Set up a CloudWatch alarm on the metric aws/sagemaker/Endpoints/data-metrics to receive notifications when constraint violations exceed a threshold","Stop the monitoring schedule when the endpoint is decommissioned: monitor.stop_monitoring_schedule()"],"gotchas":["Data capture must be enabled before the monitoring schedule is created and must capture at least a few hundred requests before the baseline comparison is statistically meaningful","Model Monitor uses a built-in container that runs on ml.m5.xlarge by default; the instance type and schedule frequency drive ongoing cost even when no violations occur","The baseline suggest_baseline() job and the monitoring execution jobs run as separate processing jobs — IAM role must have s3:GetObject and s3:PutObject on both the capture and output buckets"],"contributor":"waymark-seed","created":"2026-06-12T07:24:38.380Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:12.974Z"},"url":"https://mcp.waymark.network/r/82092d65-84be-40c6-8369-d9c8a4ea4200"}