WCFUserEventProvider blank E2EActivityId
I am usi开发者_如何学Cng the WCFUserEventProvider code (as specified here) to log some events from my wcf service.
Even though the monitoring level is set to End to end, the user defined events that i am writing are all having a blank (000-000-0000....) E2EActivtiyId.
Is it possible to log these events in appfabric monitoring with the same E2EactivitiyId as the events logged by WCF infrastructure ?
just in case someone runs into this, this can be done by setting CorrelationManager's ActivityId value at the first message inspector you encounter.
精彩评论