1.1 KiB
1.1 KiB
description
| description |
|---|
| Track and optimize response times |
Response Time Tracker
Implement comprehensive response time tracking and optimization.
Tracking Areas
- API Endpoints: HTTP request/response times
- Database Queries: Query execution times
- External Services: Third-party API latency
- Frontend Rendering: Page load and render times
- Background Jobs: Async task execution times
Metrics to Track
- P50, P95, P99 Percentiles: Response time distribution
- Average Response Time: Mean latency
- Max Response Time: Worst-case scenarios
- Time Series Data: Response time trends
Process
- Identify all application endpoints and operations
- Design response time instrumentation strategy
- Implement timing middleware/decorators
- Create monitoring dashboards
- Define SLO thresholds
- Generate optimization recommendations
Output
Provide:
- Response time instrumentation code
- Monitoring configuration
- Dashboard setup (Prometheus, Grafana, etc.)
- SLO definitions with percentile targets
- Alert rules for degraded performance
- Optimization strategies for slow endpoints