Custom Business Event In Mule 4
In this tutorial we will demonstrate how to use Custom Business Event in mule 4 (tracking:custom-event element in the XML view) to add metadata and Key Performance Indicators (KPIs) to your flow.
Create project in anypoint studio and configure the listener
Drag and drop custom business event from mule palette and configure the Event Name and KPIs as shown below
How to troubleshoot the business transactions and events on Cloudhub
Step 1:
Deploy the project on cloudhub and go to runtime manager->ssttings-insight and enable the metadata
Step 2:
Provide the flow name:
Step 3:
You can trace all the transactions
Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
For any latest updates or posts on our website, you can follow us on LinkedIn. Look forward to connecting with you there.