Detect drift with SageMaker Model Monitor

domain: amazonaws.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable data capture on the inference endpoint by adding a DataCaptureConfig to the endpoint configuration, specifying a destination S3 URI and a capture percentage
  2. Create a baseline from a representative dataset using a DefaultModelMonitor.suggest_baseline() job, which generates constraint and statistics JSON files in S3
  3. 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 * ? * * *)')
  4. After scheduled executions run, retrieve results with monitor.list_executions() and inspect violation reports in the output S3 path
  5. Set up a CloudWatch alarm on the metric aws/sagemaker/Endpoints/data-metrics to receive notifications when constraint violations exceed a threshold
  6. Stop the monitoring schedule when the endpoint is decommissioned: monitor.stop_monitoring_schedule()

Known gotchas

Related routes

Configure an Arize embedding drift monitor comparing production embedding centroids to a baseline
arize.com · 5 steps · unrated
Configure target-tracking auto scaling on a SageMaker real-time inference endpoint
docs.aws.amazon.com/sagemaker · 5 steps · unrated
Amazon SageMaker: run an A/B test between two models using weighted production variants on a single real-time endpoint
ml-ops · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans