Launch Week 5 ยท Day 1: Experiments in CI/CD โ†’
Workshop04 Monitoring
WorkshopFor Instructors04 Monitoring

04 Monitoring

Workshop source

Workshop material is maintained in the public langfuse/langfuse-workshop repository. Use the repository for the runnable app, checkpoint branches, and local setup.

View this Markdown file

Learner guide: 04 Monitoring

Instructor notes

  • This is a no-code chapter. The value is choosing useful production signals and mapping evaluator variables correctly.
  • Before the first evaluator, confirm the project has Project Settings โ†’ LLM Connections configured and a default evaluator model saved. Fresh projects otherwise show "No default model set" before learners can pick the published templates.
  • Explain why the two monitors target different observations: out-of-scope needs the system prompt on the generation, while disagreement needs the conversation history on the agent root.
  • Use the first few evaluator results as a debugging exercise, not just a pass/fail check.

Demo rhythm

  1. Configure Out-of-Scope Request on final generation observations.
  2. Configure User Disagreement on the dad-it-support-chat-turn agent observation.
  3. Send one clean in-scope turn, one out-of-scope turn, and one disagreement turn.

Watch for

  • Accidentally choosing the wrong template for User Disagreement.
  • Treating the Langfuse API keys from .env as enough for evaluators. Judge-based evaluators also need the Langfuse-side LLM connection.
  • Mapping last_user_message to the last transcript item on a final generation; final generations include tool messages after the user turn.

Was this page helpful?