MLOps Platform — Reference Demo

Monitoring & Eval Dashboard

Runtime reliability (latency / cost / drift + alerting) and RAG evaluation quality, in one view. Data below is generated by the pipelines in this repo — see pipelines/monitor.py and eval-harness/run_eval.py.

Latency p95 (current)
1988ms
SLO target 2500ms
Drift score (current)
0.263
Page threshold 0.25
Cost / 1k requests
$42.69
Anomaly if +20% d/d
Alerts fired (14d)
3

Latency — p50 / p95 / p99

p50p95p99
0811162124323242p95 SLO525ms1988ms2666ms

Embedding drift (production vs training centroid)

0.000.070.150.220.29warningpage0.26

Cost per 1k requests

$0$15$29$44$58$43

Alert feed (14 days)

day-4warningcost +26% day-over-day
day-2pagedrift 0.258 >= 0.25 page threshold
day-1pagedrift 0.263 >= 0.25 page threshold

RAG evaluation — claude-sonnet-4-5

Deploy gate PASSED
Avg faithfulness
1.00
gate ≥ 0.85
Avg relevance
1.00
Avg correctness
0.88
Flagged for HITL review
1
What faithfulness score does a model need to pass the deployment gate?
According to the context, a model needs a minimum faithfulness score of 0.85 across the RAG benchmark suite to pass the evaluation gate in CI for production deployment.
faithfulness 1.00relevance 1.00correctness 1.00confidence 1.00
How is model lineage tracked?
Model lineage is tracked via a version tag written at train time with the format: {model_name}-{git_sha}-{training_run_id}. This tag is attached to the SageMaker model package and referenced by the deploy pipeline, so any served model can be traced back to its exact training data snapshot and code commit.
faithfulness 1.00relevance 1.00correctness 1.00confidence 1.00
What happens when I trigger a rollback?
When you trigger a rollback, the deploy pipeline shifts traffic back to the prior SageMaker endpoint config (the pipeline keeps the previous two endpoint configs warm). After shifting traffic, it re-runs the smoke test suite against the prior config before confirming success.
faithfulness 1.00relevance 1.00correctness 1.00confidence 1.00
At what drift threshold do we page on-call?
According to the context, a page is sent to on-call when the cosine distance exceeds 0.25.
faithfulness 1.00relevance 1.00correctness 1.00confidence 1.00
When does an answer get sent for human review?
Based on the context provided, an answer gets sent for human review when: 1. The LLM judge's confidence score for a generated answer falls below 0.7, OR 2. Faithfulness and relevance scores disagree by more than 0.3 When either of these conditions is met, the flagged items are written to a review queue for a human annotator before being counted toward release metrics.
faithfulness 1.00relevance 1.00correctness 1.00confidence 1.00
What triggers a cost anomaly alert?
According to the context, a cost anomaly alert is triggered by a 20% week-over-week increase without a corresponding traffic increase.
faithfulness 1.00relevance 1.00correctness 1.00confidence 1.00
What are the latency SLOs for generation?
needs review
According to the context, the latency SLOs for generation are: - p50 under 800ms - p95 under 2.5s
faithfulness 1.00relevance 1.00correctness 0.80confidence 0.00
The answer correctly states the p50 and p95 SLOs from the context but omits the autoscaling/alert trigger details included in the reference answer.
Who is responsible for deployments that fail the evaluation gate?
According to the context, deployments that fail the evaluation gate are routed to the on-call ML engineer.
faithfulness 1.00relevance 1.00correctness 1.00confidence 1.00
What's the capital of France?
I don't know. The context provided discusses model deployment requirements, drift measurement, and model lineage tracking, but does not contain any information about the capital of France.
faithfulness 1.00relevance 1.00correctness 1.00confidence 1.00
How often is cost aggregated for monitoring?
I don't know. The context provided doesn't contain information about cost aggregation or monitoring frequency.
faithfulness 1.00relevance 1.00correctness 0.00confidence 1.00
The system correctly stated it doesn't know since the context provided contains no information about cost aggregation, though the ground truth indicates this information exists elsewhere.