Sections:
Prerequisites:
- Mule 4.1.1 and above
- Datadog APM Connector as an asset in your company's Anypoint Platform Exchange (for access contact IO Connect Services)
- Anypoint Studio 7
Goals
These example APIs have 2 goals:
-
To showcase a marketing API that sends SMS to users by fetching contact details from a database, utilizing mock calls for demonstration.
-
To illustrate Datadog's capability in tracking API events with a correlation ID, ensuring traceability across all operations.
Results
Following the setup and execution guidelines will display API activities on Datadog's APM Traces page, including error scenarios identified by correlation IDs.
Please find in the below image, traces for an error scenario tracked by a correlation ID.
Each event in the Mule flow produces log entries that are correlated to the span in the APM trace. Below, you can see that an error log is associated with a failed span.