microsoft / ApplicationInsights-SDK-Labs

Application Insights experimental projects repository
MIT License
61 stars 54 forks source link

Wcf Service calling another Wcf service loose track #149

Open vdesmedt opened 6 years ago

vdesmedt commented 6 years ago

I have built a very simple web app calling a wcf service calling itself another wcf service. Using fiddler, I can see that the x-ms-request-root-id is different for both wcf calls which result in the correlation to be lost. Any idea what could help ?

SergeyKanzhelev commented 6 years ago

is it async wcf service? CC: @lmolkova

lmolkova commented 6 years ago

@vdesmedt Unfortunately, we do not support correlation within WCF service. You may implement the workaround from this issue: https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/941.

By the way, this is Labs repo - WCF support here is not included when you install ApplicationInsights Web SDK.

vdesmedt commented 6 years ago

@SergeyKanzhelev No it isn't even async, just pure old fashion WCF calls ;) @lmolkova I'll investigate the workaround. Thanks

mlooise commented 5 years ago

@vdesmedt Have you got more info on this subject? Does the workaround of https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/941 work to track the dependency to another AI resource ?