Analytics
Monitor performance and gain insights into your app’s usage.Overview
The analytics dashboard provides real-time visibility into how your agentic app performs—tracking users, sessions, messages, and resource consumption across agents, tools, and models.Dashboard Components
Key Metrics
| Metric | Description |
|---|---|
| Users | Unique active users in the period |
| Sessions | Total conversation sessions |
| Messages | Messages exchanged (user + agent) |
| Tokens | Total token consumption |
Trends
Compare current period to previous:- Daily/hourly breakdowns
- Week-over-week comparisons
- Growth trends
Run Analytics
Track execution across your app’s components.Agent Runs
| Agent | Runs | Avg Response | Tokens | Success |
|---|---|---|---|---|
| Support Agent | 1,234 | 2.3s | 450K | 98.5% |
| Billing Agent | 567 | 1.8s | 180K | 99.1% |
| Order Agent | 890 | 3.1s | 320K | 97.8% |
Tool Runs
| Tool Type | Tool | Runs | Avg Time | Success |
|---|---|---|---|---|
| Workflow | get_order | 890 | 450ms | 99.2% |
| Code | validate_input | 1,200 | 120ms | 99.8% |
| MCP | crm_lookup | 456 | 890ms | 96.5% |
| Knowledge | faq_search | 2,100 | 340ms | 99.9% |
Model Runs
| Model | Invocations | Avg Latency | Tokens | Cost |
|---|---|---|---|---|
| gpt-4o | 3,400 | 1.2s | 1.8M | $45.20 |
| gpt-3.5 | 1,200 | 0.4s | 320K | $0.64 |
Traces
Traces provide detailed visibility into individual request lifecycles.What’s in a Trace
Trace Benefits
- Debug request flow issues
- Identify bottlenecks
- Understand agent behavior
- Optimize performance
Sessions
Sessions track continuous user interactions.Session View
Generations
Track individual LLM outputs within traces.Generation Details
| Field | Value |
|---|---|
| Model | gpt-4o |
| Input tokens | 1,234 |
| Output tokens | 256 |
| Latency | 2.7s |
| Cost | $0.032 |
| Temperature | 0.7 |
Quality Assessment
- Review response quality
- Identify hallucinations
- Track instruction following
Filtering
Customize your analytics view:Time Range
- Last hour
- Last 24 hours
- Last 7 days
- Last 30 days
- Custom range
Environment
- Draft (development)
- Staging
- Production
Dimensions
- By agent
- By tool
- By model
- By user segment
Exporting Data
Download analytics for external analysis:Available Exports
- CSV: Spreadsheet-compatible
- JSON: Programmatic analysis
- PDF: Shareable reports
Export Options
Alerts
Configure notifications for important events:Alert Types
Audit Logs
Track all changes made across your account.What’s Logged
- User actions (create, update, delete)
- Configuration changes
- Deployments
- Access events
Log Entry
Compliance Uses
- Track who changed what
- Maintain audit trail
- Support security reviews
Best Practices
Monitor Key Metrics
Focus on metrics that matter:- Success rate: Are requests completing successfully?
- Latency: Is performance acceptable?
- Cost: Is spending within budget?
- User satisfaction: Are users getting help?
Set Baselines
Establish normal ranges to detect anomalies:Review Regularly
- Daily: Quick health check
- Weekly: Trend analysis
- Monthly: Deep dive and optimization
Act on Insights
Use analytics to drive improvements:- Slow agent? Optimize tools or prompts
- High error rate? Review configurations
- Cost spike? Check token usage patterns