Azure - how to instrument Azure Logic Apps with AIMS

You can quickly setup custom instrumentation of your code with AIMS, and in this small example we will instrument an Azure Logic App workflow.

The goal of this instrumentation is to count the number of executions of a particular workflow. In short we will just update a counter with +1 for every execution. For AIMS to interpret the numbers correctly, the statpoint in the agent definition must be set to "sum". Below you can see a screenshot that uses the HTTP connector to send data to AIMS.

You can of course pass any time-series based parameter or number from the workflow to AIMS for monitoring. In addition you can pass or create events.