Menu

1 / 8

From Alerts to Incident Management: Monitoring Salesforce API Limits in Datadog

DEV Community: api·Vivian Mach·about 2 hours ago
#yUJig8bA
#devtoapi#devto#dev#salesforce#incident
Reading 0:00
15s threshold

If you've ever administered or developed in a Salesforce org, you might have run into errors related to limits, something like Apex CPU time limit exceeded or REQUEST_LIMIT_EXCEEDED .

Since Salesforce runs on a shared, multi-tenant architecture, it enforces limits on things like Apex CPU time and the total number of REST, SOAP, or Bulk API calls an organization can make over a rolling 24-hour period.

The consequence of hitting these limits? Failed integrations, broken automation, and overall disruption in business processes. Not a great time for the platform on-call engineer.

How I used to do it

In the past, I built a custom application to monitor these limits in a Salesforce org and alert my team when usage crossed a threshold we configured in the backend.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.