-
Notifications
You must be signed in to change notification settings - Fork 7
AI Method 1
Ahmad Sattar edited this page Oct 24, 2019
·
10 revisions
This first method of logging sends the same trace Dynamics 365 logs to AI,
but correlates traces across invocation.
The logs would look like this:
- Copy the DGTracingService and IDGTracingService into your plugins project
- Insert your instrumentation key at the top of DGTracingService
- Below line containing
this.TracingService = (ITracingService)serviceProvider.GetService(typeof(ITracingService));
add
this.TracingService = new DGTracingService(this.TracingService, this.PluginExecutionContext.CorrelationId);