microsoft / ApplicationInsights-Profiler-AspNetCore

Application Insights Profiler sample and documentation
MIT License
66 stars 23 forks source link

Add Operation ID to Profile Tree Page #131

Closed ericmattingly closed 3 years ago

ericmattingly commented 3 years ago

The Operation ID shown in the "End-to-end Transactions Details" blade is very interesting to us since we can use it as a correlation id with logs outside of Application Insights.

Can we add the same to the Profile Tree Page up where it listed the Process ID and Activity ID?

image

xiaomi7732 commented 3 years ago

Hi @ericmattingly Thanks for filing the issue. I have added this to our backlog. While the UI work will take a while for implementation, here's a quick work-around:

image

  1. Download the trace file & rename it to *.netperf.zip;
  2. Open the trace file in perfview;
  3. Open 'Events' pane;
  4. Find events provider named 'Microsoft-ApplicationInsights-DataRelay';
  5. Use the 'Column' options to display operationIds;

Feel free to let me know if you need further info.

xiaomi7732 commented 3 years ago

This has been tracked. I'll close this issue for now. Feel free to open new issues.