Use Case
In Oracle Integration Cloud (OIC), batch jobs are frequently triggered in Oracle Customer Cloud Service (CCS) to handle customer data processing. However, if these batch jobs fail, it becomes critical for business users or technical support teams to be notified quickly to take corrective action. Traditional monitoring through CCS dashboards may cause delays, as failures might go unnoticed until users manually check.
To improve observability and responsiveness, we can integrate OIC with Datadog. This integration ensures that whenever a batch job fails in CCS, OIC captures the failure details and logs them into Datadog. From there, alerts can be configured to notify support teams instantly via email, Slack, or other preferred channels.
Solution Steps
OIC scheduler will run every 5 mins interval or as per business requirement.
-
Trigger Health check Batch Job in Oracle CCS from OIC
- Use the CCS Utility REST API or SOAP service to invoke a batch job from OIC.
- Pass required parameters like job name, job ID, and input arguments.
- Use OIC’s REST Adapter to call Datadog’s Log Intake API.
- Send the failure payload in JSON format
- Example payload to Datadog:
{ "F1-HealthCheck": { "healthOverallResponse": 200, "healthCheckResults": [ { "healthCompFlg": "BLOS", "healthCompDetail": "Batch Control: BILLING - Create Bills for Open Bill Cycles", "healthCompStatusFlg": "DISA", "healthCompStatusDescr": "Disabled", "healthCompStatusReason": "Level of Service information is not available for this batch job.", "healthCompResponse": 200, "mo": "BATCH CNTL", "navOpt": "f1btctrlTabMenu", "pkVal1": "BILLING", "pkFld1": "BATCH_CD" } ] } }
- In Datadog, create a monitor on the CCS job failure logs.
- Define alert conditions (e.g., “if error count > 0 in last 5 minutes”).
- Set up notification channels such as Slack, PagerDuty, or email for business/tech support teams.
- Support team receives alerts in real-time.
- They analyze failure details in Datadog dashboards and take immediate corrective actions in CCS.
✅ Outcome:
- Proactive monitoring of CCS batch jobs.
- Reduced downtime by instantly notifying stakeholders.
- Enhanced collaboration between business and IT teams via Datadog’s unified monitoring platform.