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.
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
- Configure Out-of-Scope Request on final generation observations.
- Configure User Disagreement on the
dad-it-support-chat-turnagent observation. - 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
.envas enough for evaluators. Judge-based evaluators also need the Langfuse-side LLM connection. - Mapping
last_user_messageto the last transcript item on a final generation; final generations include tool messages after the user turn.
Was this page helpful?