Logic Apps end-to-end tracking (distributed tracing)

Ershad Nozari 426 Reputation points
2020-12-03T10:43:50.93+00:00

We are building integrations in Azure using a combination of Logic Apps, APIs and Azure Functions. We have requirements for end-to-end tracking of transactions from source to destination, i.e distributed tracing. We need to be able to track on custom fields, such as orderId. Any advice on how to best achieve this, pointer to articles, samples, videos are highly appreciated.

Many thanks.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
0 comments No comments
{count} votes

Accepted answer
  1. JayaC-MSFT 5,606 Reputation points
    2020-12-08T16:15:53.507+00:00

    @Ershad Nozari In case of Azure functions and APIs you can leverage Application Insight and post custom logs (assuming it is C#) : https://learn.microsoft.com/en-us/azure/azure-functions/functions-dotnet-class-library?tabs=v2%2Ccmd#log-custom-telemetry-in-c-functions

    However, for logic app you can try log analytics. If you want something specific you may set Tracked property : https://www.serverlessnotes.com/docs/logic-apps-tracking-message-properties
    or send data to log analytics : https://www.middleway.eu/azure-monitor-log-custom-data-through-azure-logic-apps/
    https://www.cloudsma.com/2019/05/custom-log-analytics-logs-logicappsps/

    You may take look into https://yourazurecoach.com/2018/08/05/end-to-end-correlation-across-logic-apps/ to use the correlation id throughout.

    Let me know if this helps!

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.