Analytics Dashboard
Visualize your API performance with real-time charts, latency percentiles (P50, P95, P99), error rates, and traffic patterns.Overview
The Analytics Dashboard provides comprehensive metrics visualization for your routes:- 📊 Status Code Distribution - Success vs errors over time
- ⏱️ Latency Metrics - P50, P95, P99 response times
- 📈 API Call Volume - Request traffic patterns
- 🚨 Alert Triggers - Alert activity timeline
- ⏰ Hourly Distribution - Traffic by hour of day
- 🗺️ Geographic Heatmap - Request origins worldwide
Key Metrics
Status Code Distribution
What it shows: Success rate vs client errors (4xx) vs server errors (5xx) Chart type: Stacked area chart Example:- Spot error rate spikes
- Identify problematic time periods
- Correlate errors with deployments
Latency Percentiles
What it shows: Response time distribution Percentiles explained:- P50 (Median): 50% of requests faster than this
- P95: 95% of requests faster than this (typical SLA metric)
- P99: 99% of requests faster than this (slowest 1%)
- Monitor performance degradation
- Set SLA targets (e.g., P95 < 500ms)
- Identify slow queries or bottlenecks
API Call Volume
What it shows: Total requests over time Chart type: Line chart Example:- Capacity planning
- Identify peak traffic times
- Detect unusual traffic patterns
Summary Statistics
Displayed at top:- Total Calls: Total requests in time range
- Avg Latency: Average response time
- Error Rate: Percentage of failed requests
- Alerts Triggered: Number of alerts fired
Using the Dashboard
Step 1: Navigate to Analytics
- Click Monitoring in sidebar
- Select Analytics
Step 2: Select Time Range
Quick ranges:- Last 1 hour
- Last 6 hours
- Last 24 hours (default)
- Last 7 days
- Last 30 days
- Click Custom Range
- Select start date/time
- Select end date/time
- Click Apply
Step 3: Filter by Route (Optional)
All routes (default): Shows aggregated metrics across all routes Single route:- Click Filter dropdown
- Select specific route
- Charts update to show only that route
Step 4: Enable Auto-Refresh
Toggle: Switch at top-right corner When enabled:- Dashboard refreshes every 5 seconds
- “To” date automatically updates to current time
- See live traffic in real-time
- Static snapshot of selected time range
- Useful for analyzing specific incidents
Advanced Features
Comparison Mode
What it does: Compare current period vs previous period Example:- Toggle Comparison Mode switch
- Charts show both periods overlaid
- Summary shows percentage changes
- Week-over-week performance
- Before/after deployment comparison
- Traffic growth analysis
Hourly Distribution
What it shows: Traffic patterns by hour (0-23) Chart type: Bar chart Example:- Toggle Show Hourly Distribution
- View traffic by hour of day
- Identify peak hours for capacity planning
- Schedule maintenance during low traffic
- Detect unusual traffic patterns
Show Empty Periods
What it does: Include time periods with zero requests Default: Empty periods hidden (cleaner charts) When enabled: Shows gaps in traffic Use cases:- Identify service outages (unexpected gaps)
- Visualize maintenance windows
- Understand traffic continuity
Geographic Heatmap
What it shows: Request origins on world map Features:- Color intensity = request volume
- Hover to see country/region details
- Click to drill down
- Understand user distribution
- Identify geographic issues
- Plan CDN/edge deployments
Drill-Down Analysis
Clicking Charts
Click any chart to drill down: Status Code Chart:- Click bar → See detailed errors for that time period
- View specific error messages
- Jump to logs for investigation
- Click point → See slow requests
- Identify slow endpoints
- View request details
- Click point → See all requests in that period
- Filter by status, route, client
- Export to CSV
Viewing Raw Data
From drill-down view:- See tabular data for selected period
- Sort by any column
- Click request to view full details
- Export filtered data
Export Options
Export Analytics Data
CSV Export:- Select time range
- Click Export button
- Choose format: CSV
- Download file
- Timestamp
- Total calls
- Success count
- Error count
- Average latency
- P50, P95, P99 latency
- Import to Excel/Google Sheets
- Create custom reports
- Archive historical data
Real-Time Monitoring
Live Dashboard Use Cases
Deployment monitoring:Understanding Latency Percentiles
Why Percentiles Matter
Average is misleading:Setting SLA Targets
Recommended targets:Investigating High Latency
P99 high but P95 normal:- Rare slow queries (database, external API)
- Specific edge cases
- Low priority
- Systemic performance issue
- Affects 5% of users
- Investigate immediately
- Major performance problem
- Affects majority of users
- Critical issue
Timezone Support
User timezone: All timestamps displayed in your configured timezone (Settings → Profile). Default: UTC Change timezone:- Navigate to Settings → Profile
- Select timezone dropdown
- Save
- Analytics charts update automatically
Best Practices
1. Monitor During Peak Hours
Know your traffic patterns:2. Set Up Comparison Dashboards
Weekly comparison:3. Use Auto-Refresh for Live Events
During deployments, load tests, or incidents:- Enable auto-refresh
- Keep dashboard visible on second monitor
- Watch for anomalies in real-time
4. Combine with Alerts
Workflow:- Alert fires (e.g., high latency)
- Open Analytics dashboard
- Identify trend and scope
- Drill down to specific requests
- Jump to logs for investigation
5. Export Historical Data
Monthly:- Export last 30 days analytics
- Archive CSV files
- Track long-term trends
- Compare year-over-year growth
Troubleshooting
Issue: “No data displayed”
Causes:- No requests in selected time range
- Route filter excluding all traffic
- Time range in future
- Check time range (ensure in past)
- Clear route filter
- Expand time range (e.g., last 7 days)
Issue: “Charts not updating with auto-refresh”
Causes:- Auto-refresh disabled
- Browser tab not active (some browsers pause)
- Network connectivity issue
- Verify auto-refresh toggle is ON
- Keep tab active/visible
- Refresh page manually
Issue: “Latency percentiles showing zero”
Cause: Not enough requests to calculate percentiles (< 10 requests) Fix: Wait for more traffic or expand time rangeRelated Features
- API Logs: Drill down from charts to view raw requests
- Alerts: Set up alerts based on metrics thresholds
- Real-Time Geo: See live traffic on world map
Next Steps
API Logs
Detailed request history
Alerts
Configure metric alerts
Real-Time Geo
Live geographic tracking
Routes
Manage monitored routes
Statistics: Level: beginner | Time: 10 minutes | Tags:
analytics, metrics, monitoring, performance, dashboards