Skip to main content

Key metrics to track

1. Verification success rate

What to track:
  • Percentage of successful verifications
  • Number of failed verifications
  • Failure reasons
Example logging:
Target: >99% success rate

2. Response time

What to track:
  • Average response time
  • p50, p95, p99 latency
  • Slow queries
Target: p95 < 3 seconds

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
Target: Error rate < 0.1%

Monitoring dashboard example

Grafana dashboard


Alerting rules

Critical alerts

1. High Error Rate
2. Slow Response Time
3. Quota Low

Logging best practices

Structured logging


Health checks

Endpoint health check


Troubleshooting alerts

When alerts fire:
  1. Check dashboard - Review metrics
  2. Check logs - Look for errors
  3. Test manually - Run test script
  4. Contact support - If issue persists

Next: Troubleshooting guide