Why Monitor AI Applications?
AI applications present unique monitoring challenges compared to traditional software. Large language models can be unpredictable, produce varying outputs for similar inputs, and their behavior can evolve over time. Effective monitoring helps you:- Identify issues before they impact users
- Track performance metrics like response time and token usage
- Detect unexpected behaviors such as hallucinations or inappropriate content
- Optimize costs by identifying inefficient processes
Monitoring Approaches in Basalt
Basalt offers two main approaches to monitoring:1. Basic Monitoring
Basic monitoring is the simplest way to track AI interactions. It’s automatically included when you use Basalt-managed prompts and requires minimal code changes:2. Tracing
For more complex workflows involving multiple steps, parallel processes, or branching logic, Basalt offers a comprehensive tracing system:Key Monitoring Features
Basalt’s monitoring system includes several powerful features:- Evaluations: Automatically assess the quality of your AI outputs
- User identification: Track which users are using your AI features
- Organization tracking: Monitor usage patterns across different organizations
- Metadata collection: Record custom metadata at each step of your workflow
- Performance metrics: Track response times, token usage, and costs
Getting Started
To start monitoring your AI applications with Basalt:- For simple workflows, use Basic Monitoring
- For complex workflows, use Tracing
- Add Evaluations to automatically assess output quality
- Explore Monitoring Examples for practical patterns you can adapt