Introduction
A customer is asking for the following - anomaly detection capability to monitor integration runtimes and
identify performance degradation trends across a group of integrations.
Here is a simple solution, based on an Agent, leveraging the OIC factory api.
OIC Factory API
I use the following api -
This create order integration is simply a stub, the only logic being to execute a WAIT of 20 seconds on orderNr 310138.
I execute this integration a couple of times, including once with the orderNr 310138. I then execute the api in postman -
As you can see, the response contains fields such as - creationDate, instanceId, integrationId, duration etc.
The duration field gives us the execution time.
OIC Agent Tool
I create an integration that invokes the OIC Factory api, that we just covered.
This is then exposed as a tool.
I amend the agent guidelines as follows -
I update the template -
I run the create order integration 3 times, the update order run 5 times. Each has an anomaly.
I run the create order integration 3 times, the update order run 5 times. Each has an anomaly.
