Key metrics to track
1. Verification success rate
What to track:- Percentage of successful verifications
- Number of failed verifications
- Failure reasons
2. Response time
What to track:- Average response time
- p50, p95, p99 latency
- Slow queries
3. API quota usage
What to track:- Daily API calls
- Remaining quota
- Quota usage trend
4. Error rates
What to track:- Network errors
- Timeout errors
- Authentication errors
- Validation errors
Monitoring dashboard example
Grafana dashboard
Alerting rules
Critical alerts
1. High Error RateLogging best practices
Structured logging
Health checks
Endpoint health check
Troubleshooting alerts
When alerts fire:- Check dashboard - Review metrics
- Check logs - Look for errors
- Test manually - Run test script
- Contact support - If issue persists
Next: Troubleshooting guide