IntegrationIntermediatehealth-checkmonitoringsynthetic
Implement integration health check endpoint for Salesforce dependency monitoring
Real World Scenario
PagerDuty alerts only when orders fail; no early warning Salesforce auth or limit degradation.
Expected Answer
• Synthetic GET /limits or lightweight SOQL every 5 minutes
• Health endpoint returns JSON status latency tokenAge apiRemaining
• Middleware publishes health metric Datadog Prometheus
• Alert API remaining below 20% daily limit
• Token age alert refresh failing before expiry
• Dependency map Salesforce health blocks downstream green
• Runbook linked from health dashboard
Follow-Up Questions & Answers
Click to expand — each follow-up includes a direct, interview-ready answer
Direct answer: Synthetic GET /limits or lightweight SOQL every 5 minutes Also consider: Health endpoint returns JSON status latency tokenAge apiRemaining In practice: Middleware publishes health metric Datadog Prometheus Balance speed of delivery with maintainability.
Architect Perspective
Synthetic health check catches auth drift before business transactions fail.