LLMOpsThe LLMOps lifecycle · MLflow 3 · FastAPI · Docker · AWS/Azure
Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
50 small wins to finish your pathNext lesson →

Observing the project in production

The running project is watched two ways. LangSmith traces each audit as a tree of the steps it took, and Azure Application Insights, through OpenTelemetry, records every API request, its latency and its errors automatically. The video calls Application Insights the flight data recorder for the app.

Last updated: 15 Oct, 2026 · LLMOps

The workflow defined what runs. This lesson is how you see what happened once it is live, the monitoring part of the lifecycle applied to the real project.

Telemetry and Application Insights · from the End to End Multimodal LLMOps Project video · 4:45:00 to 4:48:00

Two layers of watching

LangSmithAzure Application Insights
AnswersWhat happened inside one auditHow the whole service is behaving
ShowsThe trace tree: retrieve, model call, parseRequest count, latency, errors, live maps
Set up byTwo env vars, a key and a project nameOne connection string and OpenTelemetry
Used forDebugging one wrong verdictWatching health and spend over time
python
from azure.monitor.opentelemetry import configure_azure_monitor
import os

# one call wires OpenTelemetry to Application Insights; every FastAPI request is
# then captured automatically, with no per-endpoint logging to write by hand
configure_azure_monitor(
    connection_string=os.getenv("APPLICATIONINSIGHTS_CONNECTION_STRING"),
)

Once this is set, Application Insights auto-captures every request the FastAPI backend serves: how many users hit the service, how long each audit took, where it failed. The video stresses that nothing has to be logged per endpoint by hand; the instrumentation does it, which is why it calls it a flight recorder.

Two panels. LangSmith answers what happened inside one audit: the trace tree of retrieve, model and parse, set up with two env vars, used to debug one wrong verdict. Azure Application Insights answers how the whole service behaves: every request with latency, errors and live maps, wired with one connection string and OpenTelemetry, auto-captured with no per-endpoint logging. A note in red says quality drift is the one signal neither gives for free and a scheduled evaluation does.

The signals the project watches

  • Latency, because one audit was 146 seconds, most of it in indexing; a rise means something upstream slowed.
  • Errors, the system_errors the nodes record plus the request failures Application Insights sees.
  • User activity, how many audits are run, which Application Insights tracks without extra code.
  • Quality drift, which neither tool gives for free: it needs the scheduled evaluation from Evaluation in the lifecycle.
Watch out. A trace of an audit carries the transcript and the retrieved rules, which may include a customer's video content, so the masking rule from Logging you can operate on applies to traces too: send the tool only what you would be comfortable storing.
Try it yourself
  • Say which of the two tools you would open first for a single wrong verdict, and which for a 3am alert.
  • Name the one signal neither tool gives you for free, and what produces it.

Slow is fine. Stopping is the only problem.