Web GUI Dashboard¶
Premier provides a built-in web dashboard for monitoring and managing your API gateway in real-time.
Features¶
- Real-time Monitoring - Live request/response metrics and performance data
- Configuration Management - View and update gateway configuration
- Request Analytics - Detailed request logs and statistics
- Cache Management - Monitor cache hit rates and manage cached data
- Rate Limiting Dashboard - View current rate limits and usage
- Health Monitoring - System health and uptime statistics
Accessing the Dashboard¶
The dashboard is automatically available at /premier/dashboard
when you run your Premier gateway:
Configuration¶
The dashboard is enabled by default. You can customize its behavior in your configuration:
Dashboard Sections¶
Overview¶
- Real-time request rate
- Average response time
- Error rate
- Cache hit ratio
Requests¶
- Live request log
- Response time distribution
- Status code breakdown
- Top endpoints by traffic
Configuration¶
- Current gateway configuration
- Path-based policies
- Feature settings
- Hot reload configuration changes
Cache¶
- Cache statistics
- Hit/miss ratios
- Cache size and memory usage
- Manual cache management
Rate Limiting¶
- Current rate limit status
- Usage by endpoint
- Rate limit violations
- Algorithm performance
API Endpoints¶
The dashboard uses these API endpoints (also available for programmatic access):
GET /premier/api/stats
- Current statisticsGET /premier/api/config
- Current configurationPOST /premier/api/config
- Update configurationGET /premier/api/cache
- Cache statisticsDELETE /premier/api/cache
- Clear cacheGET /premier/api/requests
- Request logs
Custom Styling¶
You can customize the dashboard appearance by overriding CSS variables or providing custom themes.