microsoft / ApplicationInsights-ServiceFabric

ApplicationInsights SDK for ServiceFabric projects
MIT License
63 stars 26 forks source link

Service Remoting correlation is not fully working with AppInsights when send to multiple ikeys #55

Closed yantang-msft closed 6 years ago

yantang-msft commented 6 years ago

I tested this PR https://github.com/Microsoft/ApplicationInsights-ServiceFabric/pull/51, and the correlation is not fully working when sending to multiple ikeys. I'm using this project for testing: https://github.com/yantang-msft/service-fabric-dotnet-getting-started/tree/TestRemoting. More specifically 1) the request telemetry of stateless service doesn't have the source component name. 2) the dependency telemetry from actor services doesn't have the target component appId appended. This could be timing issue when the sdk is still fetching the componentIds. But need further investigation.

yantang-msft commented 6 years ago

I've verified this is because of the timing issue for the very first telemetries. The component info will be embedded in target/source once the app id info are retrieved.