Set up Vertex AI Model Monitoring v2 to detect feature drift on a deployed endpoint

domain: cloud.google.com/vertex-ai/docs · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a ModelMonitor resource via the vertexai.resources.preview.ml_monitoring module, referencing model_name and model_version_id
  2. Define a ModelMonitoringSchema describing feature_fields and prediction_fields, and provide a training_dataset as a baseline for comparison
  3. Configure a DataDriftSpec with categorical_metric_type (e.g. l_infinity) and numeric_metric_type (e.g. jensen_shannon_divergence) plus alert thresholds, or a FeatureAttributionSpec for attribution drift
  4. Set NotificationSpec with user_emails (or a Cloud Monitoring channel) to receive alerts
  5. Run monitoring on demand or on a schedule by creating a ModelMonitoringJob against the ModelMonitor

Known gotchas

Related routes

Register and deploy models on Vertex AI endpoints
cloud.google.com · 6 steps · unrated
Vertex AI: create and query an online prediction endpoint
cloud.google.com/vertex-ai/docs · 6 steps · unrated
Register a model in Vertex AI Model Registry and deploy it to an Endpoint with traffic splits
cloud.google.com/vertex-ai/docs · 5 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