Azure App Insight correlation configuration

CSPX_a_ACHERIY 1 Reputation point
2021-07-27T08:11:56.837+00:00

Hi Team,

I have two App insights which are currently monitoring two different parts of my transaction of my distributed application. As of now, I would like to merge these and have a single APP insight, monitoring the complete End-To-End transactions.

Please help me to find a way to correlate both sections , so that I can see the correlated transaction in the APP insight End-To-End.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,352 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 18,290 Reputation points
    2023-07-06T20:04:47.6566667+00:00

    Hi @CSPX_a_ACHERIY

    To correlate two sections of your distributed application and have a single Azure Application Insights monitoring the complete end-to-end transactions:

    1. Obtain the instrumentation key of both Application Insights resources.
    2. Update your code to use the instrumentation key of the target Application Insights resource.
    3. Implement a correlation ID to track transactions across services.
    4. Add the correlation ID to telemetry data.
    5. Enable correlation tracking in Application Insights configuration.
    6. Monitor end-to-end transactions with correlated telemetry in the Application Insights portal.

    accept this answer if it helps, let me know if you have any other issues.

    0 comments No comments