We have been working on Azure Service Fabric since last 4 months but now have decided to have a unified loging infrastructure for which we are using AppInsight, how can we a
I did it this way, using Visual Studio 2017:
Unfortunately it is not just that simple right now.
The Application Insights support as shown at Build 2017 is still in preview. It consists of two nuget preview packages you have to install and you need to update your cluster to the latest version. Stay tuned to this repo which at the moment shows
Using Service Fabric with Application Insights
We are working on updating this repo to demonstrate how to use Service Fabric with Application Insights. The completed repo is not quite ready, please check back here within the next couple of days!
More information about the setup and nuget packages can be found here:
This repository produces the following two nuget packages:
Microsoft.ApplicationInsights.ServiceFabric.Native - For use with Service Fabric's native reliable services. Microsoft.ApplicationInsights.ServiceFabric - For use with Guest Executable and Guest container services (lift and shift scenarios).
Until that time you can take a look at this repo for full (manual) Application Insights integration.