Metrics Explorer
Query, visualize, and analyze your AI agent metrics interactively.
Overview
The Metrics Explorer lets you build custom queries to analyze your agent data. Create visualizations, compare time periods, and export data for further analysis.
Accessing Metrics Explorer
Navigate to Analysis → Explore to open the Metrics Explorer.
Building Queries
Select Metric
Choose from available metrics:
latency_ms- Execution durationinput_tokens- Input token countoutput_tokens- Output token counttotal_tokens- Combined tokenscost_usd- Estimated costerror_count- Number of errors- Custom KPI metrics
Aggregation
Choose how to aggregate values:
avg- Average valuesum- Total sumcount- Number of data pointsmin/max- Extremesp50/p95/p99- Percentiles
Group By
Break down by dimensions:
workflow_id- By workflowmodel- By LLM modelstatus- By success/errorenvironment- By environment- Custom labels
Time Range
Select the time period:
- Last 1 hour, 6 hours, 24 hours
- Last 7 days, 30 days
- Custom date range
Visualization Types
- Time Series - Line chart over time
- Bar Chart - Categorical comparison
- Table - Raw data view
- Heatmap - Time-based patterns
Example Queries
Average Latency by Workflow
Metric: latency_ms
Aggregation: avg
Group By: workflow_id
Time Range: Last 24 hoursToken Usage Over Time
Metric: total_tokens
Aggregation: sum
Group By: (none)
Time Range: Last 7 days
Interval: 1 hourError Rate by Model
Metric: error_count
Aggregation: count
Group By: model
Filter: status = "error"
Time Range: Last 24 hoursSaving & Sharing
- Save Query - Save for later use
- Add to Dashboard - Create a dashboard widget
- Export Data - Download as CSV
- Share Link - Share query URL with team